Skip to content

Commit

Permalink
Fix VectorTools::add_constant for TpetraWrappers::Vector
Browse files Browse the repository at this point in the history
  • Loading branch information
masterleinad committed Feb 24, 2023
1 parent 5683d8d commit a758ada
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions include/deal.II/numerics/vector_tools_mean_value.templates.h
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,21 @@ namespace VectorTools
// TODO: no vector access using operator()
AssertThrow(false, ExcNotImplemented());
}



# ifdef DEAL_II_TRILINOS_WITH_TPETRA
template <int dim, int spacedim, typename ValueType>
void
add_constant(LinearAlgebra::TpetraWrappers::Vector<ValueType> &,
const DoFHandler<dim, spacedim> &,
const unsigned int,
const ValueType)
{
// TODO: no vector access using operator()
AssertThrow(false, ExcNotImplemented());
}
# endif
#endif


Expand Down

0 comments on commit a758ada

Please sign in to comment.