SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
Parallel::DgElementCollection< Dim, Metavariables, PhaseDepActionList > Struct Template Reference

A collection of DG elements on a node. More...

#include <DgElementCollection.hpp>

Public Types

using chare_type = Parallel::Algorithms::Nodegroup
 The DgElementCollection is currently a nodegroup.
using metavariables = Metavariables
 The metavariables.
using simple_tags_from_options
 The simple tags necessary from option parsing.
using dg_element_array_member
 The type of the Parallel::DgElementArrayMember with all template parameters.
using element_collection_tag
 The tag Parallel::Tags::ElementCollection of this DgElementCollection
using phase_dependent_action_list
 The phase dependent action lists.
using const_global_cache_tags
 The tags for the global cache.
using mutable_global_cache_tags
 The tags for the global cache.

Static Public Member Functions

static void execute_next_phase (const Parallel::Phase next_phase, Parallel::CProxy_GlobalCache< Metavariables > &global_cache)
 Starts the next phase of execution.

Static Public Attributes

static constexpr bool checkpoint_data = true

Detailed Description

template<size_t Dim, class Metavariables, class PhaseDepActionList>
struct Parallel::DgElementCollection< Dim, Metavariables, PhaseDepActionList >

A collection of DG elements on a node.

The PhaseDepActionList is the PDAL that was used for the array approach. Some actions will require updating to support nodegroups if they haven't already been.

Member Typedef Documentation

◆ chare_type

template<size_t Dim, class Metavariables, class PhaseDepActionList>
using Parallel::DgElementCollection< Dim, Metavariables, PhaseDepActionList >::chare_type = Parallel::Algorithms::Nodegroup

The DgElementCollection is currently a nodegroup.

It should be possible to generalize this to work as a group too.

◆ const_global_cache_tags

template<size_t Dim, class Metavariables, class PhaseDepActionList>
using Parallel::DgElementCollection< Dim, Metavariables, PhaseDepActionList >::const_global_cache_tags
Initial value:
tmpl::remove_duplicates<
typename Parallel::detail::get_const_global_cache_tags_from_pdal<
PhaseDepActionList>::type>

The tags for the global cache.

These are computed from the PhaseDepActionList template parameter.

◆ dg_element_array_member

template<size_t Dim, class Metavariables, class PhaseDepActionList>
using Parallel::DgElementCollection< Dim, Metavariables, PhaseDepActionList >::dg_element_array_member
Initial value:
Parallel::DgElementArrayMember<Dim, Metavariables, PhaseDepActionList,
An element or multiple elements stored contiguously on a group or nodegroup.
Definition DgElementArrayMember.hpp:63
Parallel::get_simple_tags_from_options< Parallel::get_initialization_actions_list< PhaseDepActionList > > simple_tags_from_options
The simple tags necessary from option parsing.
Definition DgElementCollection.hpp:41

The type of the Parallel::DgElementArrayMember with all template parameters.

◆ element_collection_tag

template<size_t Dim, class Metavariables, class PhaseDepActionList>
using Parallel::DgElementCollection< Dim, Metavariables, PhaseDepActionList >::element_collection_tag
Initial value:
Parallel::Tags::ElementCollection<Dim, Metavariables, PhaseDepActionList,
Holds all of the DgElementArrayMember on a node.
Definition ElementCollection.hpp:27

The tag Parallel::Tags::ElementCollection of this DgElementCollection

◆ mutable_global_cache_tags

template<size_t Dim, class Metavariables, class PhaseDepActionList>
using Parallel::DgElementCollection< Dim, Metavariables, PhaseDepActionList >::mutable_global_cache_tags
Initial value:
typename Parallel::detail::get_mutable_global_cache_tags_from_pdal<
PhaseDepActionList>::type

The tags for the global cache.

These are computed from the PhaseDepActionList template parameter.

◆ phase_dependent_action_list

template<size_t Dim, class Metavariables, class PhaseDepActionList>
using Parallel::DgElementCollection< Dim, Metavariables, PhaseDepActionList >::phase_dependent_action_list
Initial value:
tmpl::append<
tmpl::list<Actions::CreateElementCollection<Dim, Metavariables,
PhaseDepActionList,
@ Initialization
initial phase of an executable
Definition Phase.hpp:67
tmpl::flatten< tmpl::transform< PhaseDepActionList, detail::TransformPdalForNodegroup< tmpl::_1 > > > TransformPhaseDependentActionListForNodegroup
Transforms the PhaseDepActionList (phase dependent action list/PDAL) from one used for a evolution::D...
Definition TransformPdalForNodegroup.hpp:26
Creates the DgElementArrayMembers on the (node)group component.
Definition CreateElementCollection.hpp:73
Terminate the algorithm to proceed to the next phase.
Definition TerminatePhase.hpp:28
List of all the actions to be executed in the specified phase.
Definition PhaseDependentActionList.hpp:17

The phase dependent action lists.

These are computed using Parallel::TransformPhaseDependentActionListForNodegroup from the PhaseDepActionList template parameter.

◆ simple_tags_from_options

template<size_t Dim, class Metavariables, class PhaseDepActionList>
using Parallel::DgElementCollection< Dim, Metavariables, PhaseDepActionList >::simple_tags_from_options
Initial value:
tmpl::remove_duplicates< tmpl::flatten< tmpl::transform< InitializationActionsList, detail::get_simple_tags_from_options_from_action< tmpl::_1 > > > > get_simple_tags_from_options
Given a list of initialization actions, returns a list of the unique simple_tags_from_options for all...
Definition ParallelComponentHelpers.hpp:295
tmpl::flatten< tmpl::transform< PhaseDepActionList, detail::get_initialization_actions_list< tmpl::_1 > > > get_initialization_actions_list
Given the phase dependent action list, return the list of actions in the Initialization phase (or an ...
Definition ParallelComponentHelpers.hpp:275

The simple tags necessary from option parsing.


The documentation for this struct was generated from the following file:
  • src/Parallel/ArrayCollection/DgElementCollection.hpp