🛰️航天仿真算法库 SpaceAST
0.0.1
载入中...
搜索中...
未找到
HarrisPriester.hpp
浏览该文件的文档.
1
20
21
#pragma once
22
23
#include "AstGlobal.h"
24
#include "
AtmosphereBase.hpp
"
25
#include "AstCore/SunPosition.hpp"
26
27
AST_NAMESPACE_BEGIN
28
34
class
AST_CORE_API
HarrisPriester
:
public
AtmosphereBase
35
{
36
public
:
37
HarrisPriester
(
Frame
* frame,
BodyShape
* bodyShape,
CelestialBody
* sun,
double
f107);
38
39
double
getDensity
(
const
TimePoint
& tp,
const
Vector3d& posInBodyFixed)
const override
;
40
41
void
setSunPosition(
ESunPosition
sunPosition){sunPosition_ = sunPosition;}
42
ESunPosition
getSunPosition()
const
{
return
sunPosition_;}
43
private
:
44
CelestialBody
* sun_{
nullptr
};
45
double
f107_{0};
46
ESunPosition
sunPosition_{ESunPosition::eTrue};
47
int
n_{6};
48
};
49
52
AST_NAMESPACE_END
AtmosphereBase.hpp
ast::AtmosphereBase
定义
AtmosphereBase.hpp:34
ast::AtmosphereBase::getDensity
double getDensity(const TimePoint &tp, const Vector3d &posInBodyFixed) const override=0
获取大气密度
ast::BodyShape
天体形状基类
定义
BodyShape.hpp:33
ast::CelestialBody
天体
定义
CelestialBody.hpp:72
ast::Frame
坐标系类
定义
Frame.hpp:60
ast::HarrisPriester
定义
HarrisPriester.hpp:35
ast::TimePoint
绝对时间点
定义
TimePoint.hpp:107
ast::ESunPosition
ESunPosition
太阳位置
定义
SunPosition.hpp:35
src
AstCore
Atmosphere
HarrisPriester.hpp
制作者
1.12.0