SpECTRE  v2024.04.12
LinearSolver::multigrid::Actions::SendFieldsToCoarserGrid< FieldsTags, OptionsGroup, FieldsAreMassiveTag, ReceiveTags > Struct Template Reference

Communicate and project the FieldsTags to the next-coarser grid in the multigrid hierarchy. More...

Detailed Description

template<typename FieldsTags, typename OptionsGroup, typename FieldsAreMassiveTag, typename ReceiveTags = FieldsTags>
struct LinearSolver::multigrid::Actions::SendFieldsToCoarserGrid< FieldsTags, OptionsGroup, FieldsAreMassiveTag, ReceiveTags >

Communicate and project the FieldsTags to the next-coarser grid in the multigrid hierarchy.

Template Parameters
FieldsTagsThese tags will be communicated and projected. They can hold any type that works with apply_matrices and supports addition, e.g. Variables.
OptionsGroupThe option group identifying the multigrid solver
FieldsAreMassiveTagA boolean tag in the DataBox that indicates whether or not the FieldsTags have already been multiplied by the mass matrix. This setting influences the way the fields are projected. In particular, the mass matrix already includes a Jacobian factor, so the difference in size between the parent and the child element is already accounted for.
ReceiveTagsThe projected fields will be stored in these tags (default: FieldsTags).

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