SpECTRE  v2024.04.12
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 = tmpl::list< domain::Tags::Domain< volume_dim >, domain::Tags::ElementDistribution >
 
using array_allocation_tags = typename ElementsAllocator::template array_allocation_tags< DgElementArray >
 
using simple_tags_from_options = tmpl::append< Parallel::get_simple_tags_from_options< Parallel::get_initialization_actions_list< phase_dependent_action_list > >, array_allocation_tags >
 

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
 

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.

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