21template <
typename T >
22concept LinearFormLike =
requires( T& self,
typename T::DstVectorType& dst ) {
24 typename T::DstVectorType;
30 { self.apply_impl( dst ) } -> std::same_as< void >;
36template < LinearFormLike LinearForm >
37void apply( LinearForm& L,
typename LinearForm::DstVectorType& dst )
Concept for types that behave like vectors. Requires exposing ScalarType and implementations for line...
Definition vector.hpp:8
Contains linear algebra utilities and functions for the Terra project.
Definition diagonally_scaled_operator.hpp:8
void apply(LinearForm &L, typename LinearForm::DstVectorType &dst)
Apply a linear form and write to a destination vector.
Definition linear_form.hpp:37