SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
amr::Tags::AmrBlocks< Dim > Struct Template Reference

The set of block IDs in which AMR is enabled. If std::nullopt, AMR is enabled in all blocks. More...

#include <Tags.hpp>

Public Types

using type = std::optional<std::vector<size_t>>
using option_tags

Static Public Member Functions

static type create_from_options (const std::optional< std::vector< std::string > > &block_names, const std::unique_ptr<::DomainCreator< Dim > > &domain_creator)

Static Public Attributes

static constexpr bool pass_metavariables = false

Detailed Description

template<size_t Dim>
struct amr::Tags::AmrBlocks< Dim >

The set of block IDs in which AMR is enabled. If std::nullopt, AMR is enabled in all blocks.

Member Typedef Documentation

◆ option_tags

template<size_t Dim>
using amr::Tags::AmrBlocks< Dim >::option_tags
Initial value:
Blocks in which AMR is enabled.
Definition Tags.hpp:45
The input file tag for the DomainCreator to use.
Definition OptionTags.hpp:22

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