🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
ast::ODEEventDetector类 参考abstract

#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类。

成员枚举类型说明

◆ EDirection

事件检测开关函数的条件

枚举值
eDecrease 

事件检测开关函数值减小时触发事件

eBoth 

事件检测开关函数值增大或减小时触发事件

eIncrease 

事件检测开关函数值增大时触发事件

成员函数说明

◆ getDifference()

virtual double ast::ODEEventDetector::getDifference ( const double * y,
double x ) const
inlinevirtual

用于事件检测的开关函数与目标值的差值

参数
x当前积分变量
y当前状态向量
返回
用于事件检测的开关函数值与目标值的差值

◆ getDirection()

EDirection ast::ODEEventDetector::getDirection ( ) const
inline

事件检测开关函数的方向

返回
事件检测开关函数的方向

◆ getGoal()

double ast::ODEEventDetector::getGoal ( ) const
inline

事件检测的目标值

返回
事件检测的目标值

◆ getRepeatCount()

int ast::ODEEventDetector::getRepeatCount ( ) const
inline

事件触发后的重复次数

返回
事件触发后的重复次数

◆ getThreshold()

double ast::ODEEventDetector::getThreshold ( ) const
inline

事件检测开关函数的阈值

返回
事件检测开关函数的阈值

◆ getValue()

virtual double ast::ODEEventDetector::getValue ( const double * y,
double x ) const
pure virtual

用于事件检测的开关函数值

参数
y当前状态向量
x当前积分变量
返回
用于事件检测的开关函数值

ast::ODEEventDetectorGeneric< Func > 内被实现.


该类的文档由以下文件生成: