🛰️航天仿真算法库 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
BlockMotion
(
const
BlockMotion
&) =
delete
;
49
BlockMotion
& operator=(
const
BlockMotion
&) =
delete
;
50
51
errc_t
run
(
const
SimTime
& simTime)
override
;
52
53
protected
:
54
Vector3d* velocity_{&vectorBuffer};
55
Vector3d* positionDerivative_{&vectorBuffer};
56
Vector3d vectorBuffer{};
57
};
58
59
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