From: Daniel Arndt Date: Fri, 24 Feb 2023 15:52:06 +0000 (-0500) Subject: Fix VectorTools::add_constant for TpetraWrappers::Vector X-Git-Tag: v9.5.0-rc1~520^2~1 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a758ada50c487514b934d21bedcb7bb462d121bd;p=dealii.git Fix VectorTools::add_constant for TpetraWrappers::Vector --- diff --git a/include/deal.II/numerics/vector_tools_mean_value.templates.h b/include/deal.II/numerics/vector_tools_mean_value.templates.h index 67d451e768..e2a182d25b 100644 --- a/include/deal.II/numerics/vector_tools_mean_value.templates.h +++ b/include/deal.II/numerics/vector_tools_mean_value.templates.h @@ -269,6 +269,21 @@ namespace VectorTools // TODO: no vector access using operator() AssertThrow(false, ExcNotImplemented()); } + + + +# ifdef DEAL_II_TRILINOS_WITH_TPETRA + template + void + add_constant(LinearAlgebra::TpetraWrappers::Vector &, + const DoFHandler &, + const unsigned int, + const ValueType) + { + // TODO: no vector access using operator() + AssertThrow(false, ExcNotImplemented()); + } +# endif #endif