SpECTRE  2021.08.02
StepChoosers::Increase< StepChooserUse > Class Template Reference

Suggests increasing the step size by a constant ratio. More...

#include <Increase.hpp>

Classes

struct  Factor
 

Public Types

using options = tmpl::list< Factor >
 
using argument_tags = tmpl::list<>
 
using return_tags = tmpl::list<>
 

Public Member Functions

 Increase (const double factor) noexcept
 
template<typename Metavariables >
std::pair< double, bool > operator() (const double last_step_magnitude, const Parallel::GlobalCache< Metavariables > &) const noexcept
 
void pup (PUP::er &p) noexcept override
 

Static Public Attributes

static constexpr Options::String help {"Suggests a constant factor increase."}
 

Detailed Description

template<typename StepChooserUse>
class StepChoosers::Increase< StepChooserUse >

Suggests increasing the step size by a constant ratio.