CAPD DynSys Library  5.2.0
capd::dynsys::DLastTermsStepControl Class Reference

#include <capd/dynsys/StepControl.h>

Public Types

typedef double Real
 

Public Member Functions

 DLastTermsStepControl (int _terms=2, Real _minStep=1./1048576.)
 
template<class Solver , class SetType >
Solver::ScalarType computeNextTimeStep (Solver &solver, typename Solver::ScalarType const &, const SetType &s) const
 
template<class Solver , class SetType >
void init (Solver &solver, typename Solver::ScalarType const &, const SetType &) const
 
Real getMinStepAllowed () const
 

Public Attributes

int m_numberOfTerms
 
Real m_minTimeStep
 

Member Typedef Documentation

◆ Real

Constructor & Destructor Documentation

◆ DLastTermsStepControl()

capd::dynsys::DLastTermsStepControl::DLastTermsStepControl ( int  _terms = 2,
Real  _minStep = 1. / 1048576. 
)
inlineexplicit

Member Function Documentation

◆ computeNextTimeStep()

template<class Solver , class SetType >
Solver::ScalarType capd::dynsys::DLastTermsStepControl::computeNextTimeStep ( Solver solver,
typename Solver::ScalarType const &  ,
const SetType &  s 
) const
inline

◆ getMinStepAllowed()

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

◆ init()

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

Member Data Documentation

◆ m_minTimeStep

Real capd::dynsys::DLastTermsStepControl::m_minTimeStep

◆ m_numberOfTerms

int capd::dynsys::DLastTermsStepControl::m_numberOfTerms