SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
Punctures::AmrCriteria::RefineAtPunctures Class Reference

h-refine (split) elements containing a puncture More...

#include <RefineAtPunctures.hpp>

Public Types

using options = tmpl::list<>
using argument_tags
using compute_tags_for_observation_box = tmpl::list<>

Public Member Functions

amr::Criteria::Type type () override
std::string observation_name () override
template<typename Metavariables>
std::array< amr::Flag, 3 > operator() (const elliptic::analytic_data::Background &background, const Domain< 3 > &domain, Parallel::GlobalCache< Metavariables > &, const ElementId< 3 > &element_id) const
Public Member Functions inherited from amr::Criterion
 Criterion (CkMigrateMessage *msg)
 WRAPPED_PUPable_abstract (Criterion)
template<typename ComputeTagsList, typename DataBoxType, typename Metavariables>
auto evaluate (const ObservationBox< ComputeTagsList, DataBoxType > &box, Parallel::GlobalCache< Metavariables > &cache, const ElementId< Metavariables::volume_dim > &element_id) const
 Evaluates the AMR criteria by selecting the appropriate derived class and forwarding its argument_tags from the ObservationBox (along with the GlobalCache and ArrayIndex) to the call operator of the derived class.

Static Public Attributes

static constexpr Options::String help

Detailed Description

h-refine (split) elements containing a puncture

This refinement scheme is expected to yield exponential convergence, despite the presence of the C^2 punctures.

Member Typedef Documentation

◆ argument_tags

using Punctures::AmrCriteria::RefineAtPunctures::argument_tags
Initial value:
tmpl::list<
The Domain.
Definition Domain.hpp:20
The variable-independent part of the elliptic equations, e.g. the fixed-sources in a Poisson equatio...
Definition Tags.hpp:44

Member Function Documentation

◆ observation_name()

std::string Punctures::AmrCriteria::RefineAtPunctures::observation_name ( )
inlineoverridevirtual

Implements amr::Criterion.

◆ type()

amr::Criteria::Type Punctures::AmrCriteria::RefineAtPunctures::type ( )
inlineoverridevirtual

Implements amr::Criterion.

Member Data Documentation

◆ help

Options::String Punctures::AmrCriteria::RefineAtPunctures::help
staticconstexpr
Initial value:
= {
"h-refine (split) elements containing a puncture."}

The documentation for this class was generated from the following file:
  • src/Elliptic/Systems/Punctures/AmrCriteria/RefineAtPunctures.hpp