ARTS
2.3.1285(git:92a29ea9-dirty)
|
Namespace containing several practical unit conversions, physical and mathematical. More...
Functions | |
template<class T > | |
constexpr Numeric | deg2rad (T x) |
Converts degrees to radians. More... | |
template<class T > | |
constexpr Numeric | rad2deg (T x) |
Converts radians to degrees. More... | |
template<class T > | |
Numeric | cosd (T x) |
Returns the cosine of the deg2rad of the input. More... | |
template<class T > | |
Numeric | sind (T x) |
Returns the sine of the deg2rad of the input. More... | |
template<class T > | |
Numeric | tand (T x) |
Returns the tangent of the deg2rad of the input. More... | |
template<class T > | |
Numeric | acosd (T x) |
Returns rad2deg of the arc-cosine of the input. More... | |
template<class T > | |
Numeric | asind (T x) |
Returns rad2deg of the arc-sine of the input. More... | |
template<class T > | |
Numeric | atand (T x) |
Returns rad2deg of the arc-tangent of the input. More... | |
template<class T1 , class T2 > | |
Numeric | atan2d (T1 y, T2 x) |
Returns rad2deg of the arc-tangent of inputs #T1/#T2. More... | |
template<class T > | |
constexpr Numeric | kaycm2freq (T x) |
template<class T > | |
constexpr Numeric | freq2kaycm (T x) |
template<class T > | |
constexpr Numeric | angcm2freq (T x) |
template<class T > | |
constexpr Numeric | freq2angcm (T x) |
template<class T > | |
constexpr Numeric | angfreq2freq (T x) |
Conversion constant Angular frequency to frequency and back. More... | |
template<class T > | |
constexpr Numeric | freq2angfreq (T x) |
template<class T > | |
constexpr Numeric | wavelen2freq (T x) |
Conversion wavelength to frequency and back. More... | |
template<class T > | |
constexpr Numeric | freq2wavelen (T x) |
template<class T > | |
constexpr Numeric | atm2pa (T x) |
template<class T > | |
constexpr Numeric | pa2atm (T x) |
template<class T > | |
constexpr Numeric | torr2pa (T x) |
template<class T > | |
constexpr Numeric | pa2torr (T x) |
template<class T > | |
constexpr Numeric | celsius2kelvin (T x) |
template<class T > | |
constexpr Numeric | kelvin2celsius (T x) |
template<class T > | |
constexpr T | hitran2arts_linestrength (T x) |
template<class T > | |
constexpr T | arts2hitran_linestrength (T x) |
template<class T > | |
constexpr T | hitran2arts_broadening (T x) |
template<class T > | |
constexpr T | arts2hitran_broadening (T x) |
template<class T > | |
constexpr T | hitran2arts_energy (T x) |
template<class T > | |
constexpr T | arts2hitran_energy (T x) |
template<class T > | |
constexpr T | angstrom2meter (T x) |
template<class T > | |
constexpr T | meter2angstrom (T x) |
Namespace containing several practical unit conversions, physical and mathematical.
Numeric Conversion::acosd | ( | T | x | ) |
Returns rad2deg of the arc-cosine of the input.
Definition at line 357 of file constants.h.
References rad2deg().
constexpr Numeric Conversion::angcm2freq | ( | T | x | ) |
Definition at line 395 of file constants.h.
constexpr Numeric Conversion::angfreq2freq | ( | T | x | ) |
Conversion constant Angular frequency to frequency and back.
Definition at line 405 of file constants.h.
constexpr T Conversion::angstrom2meter | ( | T | x | ) |
Definition at line 495 of file constants.h.
Referenced by o2_ecs_adiabatic_factor_makarov().
constexpr T Conversion::arts2hitran_broadening | ( | T | x | ) |
Definition at line 478 of file constants.h.
constexpr T Conversion::arts2hitran_energy | ( | T | x | ) |
Definition at line 490 of file constants.h.
constexpr T Conversion::arts2hitran_linestrength | ( | T | x | ) |
Definition at line 466 of file constants.h.
Numeric Conversion::asind | ( | T | x | ) |
Returns rad2deg of the arc-sine of the input.
Definition at line 363 of file constants.h.
References rad2deg().
Numeric Conversion::atan2d | ( | T1 | y, |
T2 | x | ||
) |
Returns rad2deg of the arc-tangent of inputs #T1/#T2.
Definition at line 375 of file constants.h.
References rad2deg().
Numeric Conversion::atand | ( | T | x | ) |
Returns rad2deg of the arc-tangent of the input.
Definition at line 369 of file constants.h.
References rad2deg().
constexpr Numeric Conversion::atm2pa | ( | T | x | ) |
constexpr Numeric Conversion::celsius2kelvin | ( | T | x | ) |
Definition at line 450 of file constants.h.
Numeric Conversion::cosd | ( | T | x | ) |
Returns the cosine of the deg2rad of the input.
Definition at line 339 of file constants.h.
References deg2rad().
constexpr Numeric Conversion::deg2rad | ( | T | x | ) |
Converts degrees to radians.
Definition at line 327 of file constants.h.
Referenced by cosd(), sind(), tand(), and zeeman_on_the_fly().
constexpr Numeric Conversion::freq2angcm | ( | T | x | ) |
Definition at line 399 of file constants.h.
constexpr Numeric Conversion::freq2angfreq | ( | T | x | ) |
Definition at line 409 of file constants.h.
constexpr Numeric Conversion::freq2kaycm | ( | T | x | ) |
Definition at line 387 of file constants.h.
Referenced by Linefunctions::set_htp(), LineShape::shapetype2metadatastring(), and LineShape::si2cgs().
constexpr Numeric Conversion::freq2wavelen | ( | T | x | ) |
Definition at line 419 of file constants.h.
References ATM2PA.
constexpr T Conversion::hitran2arts_broadening | ( | T | x | ) |
Definition at line 474 of file constants.h.
constexpr T Conversion::hitran2arts_energy | ( | T | x | ) |
Definition at line 486 of file constants.h.
constexpr T Conversion::hitran2arts_linestrength | ( | T | x | ) |
Definition at line 462 of file constants.h.
Referenced by pCqSDHC_to_arts(), pCqSDHC_to_arts_D2_deriv(), pCqSDHC_to_arts_freq_deriv(), pCqSDHC_to_arts_G2_deriv(), and test_hitran2017().
constexpr Numeric Conversion::kaycm2freq | ( | T | x | ) |
Definition at line 383 of file constants.h.
Referenced by test_hitran2017().
constexpr Numeric Conversion::kelvin2celsius | ( | T | x | ) |
Definition at line 454 of file constants.h.
constexpr T Conversion::meter2angstrom | ( | T | x | ) |
Definition at line 499 of file constants.h.
constexpr Numeric Conversion::pa2atm | ( | T | x | ) |
Definition at line 431 of file constants.h.
constexpr Numeric Conversion::pa2torr | ( | T | x | ) |
Definition at line 443 of file constants.h.
constexpr Numeric Conversion::rad2deg | ( | T | x | ) |
Numeric Conversion::sind | ( | T | x | ) |
Returns the sine of the deg2rad of the input.
Definition at line 345 of file constants.h.
References deg2rad().
Numeric Conversion::tand | ( | T | x | ) |
Returns the tangent of the deg2rad of the input.
Definition at line 351 of file constants.h.
References deg2rad().
constexpr Numeric Conversion::torr2pa | ( | T | x | ) |
Definition at line 439 of file constants.h.
constexpr Numeric Conversion::wavelen2freq | ( | T | x | ) |
Conversion wavelength to frequency and back.
Definition at line 415 of file constants.h.