SpECTRE  v2024.04.12
Triggers::OnSubsteps Class Reference

#include <OnSubsteps.hpp>

Public Types

using argument_tags = tmpl::list< Tags::DataBox >
 

Public Member Functions

 OnSubsteps (std::unique_ptr< Trigger > trigger)
 
template<typename DbTags >
bool operator() (const db::DataBox< DbTags > &box) const
 
void pup (PUP::er &p) override
 
- Public Member Functions inherited from Trigger
 WRAPPED_PUPable_abstract (Trigger)
 
template<typename DbTags >
bool is_triggered (const db::DataBox< DbTags > &box) const
 

Static Public Attributes

static constexpr Options::String help
 

Detailed Description

Check a trigger on substeps, as well as full steps. Primarily for debugging.

In LTS mode, only substeps of the first step in each slab will be checked. Such substeps may not be aligned across the domain.

The observation value on a substep is set to the start time of the step plus \(10^6\) times the substep number.

This trigger can be used as:

- Trigger:
OnSubsteps:
Always:

Member Data Documentation

◆ help

constexpr Options::String Triggers::OnSubsteps::help
staticconstexpr
Initial value:
=
"Check a trigger on substeps in addition to steps."

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