|
🛰️航天仿真算法库 SpaceAST 0.3.1
|
#include <HPOP.hpp>
类 ast::HPOP 继承关系图:Public 成员函数 | |
| errc_t | setForceModel (HPOPForceModel &&forcemodel) |
| errc_t | setForceModel (const HPOPForceModel &forcemodel) |
| const HPOPForceModel & | forceModel () const |
| void | setSpacecraftParam (const SpacecraftParam &spacecraftParam) |
| const SpacecraftParam & | spacecraftParam () const |
| Frame * | propagationFrame () const |
| errc_t | setPropagationFrame (Frame *frame) |
| void | setIntegrator (ODEIntegrator *integrator) |
| ODEIntegrator * | getIntegrator () const |
| errc_t | propagate (const TimePoint &startTime, TimePoint &targetTime, Vector3d &position, Vector3d &velocity) |
| errc_t | propagate (const TimePoint &startTime, TimePoint &targetTime, CartState &state) |
| errc_t | propagate (const TimePoint &startTime, TimePoint &targetTime, CartState &state, Matrix6d &stm) |
| errc_t | propagate (const TimePoint &startTime, TimePoint &targetTime, CartState &state, Matrix6d &stm, Vector6d &stateSensWrtDrag, Vector6d &stateSensWrtSRP) |
| errc_t | initialize () |
| StateMapper * | stateMapper () const |
| void | addEventDetector (EventDetector *eventDetector) |
| template<typename Func > | |
| std::enable_if<!std::is_base_of< EventDetector, typenamestd::remove_pointer< Func >::type >::value, EventDetector * >::type | addEventDetector (Func func) |
| void | clearEventDetectors () |
| HPOPEquation * | equation () const |
Public 成员函数 继承自 ast::ObjectNamed | |
| ObjectNamed ()=default | |
| ObjectNamed (StringView name) | |
| const std::string & | getName () const override |
| void | setName (StringView name) override |
Public 成员函数 继承自 ast::Object | |
| Object (Object *parentScope) | |
| Object (std::nullptr_t) | |
| virtual Class * | getType () const |
| virtual std::string | getRepresentation () const |
| const std::string & | name () const |
| std::string | displayName () 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 |
| template<typename T > | |
| T | getParent () const |
| bool | isOfType (const Class *type) const |
| bool | isOfType (StringView typeName) const |
| template<typename T > | |
| bool | isOfType () const |
| template<typename Func > | |
| void | addDelayedLink (Func &&link) |
| template<typename Func > | |
| void | addDelayedLinkIfFailed (Func &&link) |
| void | resolveLinks () |
| bool | readOnly () const |
| void | setReadOnly (bool readOnly) |
| bool | active () const |
| void | setActive (bool active) |
| bool | isComponent () const |
| void | setIsComponent (bool isComponent) |
| bool | isEntity () const |
| void | setIsEntity (bool isEntity) |
| const char * | tr (const char *msg) const |
| Referenced () | |
| Referenced (initial_strong_ref_t) | |
Public 成员函数 继承自 ast::Referenced | |
| Referenced (initial_strong_ref_t) | |
| 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 () |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 ast::Object | |
| static Object * | Resolve (StringView value) |
| static void | ClassInit (Class *cls) |
| static Class * | StaticType () |
静态 Public 属性 继承自 ast::Object | |
| static Class | staticType |
Protected 成员函数 继承自 ast::Object | |
| Object (const Object &) | |
| Object & | operator= (const Object &) |
Protected 成员函数 继承自 ast::Referenced | |
| void | setDestructed () |
高精度轨道预报器
HPOP 类实现了基于高精度动力学模型的轨道数值积分预报功能。 它支持多种摄动力(如地球非球形引力、日月引力、太阳辐射压、大气阻力等), 并允许灵活配置力模型参数、积分器类型(如RK78、RK89等)以及积分步长。
使用建议:
线程安全性:
| void ast::HPOP::addEventDetector | ( | EventDetector * | eventDetector | ) |
添加事件检测器
| [in] | eventDetector | 事件检测器实例指针 |
|
inline |
添加事件检测器(泛型模板)
| [in] | func | 事件检测器函数指针 |
| errc_t ast::HPOP::propagate | ( | const TimePoint & | startTime, |
| TimePoint & | targetTime, | ||
| CartState & | state, | ||
| Matrix6d & | stm ) |
带状态转换矩阵的轨道预报,直到达到结束时间或者触发由addEventDetector添加的事件
考虑到有事件触发的预报停止条件,所以预报结束时间同时也是一个输出参数
| [in] | startTime | 预报起始时间 |
| [in,out] | targetTime | 预报结束时间 |
| [in,out] | state | 状态向量 |
| [in,out] | stm | 状态转换矩阵 |
| errc_t ast::HPOP::propagate | ( | const TimePoint & | startTime, |
| TimePoint & | targetTime, | ||
| CartState & | state, | ||
| Matrix6d & | stm, | ||
| Vector6d & | stateSensWrtDrag, | ||
| Vector6d & | stateSensWrtSRP ) |
带状态转换矩阵和参数敏感度的轨道预报,直到达到结束时间或者触发由addEventDetector添加的事件
考虑到有事件触发的预报停止条件,所以预报结束时间同时也是一个输出参数 同时预报 6×6 STM 和两个 6×1 参数敏感度向量:
| [in] | startTime | 预报起始时间 |
| [in,out] | targetTime | 预报结束时间 |
| [in,out] | state | 位置速度状态 |
| [in,out] | stm | 状态转换矩阵 Φ (6×6) |
| [in,out] | stateSensWrtDrag | 敏感度向量 ∂[r,v]/∂B (6×1) |
| [in,out] | stateSensWrtSRP | 敏感度向量 ∂[r,v]/∂K (6×1) |
| errc_t ast::HPOP::propagate | ( | const TimePoint & | startTime, |
| TimePoint & | targetTime, | ||
| Vector3d & | position, | ||
| Vector3d & | velocity ) |
轨道预报,直到达到结束时间或者触发由addEventDetector添加的事件
考虑到有事件触发的预报停止条件,所以预报结束时间同时也是一个输出参数
| [in] | startTime | 预报起始时间 |
| [in,out] | targetTime | 预报结束时间 |
| [in,out] | position | 位置向量 |
| [in,out] | velocity | 速度向量 |