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

Creates the DgElementArrayMembers on the (node)group component. More...

#include <CreateElementCollection.hpp>

Public Types

using simple_tags
using compute_tags = tmpl::list<>
using const_global_cache_tags
using return_tag_list = tmpl::append<simple_tags, compute_tags>

Static Public Member Functions

template<typename DbTagsList, typename... InboxTags, typename ArrayIndex, typename ActionList, typename ParallelComponent>
static Parallel::iterable_action_return_t apply (db::DataBox< DbTagsList > &box, const tuples::TaggedTuple< InboxTags... > &, Parallel::GlobalCache< Metavariables > &local_cache, const ArrayIndex &, const ActionList, const ParallelComponent *const)

Detailed Description

template<size_t Dim, class Metavariables, class PhaseDepActionList, typename SimpleTagsFromOptions>
struct Parallel::Actions::CreateElementCollection< Dim, Metavariables, PhaseDepActionList, SimpleTagsFromOptions >

Creates the DgElementArrayMembers on the (node)group component.

First the distribution of elements is computed using Parallel::create_elements_using_distribution(), they are inserted on each (node)group element. A reduction is done over the (node)group before initializing the DgElementArrayMembers themselves, since they are allowed to communicate with each other during their initialization. The reduction target is Parallel::Actions::SpawnInitializeElementsInCollection.

Uses:

DataBox changes:

Member Typedef Documentation

◆ const_global_cache_tags

template<size_t Dim, class Metavariables, class PhaseDepActionList, typename SimpleTagsFromOptions>
using Parallel::Actions::CreateElementCollection< Dim, Metavariables, PhaseDepActionList, SimpleTagsFromOptions >::const_global_cache_tags
Initial value:
tmpl::list<::domain::Tags::Domain<Dim>,
Tag that holds method for how to distribute the elements on the given resources.
Definition ElementDistribution.hpp:47

◆ simple_tags

template<size_t Dim, class Metavariables, class PhaseDepActionList, typename SimpleTagsFromOptions>
using Parallel::Actions::CreateElementCollection< Dim, Metavariables, PhaseDepActionList, SimpleTagsFromOptions >::simple_tags
Initial value:
tmpl::list<
Parallel::Tags::ElementCollection<Dim, Metavariables, PhaseDepActionList,
SimpleTagsFromOptions>,
Holds all of the DgElementArrayMember on a node.
Definition ElementCollection.hpp:27
The node (location) where different elements are.
Definition ElementLocations.hpp:21
A counter of the number of elements on the node that have marked themselves as having terminated thei...
Definition NumberOfElementsTerminated.hpp:13

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