🛰️航天仿真算法库 SpaceAST 0.0.1
载入中...
搜索中...
未找到
SpaceWeatherProvider.hpp
浏览该文件的文档.
1
21
22#pragma once
23
24#include "AstGlobal.h"
25
26AST_NAMESPACE_BEGIN
27
42class AST_CORE_API SpaceWeatherProvider
43{
44public:
45 virtual ~SpaceWeatherProvider() = default;
46
50 virtual double getApDaily(const TimePoint& tp) const = 0;
51
55 virtual double getKpDaily(const TimePoint& tp) const = 0;
56
60 virtual double getF10p7Daily(const TimePoint& tp) const = 0;
61
65 virtual double getF10p7Average(const TimePoint& tp) const = 0;
66
73 virtual int getAp3HourlyList(const TimePoint& tp, double* apList, int maxLookback) const
74 { return 0; }
75};
76
79AST_NAMESPACE_END
空间天气数据提供者抽象接口
定义 SpaceWeatherProvider.hpp:43
virtual double getKpDaily(const TimePoint &tp) const =0
获取指定时间的Kp日平均值
virtual double getApDaily(const TimePoint &tp) const =0
获取指定时间的Ap日平均值
virtual double getF10p7Average(const TimePoint &tp) const =0
获取指定时间的F10.7平均观测值
virtual int getAp3HourlyList(const TimePoint &tp, double *apList, int maxLookback) const
获取从指定时间向前回溯的连续3小时间隔Ap值列表
定义 SpaceWeatherProvider.hpp:73
virtual double getF10p7Daily(const TimePoint &tp) const =0
获取指定时间的F10.7单日观测值
绝对时间点
定义 TimePoint.hpp:107