From 357d4ccd17606e1e6b7b49549a4c4be9f870b1ef Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Mon, 8 Jun 2020 20:56:11 -0500 Subject: [PATCH] add missing instantiations --- 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 dd160ed092..04ebc8ea52 100644 --- a/source/lac/affine_constraints.cc +++ b/source/lac/affine_constraints.cc @@ -125,6 +125,14 @@ INSTANTIATE_DLTG_BLOCK_VECTORMATRIX(TrilinosWrappers::BlockSparseMatrix, INSTANTIATE_DLTG_MATRIX(TrilinosWrappers::SparseMatrix); INSTANTIATE_DLTG_MATRIX(TrilinosWrappers::BlockSparseMatrix); + +# ifdef DEAL_II_TRILINOS_WITH_TPETRA +// FIXME: This mixed variant is needed for multigrid and matrix free. +template void +dealii::AffineConstraints::distribute< + dealii::LinearAlgebra::TpetraWrappers::Vector>( + dealii::LinearAlgebra::TpetraWrappers::Vector &) const; +# endif #endif /* -- 2.39.5