🛰️航天仿真算法库 SpaceAST
0.0.1
载入中...
搜索中...
未找到
PointMassForce.hpp
1
20
21
#pragma once
22
23
#include "AstGlobal.h"
24
#include "
BodyAttraction.hpp
"
25
26
AST_NAMESPACE_BEGIN
27
34
class
AST_CORE_API
PointMassForce
:
public
BodyAttraction
35
{
36
public
:
37
AST_OBJECT(
PointMassForce
)
38
39
EBodyAttractionType
getBodyAttractionType()
const override
{
return
EBodyAttractionType::ePointMass
;}
40
BodyAttraction
*
clone
()
const override
{
return
new
PointMassForce
(*
this
);}
41
43
double
getGM(
CelestialBody
* body)
const
;
44
public
:
45
EGMSource
gmSource_{EGMSource::eBodyGravity};
46
double
specifiedGM_{0.0};
47
};
48
49
52
AST_NAMESPACE_END
BodyAttraction.hpp
ast::BodyAttraction
天体引力模型
定义
BodyAttraction.hpp:48
ast::CelestialBody
天体
定义
CelestialBody.hpp:72
ast::PointMassForce
点质量引力模型/
定义
PointMassForce.hpp:35
ast::PointMassForce::clone
BodyAttraction * clone() const override
克隆引力模型
定义
PointMassForce.hpp:40
ast::EGMSource
EGMSource
引力常数来源
定义
ForceModel.hpp:39
ast::EBodyAttractionType
EBodyAttractionType
天体引力模型类型
定义
BodyAttraction.hpp:39
ast::EBodyAttractionType::ePointMass
@ ePointMass
中心天体点质量引力模型
src
AstCore
ForceModel
PointMassForce.hpp
制作者
1.12.0