#include <ConstantSpaceWeather.hpp>
|
|
| ConstantSpaceWeather ()=default |
| |
| | ConstantSpaceWeather (double f10p7Daily, double f10p7Average, double ap, double kp) |
| |
| double | getApDaily (const TimePoint &) const override |
| |
| double | getKpDaily (const TimePoint &) const override |
| |
| double | getF10p7Daily (const TimePoint &) const override |
| |
| double | getF10p7Average (const TimePoint &) const override |
| |
|
void | setAp (double ap) |
| |
|
double | getAp () const |
| |
|
void | setKp (double kp) |
| |
|
double | getKp () const |
| |
|
void | setF10p7Daily (double f10p7) |
| |
|
double | getF10p7Daily () const |
| |
|
void | setF10p7Average (double f10p7Avg) |
| |
|
double | getF10p7Average () const |
| |
| virtual int | getAp3HourlyList (const TimePoint &tp, double *apList, int maxLookback) const |
| |
|
| static constexpr double | kDefaultAp = 15.0 |
| |
|
static constexpr double | kDefaultKp = 3.0 |
| |
|
static constexpr double | kDefaultF10p7Daily = 150.0 |
| |
|
static constexpr double | kDefaultF10p7Avg = 150.0 |
| |
恒定空间天气数据提供者
SpaceWeatherProvider 的具体实现,所有查询方法返回用户预设的常数值。 默认值代表中等太阳活动水平下的典型空间天气条件。
使用示例:
恒定空间天气数据提供者
定义 ConstantSpaceWeather.hpp:50
double getApDaily(const TimePoint &) const override
获取指定时间的Ap日平均值
定义 ConstantSpaceWeather.hpp:77
◆ ConstantSpaceWeather()
| ast::ConstantSpaceWeather::ConstantSpaceWeather |
( |
double | f10p7Daily, |
|
|
double | f10p7Average, |
|
|
double | ap, |
|
|
double | kp ) |
|
inline |
构造,指定所有空间天气指数
- 参数
-
| f10p7Daily | F10.7单日观测值(10⁻²² W·m⁻²·Hz⁻¹) |
| f10p7Average | F10.7平均观测值(10⁻²² W·m⁻²·Hz⁻¹) |
| ap | Ap日平均值(0-400) |
| kp | Kp日平均值(0-9) |
◆ getApDaily()
| double ast::ConstantSpaceWeather::getApDaily |
( |
const TimePoint & | tp | ) |
const |
|
inlineoverridevirtual |
◆ getF10p7Average()
| double ast::ConstantSpaceWeather::getF10p7Average |
( |
const TimePoint & | tp | ) |
const |
|
inlineoverridevirtual |
◆ getF10p7Daily()
| double ast::ConstantSpaceWeather::getF10p7Daily |
( |
const TimePoint & | tp | ) |
const |
|
inlineoverridevirtual |
◆ getKpDaily()
| double ast::ConstantSpaceWeather::getKpDaily |
( |
const TimePoint & | tp | ) |
const |
|
inlineoverridevirtual |
◆ kDefaultAp
| double ast::ConstantSpaceWeather::kDefaultAp = 15.0 |
|
staticconstexpr |
该类的文档由以下文件生成: