SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
DgElementArray< Metavariables, PhaseDepActionList > Struct Template Reference

The parallel component responsible for managing the DG elements that compose the computational domain. More...

#include <DgElementArray.hpp>

Public Types

using chare_type = Parallel::Algorithms::Array
using metavariables = Metavariables
using phase_dependent_action_list = PhaseDepActionList
using array_index = ElementId<volume_dim>
using const_global_cache_tags
using simple_tags_from_options
using array_allocation_tags = tmpl::list<>

Static Public Member Functions

static void allocate_array (Parallel::CProxy_GlobalCache< Metavariables > &global_cache, const tuples::tagged_tuple_from_typelist< simple_tags_from_options > &initialization_items, const tuples::tagged_tuple_from_typelist< array_allocation_tags > &array_allocation_items={}, const std::unordered_set< size_t > &procs_to_ignore={})
static void execute_next_phase (const Parallel::Phase next_phase, Parallel::CProxy_GlobalCache< Metavariables > &global_cache, const bool force=false)

Static Public Attributes

static constexpr size_t volume_dim = Metavariables::volume_dim
static constexpr bool checkpoint_data = true

Detailed Description

template<class Metavariables, class PhaseDepActionList>
struct DgElementArray< Metavariables, PhaseDepActionList >

The parallel component responsible for managing the DG elements that compose the computational domain.

This parallel component will perform the actions specified by the PhaseDepActionList.

An unordered set of size_ts can be passed to the allocate_array function which represents physical processors to avoid placing elements on.

Member Typedef Documentation

◆ const_global_cache_tags

template<class Metavariables, class PhaseDepActionList>
using DgElementArray< Metavariables, PhaseDepActionList >::const_global_cache_tags
Initial value:
tmpl::list<domain::Tags::Domain<volume_dim>,
Tag that holds method for how to distribute the elements on the given resources.
Definition ElementDistribution.hpp:47

◆ simple_tags_from_options

template<class Metavariables, class PhaseDepActionList>
using DgElementArray< 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 documentation for this struct was generated from the following file:
  • src/Evolution/DiscontinuousGalerkin/DgElementArray.hpp