SpECTRE  v2025.08.19
StepChoosers Namespace Reference

Holds all the StepChoosers. More...

Classes

class  ByBlock
 Sets a goal specified per-block. More...
 
class  Cfl
 Sets a goal based on the CFL stability criterion. More...
 
class  Constant
 Sets a constant goal. More...
 
class  ElementSizeCfl
 Sets a goal based on the CFL stability criterion, but uses the full size of the element as the length scale in question. More...
 
class  ErrorControl
 Sets a goal based on time-stepper truncation error. More...
 
class  FixedLtsRatio
 Requests a slab size based on the desired step in regions with a fixed slab fraction. More...
 
class  LimitIncrease
 Limits step increase to a constant ratio. More...
 
class  Maximum
 Limits the step size to a constant. More...
 
class  PreventRapidIncrease
 Limits the time step to prevent multistep integrator instabilities. More...
 
class  Random
 Changes the step size pseudo-randomly. Values are distributed uniformly in \(\log(dt)\). The current step is always accepted. More...
 
class  StepToTimes
 Suggests step sizes to place steps at specific times. More...
 

Typedefs

template<typename System , bool HasCharSpeedFunctions = true>
using standard_step_choosers = tmpl::append< Factory_detail::common_step_choosers< System, HasCharSpeedFunctions >, Factory_detail::step_choosers_for_step_only< StepChooserUse::LtsStep, System > >
 
template<typename System , bool LocalTimeStepping, bool HasCharSpeedFunctions = true>
using standard_slab_choosers = tmpl::conditional_t< LocalTimeStepping, Factory_detail::lts_slab_choosers< System, HasCharSpeedFunctions >, tmpl::append< Factory_detail::lts_slab_choosers< System, HasCharSpeedFunctions >, Factory_detail::step_choosers_for_step_only< StepChooserUse::Slab, System > > >
 
template<typename Metavariables , bool UsingLts>
using step_chooser_compute_tags = tmpl::remove_duplicates< tmpl::join< tmpl::transform< detail::all_step_choosers< Metavariables, UsingLts >, detail::get_compute_tags_or_default< tmpl::_1, tmpl::pin< tmpl::list<> > > > > >
 
template<typename Metavariables , bool UsingLts>
using step_chooser_simple_tags = tmpl::remove_duplicates< tmpl::join< tmpl::transform< detail::all_step_choosers< Metavariables, UsingLts >, detail::get_simple_tags_or_default< tmpl::_1, tmpl::pin< tmpl::list<> > > > > >
 

Detailed Description

Holds all the StepChoosers.