]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add missing instantiation for PETSc with complex values 10496/head
authorDaniel Arndt <arndtd@ornl.gov>
Wed, 10 Jun 2020 14:12:00 +0000 (10:12 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Wed, 10 Jun 2020 14:12:00 +0000 (10:12 -0400)
source/lac/affine_constraints.cc

index 2ddddb53250c2db80025f1775e05a219b4b8012d..4d44af285628e3bf5b2f2a6e3e5cb459108bb214 100644 (file)
@@ -109,6 +109,14 @@ INSTANTIATE_DLTG_BLOCK_VECTORMATRIX(PETScWrappers::MPI::BlockSparseMatrix,
 INSTANTIATE_DLTG_MATRIX(PETScWrappers::SparseMatrix);
 INSTANTIATE_DLTG_MATRIX(PETScWrappers::MPI::SparseMatrix);
 INSTANTIATE_DLTG_MATRIX(PETScWrappers::MPI::BlockSparseMatrix);
+#  ifndef DOXYGEN
+#    ifdef DEAL_II_PETSC_WITH_COMPLEX
+template void
+dealii::AffineConstraints<double>::distribute<
+  dealii::PETScWrappers::MPI::Vector>(
+  dealii::PETScWrappers::MPI::Vector &) const;
+#    endif
+#  endif
 #endif
 
 #ifdef DEAL_II_WITH_TRILINOS

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.