|
SpECTRE
v2025.08.19
|
Compute the residual \(r=b - Ax\) from the SourceTag \(b\) and the db::add_tag_prefix<NonlinearSolver::Tags::OperatorAppliedTo, FieldsTag> \(Ax\).
More...
#include <Tags.hpp>
Public Types | |
| using | base = db::add_tag_prefix< Residual, FieldsTag > |
| using | argument_tags = tmpl::list< SourceTag, db::add_tag_prefix< OperatorAppliedTo, FieldsTag > > |
| using | return_type = typename base::type |
Static Public Member Functions | |
| static void | function (const gsl::not_null< return_type * > residual, const typename SourceTag::type &source, const typename db::add_tag_prefix< OperatorAppliedTo, FieldsTag >::type &operator_applied_to_fields) |
Compute the residual \(r=b - Ax\) from the SourceTag \(b\) and the db::add_tag_prefix<NonlinearSolver::Tags::OperatorAppliedTo, FieldsTag> \(Ax\).