SpECTRE  2021.08.02
StepControllers::SplitRemaining Class Reference

A StepController that chooses steps to be 1/n of the remainder of the slab. More...

#include <SplitRemaining.hpp>

Public Types

using options = tmpl::list<>
 

Public Member Functions

TimeDelta choose_step (const Time &time, const double desired_step) const noexcept override
 

Static Public Attributes

static constexpr Options::String help
 

Detailed Description

A StepController that chooses steps to be 1/n of the remainder of the slab.

Member Function Documentation

◆ choose_step()

TimeDelta StepControllers::SplitRemaining::choose_step ( const Time time,
const double  desired_step 
) const
inlineoverridevirtualnoexcept

Implements StepController.

Member Data Documentation

◆ help

constexpr Options::String StepControllers::SplitRemaining::help
staticconstexpr
Initial value:
= {
"Chooses steps by dividing the remainder of the slab evenly.\n"
"WARNING: With many steps per slab this often leads to overflow in the\n"
" time representations."}