SpECTRE  v2025.08.19
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::unordered_set< size_t > >
 
using option_tags = tmpl::list< OptionTags::AmrBlocks, ::domain::OptionTags::DomainCreator< Dim > >
 

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.


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