SpECTRE  v2024.09.29
Parallel::Tags::Section< ParallelComponent, SectionIdTag > Struct Template Reference

The Parallel::Section<ParallelComponent, SectionIdTag> that this element belongs to. More...

#include <Section.hpp>

Public Types

using type = std::optional< Parallel::Section< ParallelComponent, SectionIdTag > >
 
using option_tags = tmpl::list<>
 

Static Public Member Functions

static std::string name ()
 
static type create_from_options ()
 

Static Public Attributes

static constexpr bool pass_metavariables = false
 

Detailed Description

template<typename ParallelComponent, typename SectionIdTag>
struct Parallel::Tags::Section< ParallelComponent, SectionIdTag >

The Parallel::Section<ParallelComponent, SectionIdTag> that this element belongs to.

The tag holds a std::nullopt if the element doesn't belong to a section of the SectionIdTag. For example, a section may describe a specific region in the computational domain and thus doesn't include all elements, so this tag would hold std::nullopt on the elements outside that region.

See also
Parallel::Section

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