|
mbsim
4.0.0
MBSim Kernel
|
DAE-Integrator RADAU5. More...
#include <radau5_integrator.h>
Public Types | |
| enum | Formalism { ODE =0, DAE1, DAE2, DAE3, GGL, unknown } |
Public Types inherited from fmatvec::Atom | |
| enum | MsgType |
Public Member Functions | |
| void | setAbsoluteTolerance (const fmatvec::Vec &aTol_) |
| void | setAbsoluteTolerance (double aTol_) |
| void | setRelativeTolerance (const fmatvec::Vec &rTol_) |
| void | setRelativeTolerance (double rTol_) |
| void | setInitialStepSize (double dt0_) |
| void | setMaximumStepSize (double dtMax_) |
| void | setStepLimit (int maxSteps_) |
| void | setFormalism (Formalism formalism_) |
| void | setReducedForm (bool reduced_) |
| void | integrate () override |
| start the integration of the system set by setSystem. Each class implemeting this function should call debugInit first. | |
| void | initializeUsingXML (xercesc::DOMElement *element) override |
| initialize integrator More... | |
| virtual void | integrate ()=0 |
| start the integration of the system set by setSystem. Each class implemeting this function should call debugInit first. | |
| void | integrate (MBSim::DynamicSystemSolver &sys) |
| Convinent function: call setSystem(&sys) and integrate() | |
Public Member Functions inherited from MBSim::RootFindingIntegrator | |
| void | setRootFindingAccuracy (double dtRoot_) |
| Define the root-finding accuracy. | |
| void | setPlotOnRoot (bool b) |
| Define wether to trigger a plot before and after each found root. | |
| void | setToleranceForPositionConstraints (double gMax_) |
| Set the maximum allowed position drift. | |
| void | setToleranceForVelocityConstraints (double gdMax_) |
| Set the maximum allowed velocity drift. | |
| double | getToleranceForPositionConstraints () |
| Get the maximum allowed position drift. | |
| double | getToleranceForVelocityConstraints () |
| Get the maximum allowed velocity drift. | |
Public Member Functions inherited from MBSim::Integrator | |
| Integrator () | |
| constructor | |
| ~Integrator () override=default | |
| destructor | |
| void | setStartTime (double tStart_) |
| void | setEndTime (double tEnd_) |
| void | setPlotStepSize (double dtPlot_) |
| void | setInitialState (const fmatvec::Vec &z0_) |
| double | getStartTime () const |
| double | getEndTime () const |
| double | getPlotStepSize () const |
| const fmatvec::Vec & | getInitialState () const override |
| void | execute () override |
| start solving the dynamic system set by setSystem. | |
| void | integrate (MBSim::DynamicSystemSolver &sys) |
| Convinent function: call setSystem(&sys) and integrate() | |
| void | debugInit () |
| virtual void | preIntegrate () |
| virtual void | subIntegrate (double tStop) |
| virtual void | postIntegrate () |
Public Member Functions inherited from MBSim::Solver | |
| Solver () | |
| constructor | |
| ~Solver () override=default | |
| destructor | |
| void | throwError (const std::string &msg) const |
| void | setSystem (DynamicSystemSolver *s) |
| MBSim::DynamicSystemSolver * | getSystem () |
| const MBXMLUtils::DOMEvalException & | getDOMEvalError () const |
Public Member Functions inherited from fmatvec::Atom | |
| Atom & | operator= (const Atom &) |
| void | setMessageStreamActive (MsgType type, bool activeFlag) |
| void | getMessageStream (MsgType type, std::shared_ptr< bool > &a, std::shared_ptr< std::ostream > &s) const |
| void | adoptMessageStreams (const Atom *src=nullptr) |
| std::ostream & | msg (MsgType type) const |
| bool | msgAct (MsgType type) const |
Private Types | |
| typedef void(* | Fzdot) (int *n, double *t, double *y, double *yd, double *rpar, int *ipar) |
| typedef void(* | Mass) (int *n, double *m, int *lmas, double *rpar, int *ipar) |
Private Member Functions | |
| void | calcSize () |
| void | reinit () |
Private Attributes | |
| double | tPlot {0} |
| double | dtOut {0} |
| double | s0 |
| double | time {0} |
| fmatvec::Vec | aTol |
| fmatvec::Vec | rTol |
| double | dt0 {0} |
| int | maxSteps {0} |
| double | dtMax {0} |
| Formalism | formalism {ODE} |
| bool | reduced {false} |
| int | neq |
| int | mlJac |
| int | muJac |
| fmatvec::VecInt | iWork |
| fmatvec::Vec | work |
Static Private Attributes | |
| static Fzdot | fzdot [5] |
| static Mass | mass [2] |
Additional Inherited Members | |
Static Public Member Functions inherited from fmatvec::Atom | |
| static void | setCurrentMessageStream (MsgType type, const std::shared_ptr< bool > &a=std::make_shared< bool >(true), const std::shared_ptr< std::ostream > &s=std::make_shared< std::ostream >(std::cout.rdbuf())) |
| static std::ostream & | msgStatic (MsgType type) |
| static bool | msgActStatic (MsgType type) |
Protected Member Functions inherited from MBSim::RootFindingIntegrator | |
| bool | signChangedWRTsvLast (const fmatvec::Vec &svStepEnd) const |
Protected Member Functions inherited from fmatvec::Atom | |
| Atom (const Atom &src) | |
Protected Attributes inherited from MBSim::RootFindingIntegrator | |
| double | dtRoot {1e-10} |
| bool | plotOnRoot {false} |
| double | gMax {-1} |
| double | gdMax {-1} |
| fmatvec::Vec | svLast |
| bool | shift {false} |
Protected Attributes inherited from MBSim::Integrator | |
| double | tStart {0.} |
| start, end, plot time | |
| double | tEnd {1.} |
| double | dtPlot {1e-4} |
| fmatvec::Vec | z0 |
| initial state | |
| std::string | name |
| name of integrator | |
Protected Attributes inherited from MBSim::Solver | |
| MBSim::DynamicSystemSolver * | system |
| dynamic system | |
| MBXMLUtils::DOMEvalException | domEvalError |
| Special XML helper variable. | |
DAE-Integrator RADAU5.
|
overridevirtual |
|
private |
Absolute Toleranz
|
private |
step size for the first step
|
private |
maximal step size
|
private |
formalism
|
private |
maximum number of steps
|
private |
reduced form
|
private |
Relative Toleranz