CAPD::DynSys Library  6.0.0
capd::dynsys::IEncFoundStepControl Class Reference

#include <capd/dynsys/StepControl.h>

Public Types

typedef double Real
 

Public Member Functions

 IEncFoundStepControl (Real minStep=1./1048576., Real stepFactor=0.25)
 Constructor. More...
 
template<class Solver , class SetType >
Solver::ScalarType computeNextTimeStep (Solver &solver, typename Solver::ScalarType const &t, const SetType &_x) const
 
template<class Solver , class SetType >
void init (Solver &solver, typename Solver::ScalarType const &, const SetType &s) const
 
Real getMinStepAllowed () const
 

Public Attributes

Real m_minTimeStep
 
Real m_stepFactor
 

Member Typedef Documentation

◆ Real

Constructor & Destructor Documentation

◆ IEncFoundStepControl()

capd::dynsys::IEncFoundStepControl::IEncFoundStepControl ( Real  minStep = 1. / 1048576.,
Real  stepFactor = 0.25 
)
inlineexplicit

Constructor.

Parameters
minStepminimal allowed step size
stepFactorfraction of maximal possible time step to be taken as optimal time step (optimal = stepFactor * maximal)

Member Function Documentation

◆ computeNextTimeStep()

template<class Solver , class SetType >
Solver::ScalarType capd::dynsys::IEncFoundStepControl::computeNextTimeStep ( Solver &  solver,
typename Solver::ScalarType const &  t,
const SetType &  _x 
) const
inline

◆ getMinStepAllowed()

Real capd::dynsys::IEncFoundStepControl::getMinStepAllowed ( ) const
inline

◆ init()

template<class Solver , class SetType >
void capd::dynsys::IEncFoundStepControl::init ( Solver &  solver,
typename Solver::ScalarType const &  ,
const SetType &  s 
) const
inline

Member Data Documentation

◆ m_minTimeStep

Real capd::dynsys::IEncFoundStepControl::m_minTimeStep

◆ m_stepFactor

Real capd::dynsys::IEncFoundStepControl::m_stepFactor

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