#include <NumericalMethods.h>
Public Member Functions | |
OLDRungeKuttaMerson (const MultibodySystem &mb, State &s, bool noProject=false) | |
OLDRungeKuttaMerson * | clone () const |
Real | getConstraintTolerance () const |
Real | getPredictedNextStep () const |
bool | initialize () |
bool | step (const Real &tOut) |
OLDRungeKuttaMerson | ( | const MultibodySystem & | mb, | |
State & | s, | |||
bool | noProject = false | |||
) | [inline] |
References State::getSystemStage(), SimTK_STAGECHECK_GE_ALWAYS, MechanicalDAEIntegrator::state, and Stage::Topology.
Referenced by OLDRungeKuttaMerson::clone().
OLDRungeKuttaMerson* clone | ( | ) | const [inline, virtual] |
Real getConstraintTolerance | ( | ) | const [inline, virtual] |
Implements MechanicalDAEIntegrator.
Real getPredictedNextStep | ( | ) | const [inline] |
bool initialize | ( | ) | [inline, virtual] |
Implements MechanicalDAEIntegrator.
References State::getSystemStage(), Stage::Model, SimTK_STAGECHECK_GE_ALWAYS, MechanicalDAEIntegrator::state, and Stage::Topology.
bool step | ( | const Real & | tOut | ) | [inline, virtual] |
Implements MechanicalDAEIntegrator.
References Stage::Acceleration, State::getSystemStage(), State::getTime(), State::getY(), State::getYDot(), Stage::Instance, SimTK::max(), MechanicalDAEIntegrator::mbs, SimTK::min(), SimTK_STAGECHECK_GE_ALWAYS, MechanicalDAEIntegrator::state, MechanicalDAEIntegrator::statsErrorTestFailures, MechanicalDAEIntegrator::statsProjectionFailures, MechanicalDAEIntegrator::statsRealizationFailures, MechanicalDAEIntegrator::statsStepsAttempted, MechanicalDAEIntegrator::statsStepSizeChanges, MechanicalDAEIntegrator::statsStepsTaken, State::updTime(), and State::updY().