SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
domain::Tags::ElementDistribution Struct Reference

Tag that holds method for how to distribute the elements on the given resources. More...

#include <ElementDistribution.hpp>

Public Types

using type = std::optional<ElementWeight>
using option_tags = tmpl::list<OptionTags::ElementDistribution>

Static Public Member Functions

static type create_from_options (const type &element_distribution)

Static Public Attributes

static constexpr bool pass_metavariables = false

Detailed Description

Tag that holds method for how to distribute the elements on the given resources.

Note
When not using local time stepping (LTS), a user cannot choose the NumGridPointsAndGridSpacing element distribution because grid spacing does not affect the computational cost at all. Therefore, if a user does choose NumGridPointsAndGridSpacing when not using LTS, an error will occur.

The documentation for this struct was generated from the following file:
  • src/Domain/Tags/ElementDistribution.hpp