🛰️航天仿真算法库 SpaceAST
0.0.1
载入中...
搜索中...
未找到
BlockThirdBody.hpp
浏览该文件的文档.
1
20
21
#pragma once
22
23
#include "AstGlobal.h"
24
#include "AstCore/BlockAstro.hpp"
25
#include "AstCore/BlockDerivative.hpp"
26
#include "AstMath/Vector.hpp"
27
28
AST_NAMESPACE_BEGIN
29
32
class
AST_CORE_API
BlockThirdBody
:
public
BlockDerivative
33
{
34
public
:
35
BlockThirdBody
();
36
BlockThirdBody
(
double
thirdBodyGM);
37
38
errc_t
run
(
const
SimTime
& simTime)
override
;
39
protected
:
40
Vector3d* posCBI{};
41
Vector3d* accThirdBody{&vectorBuffer};
42
Vector3d* velocityDerivative_{&vectorBuffer};
43
Vector3d vectorBuffer{};
44
PROPERTIES:
45
double
thirdBodyGM_;
46
};
47
48
AST_NAMESPACE_END
ast::BlockDerivative
导数函数块
定义
BlockDerivative.hpp:34
ast::BlockThirdBody
三体引力函数块
定义
BlockThirdBody.hpp:33
ast::FuncBlock::run
virtual errc_t run(const SimTime &simTime)=0
计算函数块
ast::SimTime
仿真时间
定义
SimTime.hpp:30
src
AstCore
Propagator
HPOP
BlockAstro
BlockThirdBody.hpp
制作者
1.12.0