From: young Date: Thu, 27 Mar 2014 09:49:31 +0000 (+0000) Subject: Correct wrong logic... (bad me). X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c47cbdf3ed37ba39808f607fdd02f4de33911351;p=dealii-svn.git Correct wrong logic... (bad me). git-svn-id: https://svn.dealii.org/branches/branch_petscscalar_complex@32702 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/source/fe/mapping_q1_eulerian.cc b/deal.II/source/fe/mapping_q1_eulerian.cc index 8a9d8b3a43..6753bfce64 100644 --- a/deal.II/source/fe/mapping_q1_eulerian.cc +++ b/deal.II/source/fe/mapping_q1_eulerian.cc @@ -77,7 +77,7 @@ compute_mapping_support_points(const typename Triangulation::cell_ // now get the values of the shift // vectors at the vertices - Vector mapping_values (shiftmap_dof_handler->get_fe().dofs_per_cell); + Vector mapping_values (shiftmap_dof_handler->get_fe().dofs_per_cell); dof_cell->get_dof_values (*euler_transform_vectors, mapping_values); for (unsigned int i=0; i::vertices_per_cell; ++i) diff --git a/deal.II/source/fe/mapping_q1_eulerian.inst.in b/deal.II/source/fe/mapping_q1_eulerian.inst.in index c1b2e4a467..3bafeb562e 100644 --- a/deal.II/source/fe/mapping_q1_eulerian.inst.in +++ b/deal.II/source/fe/mapping_q1_eulerian.inst.in @@ -15,14 +15,14 @@ // --------------------------------------------------------------------- -// TODO[TY]: allow this to be instantiated by PETScWrappers::Vector and PETSC_WITH_COMPLEX +// TODO[TY]: allow this to be instantiated by PETScWrappers::Vector and PETSC_USE_COMPLEX for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension : SPACE_DIMENSIONS) { #if deal_II_dimension <= deal_II_space_dimension template class MappingQ1Eulerian, deal_II_space_dimension>; template class MappingQ1Eulerian, deal_II_space_dimension>; #ifdef DEAL_II_WITH_PETSC -#ifdef PETSC_WITH_COMPLEX +#ifndef PETSC_USE_COMPLEX template class MappingQ1Eulerian; #endif #endif