SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
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
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\).

Member Typedef Documentation

◆ argument_tags

template<typename FieldsTag, typename SourceTag>
using LinearSolver::Tags::ResidualCompute< FieldsTag, SourceTag >::argument_tags
Initial value:
tmpl::list<SourceTag, db::add_tag_prefix<OperatorAppliedTo, FieldsTag>>

The documentation for this struct was generated from the following file:
  • src/ParallelAlgorithms/LinearSolver/Tags.hpp