|
TECA
The Toolkit for Extreme Climate Analysis
|
Go to the documentation of this file. 1 #ifndef teca_saffir_simpson
2 #define teca_saffir_simpson
6 #include "teca_config.h"
24 119.0, 154.0, 178.0, 209.0, 252.0};
28 119.0, 154.0, 178.0, 209.0, 252.0,
29 std::numeric_limits<double>::max()};
32 template<
typename n_t>
39 template<
typename n_t>
51 template<
typename n_t>
75 template<
typename n_t>
78 return get_lower_bound_kmph<n_t>(c)/n_t(3.6);
82 template<
typename n_t>
85 return get_upper_bound_kmph<n_t>(c)/n_t(3.6);
94 template<
typename n_t>
constexpr n_t get_lower_bound_mps(int c)
get the low bound for the given class of storm
Definition: teca_saffir_simpson.h:76
constexpr n_t get_upper_bound_kmph(int c)
get the higher bound for the given class of storm
Definition: teca_saffir_simpson.h:40
Codes dealing with the Saffir-Simpson scale.
Definition: teca_saffir_simpson.h:11
constexpr double low_wind_bound_kmph[]
Definition: teca_saffir_simpson.h:23
constexpr double high_wind_bound_kmph[]
get the high bound for the given class of storm
Definition: teca_saffir_simpson.h:27
constexpr n_t get_upper_bound_mps(int c)
get the high bound for the given class of storm
Definition: teca_saffir_simpson.h:83
int classify_mps(n_t w)
Definition: teca_saffir_simpson.h:95
int classify_kmph(n_t w)
Definition: teca_saffir_simpson.h:52
constexpr n_t get_lower_bound_kmph(int c)
get the lower bound for the given class of storm
Definition: teca_saffir_simpson.h:33