SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
ah::Criteria::IncreaseResolution Class Reference

Increases the resolution of the Strahlkorper by 2. More...

#include <IncreaseResolution.hpp>

Public Types

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

Public Member Functions

std::string observation_name () override
template<typename Metavariables, typename Frame>
size_t operator() (const Parallel::GlobalCache< Metavariables > &, const ylm::Strahlkorper< Frame > &strahlkorper, const FastFlow::IterInfo &) const
bool is_equal (const Criterion &other) const override
Public Member Functions inherited from ah::Criterion
 Criterion (CkMigrateMessage *msg)
 WRAPPED_PUPable_abstract (Criterion)
template<typename ComputeTagsList, typename DataBoxType, typename Metavariables, typename Frame>
auto evaluate (const ObservationBox< ComputeTagsList, DataBoxType > &box, Parallel::GlobalCache< Metavariables > &cache, const ylm::Strahlkorper< Frame > &strahlkorper, const FastFlow::IterInfo &info) const
 Evaluates the apparent horizon criteria by selecting the appropriate derived class and forwarding its argument_tags from the ObservationBox (along with the GlobalCache) to the call operator of the derived class.

Static Public Attributes

static constexpr Options::String help

Detailed Description

Increases the resolution of the Strahlkorper by 2.

Useful to force the horizon finder to adopt the maximum allowed resolution and as a simple criterion for testing.

Member Function Documentation

◆ is_equal()

bool ah::Criteria::IncreaseResolution::is_equal ( const Criterion & other) const
overridevirtual

Implements ah::Criterion.

◆ observation_name()

std::string ah::Criteria::IncreaseResolution::observation_name ( )
inlineoverridevirtual

Implements ah::Criterion.

Member Data Documentation

◆ help

Options::String ah::Criteria::IncreaseResolution::help
staticconstexpr
Initial value:
= {
"Increases the resolution of the Strahlkorper by 2."}

The documentation for this class was generated from the following file:
  • src/ParallelAlgorithms/ApparentHorizonFinder/Criteria/IncreaseResolution.hpp