#include <capd/dynsys/StepControl.h>
◆ Real
◆ IEncFoundStepControl()
capd::dynsys::IEncFoundStepControl::IEncFoundStepControl |
( |
Real |
minStep = 1. / 1048576. , |
|
|
Real |
stepFactor = 0.25 |
|
) |
| |
|
inlineexplicit |
Constructor.
- Parameters
-
minStep | minimal allowed step size |
stepFactor | fraction of maximal possible time step to be taken as optimal time step (optimal = stepFactor * maximal) |
◆ 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 |
◆ m_minTimeStep
Real capd::dynsys::IEncFoundStepControl::m_minTimeStep |
◆ m_stepFactor
Real capd::dynsys::IEncFoundStepControl::m_stepFactor |