SpECTRE  v2024.04.12
LinearSolver::Tags::ResidualCompute< FieldsTag, SourceTag > Struct Template Reference

Compute the residual \(r=b - Ax\) from the SourceTag \(b\) and the db::add_tag_prefix<LinearSolver::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)
 

Detailed Description

template<typename FieldsTag, typename SourceTag>
struct LinearSolver::Tags::ResidualCompute< FieldsTag, SourceTag >

Compute the residual \(r=b - Ax\) from the SourceTag \(b\) and the db::add_tag_prefix<LinearSolver::Tags::OperatorAppliedTo, FieldsTag> \(Ax\).


The documentation for this struct was generated from the following file: