From 6f07e761b307df265f9080ffab43a5bcc7fe38b8 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Thu, 21 Nov 2024 13:11:26 -0500 Subject: [PATCH] fix instantiations --- source/lac/trilinos_sparse_matrix.cc | 33 +++++++++++++++++++++------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/source/lac/trilinos_sparse_matrix.cc b/source/lac/trilinos_sparse_matrix.cc index 20f6029a40..7bc5c9db89 100644 --- a/source/lac/trilinos_sparse_matrix.cc +++ b/source/lac/trilinos_sparse_matrix.cc @@ -3042,8 +3042,15 @@ namespace TrilinosWrappers template void SparseMatrix::vmult( - dealii::LinearAlgebra::distributed::Vector &, - const dealii::LinearAlgebra::distributed::Vector &) const; + dealii::LinearAlgebra::distributed::Vector &, + const dealii::LinearAlgebra::distributed::Vector + &) const; + + template void + SparseMatrix::vmult( + dealii::LinearAlgebra::distributed::Vector &, + const dealii::LinearAlgebra::distributed::Vector + &) const; # ifdef DEAL_II_TRILINOS_WITH_TPETRA # if defined(HAVE_TPETRA_INST_DOUBLE) @@ -3093,8 +3100,9 @@ namespace TrilinosWrappers template void SparseMatrix::Tvmult( - dealii::LinearAlgebra::distributed::Vector &, - const dealii::LinearAlgebra::distributed::Vector &) const; + dealii::LinearAlgebra::distributed::Vector &, + const dealii::LinearAlgebra::distributed::Vector + &) const; # ifdef DEAL_II_TRILINOS_WITH_TPETRA # if defined(HAVE_TPETRA_INST_DOUBLE) @@ -3144,8 +3152,9 @@ namespace TrilinosWrappers template void SparseMatrix::vmult_add( - dealii::LinearAlgebra::distributed::Vector &, - const dealii::LinearAlgebra::distributed::Vector &) const; + dealii::LinearAlgebra::distributed::Vector &, + const dealii::LinearAlgebra::distributed::Vector + &) const; # ifdef DEAL_II_TRILINOS_WITH_TPETRA # if defined(HAVE_TPETRA_INST_DOUBLE) @@ -3195,8 +3204,16 @@ namespace TrilinosWrappers template void SparseMatrix::Tvmult_add( - dealii::LinearAlgebra::distributed::Vector &, - const dealii::LinearAlgebra::distributed::Vector &) const; + dealii::LinearAlgebra::distributed::Vector &, + const dealii::LinearAlgebra::distributed::Vector + &) const; + + template void + SparseMatrix::Tvmult_add( + dealii::LinearAlgebra::distributed::Vector &, + const dealii::LinearAlgebra::distributed::Vector + &) const; + # ifdef DEAL_II_TRILINOS_WITH_TPETRA # if defined(HAVE_TPETRA_INST_DOUBLE) -- 2.39.5