SpECTRE  v2024.09.29
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. More...
 
using metavariables = Metavariables
 The metavariables.
 
using simple_tags_from_options = Parallel::get_simple_tags_from_options< Parallel::get_initialization_actions_list< PhaseDepActionList > >
 The simple tags necessary from option parsing.
 
using dg_element_array_member = Parallel::DgElementArrayMember< Dim, Metavariables, PhaseDepActionList, simple_tags_from_options >
 The type of the Parallel::DgElementArrayMember with all template parameters.
 
using element_collection_tag = Parallel::Tags::ElementCollection< Dim, Metavariables, PhaseDepActionList, simple_tags_from_options >
 The tag Parallel::Tags::ElementCollection of this DgElementCollection
 
using phase_dependent_action_list = tmpl::append< tmpl::list< Parallel::PhaseActions< Parallel::Phase::Initialization, tmpl::list< Actions::CreateElementCollection< Dim, Metavariables, PhaseDepActionList, simple_tags_from_options >, Parallel::Actions::TerminatePhase > > >, TransformPhaseDependentActionListForNodegroup< PhaseDepActionList > >
 The phase dependent action lists. More...
 
using const_global_cache_tags = tmpl::remove_duplicates< typename Parallel::detail::get_const_global_cache_tags_from_pdal< PhaseDepActionList >::type >
 The tags for the global cache. More...
 
using mutable_global_cache_tags = typename Parallel::detail::get_mutable_global_cache_tags_from_pdal< PhaseDepActionList >::type
 The tags for the global cache. More...
 

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.
 

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 = 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.

◆ mutable_global_cache_tags

template<size_t Dim, class Metavariables , class PhaseDepActionList >
using Parallel::DgElementCollection< Dim, Metavariables, PhaseDepActionList >::mutable_global_cache_tags = 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 = tmpl::append< tmpl::list<Parallel::PhaseActions< Parallel::Phase::Initialization, tmpl::list<Actions::CreateElementCollection<Dim, Metavariables, PhaseDepActionList, simple_tags_from_options>, Parallel::Actions::TerminatePhase> >>, TransformPhaseDependentActionListForNodegroup<PhaseDepActionList> >

The phase dependent action lists.

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


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