|
🛰️航天仿真算法库 SpaceAST 0.0.1
|
#include <ODEEventDetector.hpp>
类 ast::ODEEventDetector 继承关系图:Public 类型 | |
| enum | EDirection { eDecrease = -1 , eBoth = 0 , eIncrease = 1 } |
Public 成员函数 | |
| virtual double | getDifference (const double *y, double x) const |
| virtual double | getValue (const double *y, double x) const =0 |
| int | getRepeatCount () const |
| void | setRepeatCount (int repeatCount) |
| EDirection | getDirection () const |
| void | setDirection (EDirection direction) |
| double | getThreshold () const |
| void | setThreshold (double threshold) |
| double | getGoal () const |
| void | setGoal (double goal) |
ODE积分的事件检测器
该类用于检测ODE积分过程中的事件,例如根查找、事件触发等。 参考matlab的ODE45等积分器的Events选项,以及hipparchus的ODEEventDetector类。
|
inlinevirtual |
用于事件检测的开关函数与目标值的差值
| x | 当前积分变量 |
| y | 当前状态向量 |
|
inline |
事件检测开关函数的方向
|
inline |
事件检测的目标值
|
inline |
事件触发后的重复次数
|
inline |
事件检测开关函数的阈值
|
pure virtual |