SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
elliptic::DgElementArray< Metavariables, PhaseDepActionList, ElementsAllocator > 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 array_allocation_tags
using simple_tags_from_options

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)

Static Public Attributes

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

Detailed Description

template<typename Metavariables, typename PhaseDepActionList, typename ElementsAllocator = DefaultElementsAllocator<Metavariables::volume_dim>>
struct elliptic::DgElementArray< Metavariables, PhaseDepActionList, ElementsAllocator >

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.

Note
This parallel component is nearly identical to Evolution/DiscontinuousGalerkin/DgElementArray.hpp right now, but will likely diverge in the future, for instance to support a multigrid domain.

Member Typedef Documentation

◆ array_allocation_tags

template<typename Metavariables, typename PhaseDepActionList, typename ElementsAllocator = DefaultElementsAllocator<Metavariables::volume_dim>>
using elliptic::DgElementArray< Metavariables, PhaseDepActionList, ElementsAllocator >::array_allocation_tags
Initial value:
typename ElementsAllocator::template array_allocation_tags<
The parallel component responsible for managing the DG elements that compose the computational domain...
Definition DgElementArray.hpp:187

◆ const_global_cache_tags

template<typename Metavariables, typename PhaseDepActionList, typename ElementsAllocator = DefaultElementsAllocator<Metavariables::volume_dim>>
using elliptic::DgElementArray< Metavariables, PhaseDepActionList, ElementsAllocator >::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<typename Metavariables, typename PhaseDepActionList, typename ElementsAllocator = DefaultElementsAllocator<Metavariables::volume_dim>>
using elliptic::DgElementArray< Metavariables, PhaseDepActionList, ElementsAllocator >::simple_tags_from_options
Initial value:
phase_dependent_action_list>>,
array_allocation_tags>
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/Elliptic/DiscontinuousGalerkin/DgElementArray.hpp