MBSim |
Project Page |
ODE-Integrator LSODE Integrator with root finding for ODEs. More...
#include <lsode_integrator.h>
Public Member Functions | |
| void | setMaximalStepSize (double dtMax_) |
| void | setMinimalStepSize (double dtMin_) |
| void | setRelativeTolerance (double rTol_) |
| void | setAbsoluteTolerance (const fmatvec::Vec &aTol_) |
| void | setAbsoluteTolerance (double aTol_) |
| void | setInitialStepSize (double dt0_) |
| void | setmaxSteps (int maxSteps_) |
| void | setStiff (bool flag) |
| void | integrate (DynamicSystemSolver &system) |
| start the integration | |
| virtual void | initializeUsingXML (xercesc::DOMElement *element) |
| initialize integrator | |
| virtual xercesc::DOMElement * | writeXMLFile (xercesc::DOMNode *element) |
| virtual std::string | getType () const |
Static Private Member Functions | |
| static void | fzdot (int *zSize, double *t, double *z_, double *zd_) |
| static void | fsv (int *zSize, double *t, double *z_, int *nsv, double *sv_) |
Private Attributes | |
| double | dtMax |
| maximal step size | |
| double | dtMin |
| minimal step size | |
| fmatvec::Vec | aTol |
| Absolute Toleranz. | |
| double | rTol |
| Relative Toleranz. | |
| double | dt0 |
| step size for the first step | |
| int | maxSteps |
| maximum number of steps allowed during one call to the solver. | |
| bool | stiff |
| use stiff (BDF) method | |
ODE-Integrator LSODE Integrator with root finding for ODEs.
This integrator uses LSODE from http://www.netlib.org .
| virtual std::string MBSim::LSODEIntegrator::getType | ( | ) | const [inline, virtual] |
Reimplemented from MBSim::Integrator.
| virtual void MBSim::LSODEIntegrator::initializeUsingXML | ( | xercesc::DOMElement * | element | ) | [virtual] |
| void MBSim::LSODEIntegrator::integrate | ( | DynamicSystemSolver & | system | ) | [virtual] |
start the integration
| dynamic | system to be integrated Each class implemeting this function should call debugInit first. |
Implements MBSim::Integrator.
int MBSim::LSODEIntegrator::maxSteps [private] |
maximum number of steps allowed during one call to the solver.
(default 10000)
1.8.0