]> https://gitweb.dealii.org/ - dealii.git/commitdiff
do not instantiate mapping eulerian for complex-valued PETSc 2225/head
authorDenis Davydov <davydden@gmail.com>
Mon, 22 Feb 2016 12:49:53 +0000 (13:49 +0100)
committerDenis Davydov <davydden@gmail.com>
Mon, 22 Feb 2016 15:59:28 +0000 (16:59 +0100)
source/fe/mapping_q1_eulerian.inst.in
source/fe/mapping_q_eulerian.inst.in

index 32d102873e5bcdb259cb5e28591043b49028cfec..b8b860f5b2bcc0e4e6a0bb5bcc9d27e4488b233f 100644 (file)
@@ -21,10 +21,12 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
     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
+#  ifndef PETSC_USE_COMPLEX 
     template class MappingQ1Eulerian<deal_II_dimension,
                                    PETScWrappers::Vector, deal_II_space_dimension>;
     template class MappingQ1Eulerian<deal_II_dimension,
                                    PETScWrappers::MPI::Vector, deal_II_space_dimension>;
+#  endif
 #  endif   
 #  ifdef DEAL_II_WITH_TRILINOS
     template class MappingQ1Eulerian<deal_II_dimension,
index dd6397f73b0030532e1bc5d8d3d7374806f89d2b..cd10db6e2eeb6b02e07bf224642e2624e65225cb 100644 (file)
@@ -20,10 +20,12 @@ for (deal_II_dimension : DIMENSIONS; deal_II_space_dimension :  SPACE_DIMENSIONS
     template class MappingQEulerian<deal_II_dimension, Vector<double>, deal_II_space_dimension>;
     template class MappingQEulerian<deal_II_dimension, Vector<float>,  deal_II_space_dimension>;
 #  ifdef DEAL_II_WITH_PETSC
+#  ifndef PETSC_USE_COMPLEX
     template class MappingQEulerian<deal_II_dimension,
                                    PETScWrappers::Vector, deal_II_space_dimension>;
     template class MappingQEulerian<deal_II_dimension,
                                    PETScWrappers::MPI::Vector, deal_II_space_dimension>;
+#  endif
 #  endif   
 #  ifdef DEAL_II_WITH_TRILINOS
     template class MappingQEulerian<deal_II_dimension,

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.