From 82b930ad8ad27f90dc994ae7919a85ca51c92c09 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Wed, 10 Jun 2020 10:12:00 -0400 Subject: [PATCH] Add missing instantiation for PETSc with complex values --- source/lac/affine_constraints.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source/lac/affine_constraints.cc b/source/lac/affine_constraints.cc index 2ddddb5325..4d44af2856 100644 --- a/source/lac/affine_constraints.cc +++ b/source/lac/affine_constraints.cc @@ -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::distribute< + dealii::PETScWrappers::MPI::Vector>( + dealii::PETScWrappers::MPI::Vector &) const; +# endif +# endif #endif #ifdef DEAL_II_WITH_TRILINOS -- 2.39.5