SpECTRE  v2026.09.05
Loading...
Searching...
No Matches
evolution::dg::subcell::SubcellAndNonconformingEqualRateRegions< Dim > Class Template Reference

Combined equal-rate region generator for subcell evolution with nonconforming block boundaries. More...

#include <SubcellAndNonconformingEqualRateRegions.hpp>

Public Types

using creation_tags

Public Member Functions

 SubcellAndNonconformingEqualRateRegions (const SubcellOptions &subcell_options, const std::unique_ptr< DomainCreator< Dim > > &domain_creator)
std::unordered_map< std::string, size_t > regions () const
bool is_in_region (size_t region, const ElementId< Dim > &element_id) const
void pup (PUP::er &p)

Detailed Description

template<size_t Dim>
class evolution::dg::subcell::SubcellAndNonconformingEqualRateRegions< Dim >

Combined equal-rate region generator for subcell evolution with nonconforming block boundaries.

When using local time stepping (LTS) with both subcell evolution and nonconforming block boundaries, the two separate region generators NonconformingEqualRateRegions and SubcellEqualRateRegion cannot be combined without conflicts in their regions. This class merges the two generators into one, treating subcell-adjacent nonconforming interfaces as part of the "Subcell" region rather than as separate "NonconformingN" regions.

Subcell region (region 0): Contains all subcell-capable elements (those not in OnlyDgBlocksAndGroups) plus the elements of DG-only blocks that lie directly on a nonconforming face bordering a subcell-capable block.

NonconformingN[+/-] regions (regions 1…N): Created only for nonconforming interfaces where every block on both sides is DG-only (no subcell capability on either side). These behave identically to the regions produced by NonconformingEqualRateRegions.

Note
If your domain has no nonconforming block boundaries, use SubcellEqualRateRegion instead: it is simpler and has no overhead.

Member Typedef Documentation

◆ creation_tags

template<size_t Dim>
using evolution::dg::subcell::SubcellAndNonconformingEqualRateRegions< Dim >::creation_tags
Initial value:
The input file tag for the DomainCreator to use.
Definition OptionTags.hpp:22
System-agnostic options for DG-subcell.
Definition SubcellOptions.hpp:19

The documentation for this class was generated from the following file:
  • src/Evolution/DgSubcell/SubcellAndNonconformingEqualRateRegions.hpp