🛰️航天仿真算法库 SpaceAST
0.0.1
载入中...
搜索中...
未找到
BlockMotion.hpp
浏览该文件的文档.
1
20
21
#pragma once
22
23
#include "AstGlobal.h"
24
#include "AstCore/BlockDerivative.hpp"
25
#include "AstMath/Vector.hpp"
26
27
AST_NAMESPACE_BEGIN
28
43
class
AST_CORE_API
BlockMotion
:
public
BlockDerivative
44
{
45
public
:
46
BlockMotion
();
47
48
errc_t
run
(
const
SimTime
& simTime)
final
;
49
50
protected
:
51
Vector3d* velocity_{&vectorBuffer};
52
Vector3d* positionDerivative_{&vectorBuffer};
53
Vector3d vectorBuffer{};
54
};
55
56
AST_NAMESPACE_END
ast::BlockDerivative
导数函数块
定义
BlockDerivative.hpp:46
ast::BlockMotion
运动学函数块
定义
BlockMotion.hpp:44
ast::FuncBlock::run
virtual errc_t run(const SimTime &simTime)=0
计算函数块
ast::SimTime
仿真时间
定义
SimTime.hpp:30
src
AstCore
Propagator
HPOP
BlockAstro
BlockMotion.hpp
制作者
1.12.0