]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Correct wrong logic... (bad me).
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 27 Mar 2014 09:49:31 +0000 (09:49 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 27 Mar 2014 09:49:31 +0000 (09:49 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_petscscalar_complex@32702 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/fe/mapping_q1_eulerian.cc
deal.II/source/fe/mapping_q1_eulerian.inst.in

index 8a9d8b3a431c57ae828a6b8d833802cd3906ea27..6753bfce64106c8cc3ff56319b804014dccff9f4 100644 (file)
@@ -77,7 +77,7 @@ compute_mapping_support_points(const typename Triangulation<dim,spacedim>::cell_
 
   // now get the values of the shift
   // vectors at the vertices
-  Vector<double> mapping_values (shiftmap_dof_handler->get_fe().dofs_per_cell);
+  Vector<double> 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<GeometryInfo<dim>::vertices_per_cell; ++i)
index c1b2e4a467f3b78f154452a12c47bae451e285a0..3bafeb562e272bf462ae1aa03715d56afed8a9f6 100644 (file)
 // ---------------------------------------------------------------------
 
 
-// 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_dimension, Vector<double>,        deal_II_space_dimension>;
     template class MappingQ1Eulerian<deal_II_dimension, Vector<float>, deal_II_space_dimension>;
 #ifdef DEAL_II_WITH_PETSC
-#ifdef PETSC_WITH_COMPLEX
+#ifndef PETSC_USE_COMPLEX
     template class MappingQ1Eulerian<deal_II_dimension, PETScWrappers::Vector, deal_II_space_dimension>;
 #endif
 #endif

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.