SpECTRE  v2025.03.17
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
LinearSolver::Actions::SetUnitVector< BuildMatrixMetavars > 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 BuildMatrixMetavars>
struct LinearSolver::Actions::SetUnitVector< BuildMatrixMetavars >

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: