|
| errc_t | initialize (ODE &ode) override |
| |
| errc_t | integrate (ODE &ode, double *y, double &t, double tf, std::vector< double > &xlist, std::vector< std::vector< double > > &ylist) |
| |
| template<typename Func > |
| errc_t | integrate (int ndim, Func func, double *y, double &t, double tf) |
| |
| void | addEventDetector (ODEEventDetector *detector) |
| |
| template<typename Func > |
| std::enable_if<!std::is_base_of< ODEEventDetector, typenamestd::remove_pointer< Func >::type >::value, ODEEventDetector * >::type | addEventDetector (Func func) |
| |
| void | removeEventDetector (ODEEventDetector *detector) |
| |
| void | clearEventDetectors () |
| |
| void | addStateObserver (ODEStateObserver *observer) |
| |
| template<typename Func > |
| std::enable_if<!std::is_base_of< ODEStateObserver, typenamestd::remove_pointer< Func >::type >::value, ODEStateObserver * >::type | addStateObserver (Func func) |
| |
| void | removeStateObserver (ODEStateObserver *observer) |
| |
| ODE * | getODE () |
| |
| double * | stateAtStepStart () |
| |
| double * | stateAtStepEnd () |
| |
| double & | timeAtStepStart () |
| |
| double & | timeAtStepEnd () |
| |
| double * | stateTemp () |
| |
| virtual errc_t | integrate (ODE &ode, double *y, double &t, double tf)=0 |
| |
| virtual errc_t | integrateStep (ODE &ode, double *y, double &t, double tf)=0 |
| |
| virtual errc_t | singleStep (ODE &ode, double *y, double t0, double step)=0 |
| |
|
| ObjectNamed ()=default |
| |
| | ObjectNamed (StringView name) |
| |
| const std::string & | getName () const override |
| |
| void | setName (StringView name) override |
| |
|
| Object (Object *parentScope) |
| |
|
| Object (std::nullptr_t) |
| |
| | Object (initial_strong_ref_t) |
| |
| virtual Class * | getType () const |
| |
| virtual std::string | getRepresentation () const |
| |
|
const std::string & | name () const |
| |
| errc_t | showEditDialog () |
| |
| Attribute | attr (StringView path) |
| |
| errc_t | getAttrBool (StringView path, bool &value) const |
| |
| errc_t | getAttrInt (StringView path, int &value) const |
| |
| errc_t | getAttrDouble (StringView path, double &value) const |
| |
| errc_t | getAttrString (StringView path, std::string &value) const |
| |
| errc_t | getAttrObject (StringView path, Object *&value) const |
| |
| double | getAttrDouble (StringView path) const |
| |
| int | getAttrInt (StringView path) const |
| |
| bool | getAttrBool (StringView path) const |
| |
| std::string | getAttrString (StringView path) const |
| |
| Object * | getAttrObject (StringView path) const |
| |
| errc_t | setAttrBool (StringView path, bool value) |
| |
| errc_t | setAttrInt (StringView path, int value) |
| |
| errc_t | setAttrDouble (StringView path, double value) |
| |
| errc_t | setAttrString (StringView path, StringView value) |
| |
| errc_t | setAttrObject (StringView path, Object *value) |
| |
| Class * | type () const |
| |
|
const std::string & | typeName () const |
| |
| Property * | getProperty (StringView fieldName) const |
| |
| ObjectId | getID () const |
| |
| errc_t | setParentScope (Object *parentScope) |
| |
| Object * | getParentScope () const |
| |
| bool | isOfType (const Class *type) const |
| |
| bool | isOfType (StringView typeName) const |
| |
| template<typename T > |
| bool | isOfType () const |
| |
| uint32_t | refCount () const |
| |
| uint32_t | weakRefCount () const |
| |
| bool | isDestructed () const |
| |
| void | destruct () |
| |
| uint32_t | incWeakRef () |
| |
| uint32_t | decWeakRef () |
| |
| uint32_t | incRef () |
| |
| uint32_t | decRef () |
| |
| uint32_t | decRefNoDelete () |
| |
| template<typename Func > |
| void | addDelayedLink (Func &&link) |
| |
| template<typename Func > |
| void | addDelayedLinkIfFailed (Func &&link) |
| |
| void | resolveLinks () |
| |
ODE 积分器
积分器是ODE求解的基础类,提供了积分ODE的通用接口。