|
WarpX
|
Variables | |
| template<typename T> | |
| constexpr auto | pi_v = static_cast<T>(3.14159265358979323846) |
| ratio of a circle's circumference to its diameter (variable template) | |
| template<typename T> | |
| constexpr auto | tau_v = static_cast<T>(2.0 * pi_v<double>) |
| https://tauday.com/tau-manifesto (variable template) | |
| constexpr auto | pi = pi_v<amrex::Real> |
| ratio of a circle's circumference to its diameter | |
| constexpr auto | tau = tau_v<amrex::Real> |
| https://tauday.com/tau-manifesto | |
| template<typename T> | |
| constexpr auto | degree2rad_v = pi_v<T> / static_cast<T>(180) |
| convert degree to radian (variable template) | |
| constexpr auto | degree2rad = degree2rad_v<amrex::Real> |
| convert degree to radian | |
Mathematical constants
|
constexpr |
convert degree to radian
|
constexpr |
convert degree to radian (variable template)
|
constexpr |
ratio of a circle's circumference to its diameter
|
constexpr |
ratio of a circle's circumference to its diameter (variable template)
|
constexpr |
|
constexpr |
https://tauday.com/tau-manifesto (variable template)