SpECTRE  v2024.04.12
LinearSolver::Actions::SetUnitVector< IterationIdTag, OperandTag, OperatorAppliedToOperandTag, CoordsTag, ArraySectionIdTag > Struct Template Reference

Set the operand to a unit vector with a '1' at the current grid point. Applying the operator to this operand gives a column of the matrix. We jump back to this until we have iterated over all grid points. More...

#include <BuildMatrix.hpp>

Static Public Member Functions

template<typename DbTags , typename... InboxTags, typename Metavariables , typename ArrayIndex , typename ActionList , typename ParallelComponent >
static Parallel::iterable_action_return_t apply (db::DataBox< DbTags > &box, const tuples::TaggedTuple< InboxTags... > &, const Parallel::GlobalCache< Metavariables > &, const ArrayIndex &, const ActionList, const ParallelComponent *const)
 

Detailed Description

template<typename IterationIdTag, typename OperandTag, typename OperatorAppliedToOperandTag, typename CoordsTag, typename ArraySectionIdTag>
struct LinearSolver::Actions::SetUnitVector< IterationIdTag, OperandTag, OperatorAppliedToOperandTag, CoordsTag, ArraySectionIdTag >

Set the operand to a unit vector with a '1' at the current grid point. Applying the operator to this operand gives a column of the matrix. We jump back to this until we have iterated over all grid points.


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