|
WarpX
|
#include <AMReX_REAL.H>Go to the source code of this file.
Namespaces | |
| namespace | ablastr |
| namespace | ablastr::constant |
| namespace | ablastr::constant::math |
| namespace | ablastr::constant::SI |
Variables | |
| template<typename T> | |
| constexpr auto | ablastr::constant::math::pi_v = static_cast<T>(3.14159265358979323846) |
| ratio of a circle's circumference to its diameter (variable template) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::math::tau_v = static_cast<T>(2.0 * pi_v<double>) |
| https://tauday.com/tau-manifesto (variable template) | |
| constexpr auto | ablastr::constant::math::pi = pi_v<amrex::Real> |
| ratio of a circle's circumference to its diameter | |
| constexpr auto | ablastr::constant::math::tau = tau_v<amrex::Real> |
| https://tauday.com/tau-manifesto | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::c_v = static_cast<T>(299'792'458) |
| vacuum speed of light [m/s] (variable template) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::epsilon_0_v = static_cast<T>(8.8541878188e-12) |
| vacuum permittivity: dielectric permittivity of vacuum [F/m] (variable template) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::mu0_v = static_cast<T>(1.2566370612685e-06) |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::q_e_v = static_cast<T>(1.602176634e-19) |
| elementary charge [C] (variable template) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::m_e_v = static_cast<T>(9.1093837139e-31) |
| electron mass [kg] (variable template) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::m_p_v = static_cast<T>(1.67262192595e-27) |
| proton mass [kg] (variable template) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::m_u_v = static_cast<T>(1.66053906892e-27) |
| dalton: unified atomic mass unit [kg] (variable template) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::hbar_v = static_cast<T>(1.0545718176461565e-34) |
| reduced Planck Constant = h / tau [J*s] (variable template) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::alpha_v = static_cast<T>(0.0072973525643330135) |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::r_e_v = static_cast<T>(2.8179403205e-15) |
| classical electron radius = 1./(4*pi*epsilon_0) * q_e*q_e/(m_e*c*c) [m] (variable template) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::xi_c2_v = static_cast<T>(1.1728865075613984e-35) |
| xi times c2 = xi*c*c. This should be usable for single precision instead of xi; very close to smallest float32 number possible (1.2e-38) (variable template) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::schwinger_field_v |
| Schwinger electric field [V/m] (variable template) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::kb_v = static_cast<T>(1.380649e-23) |
| Boltzmann constant (exact) [J/K] (variable template) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::eV_v = q_e_v<T> |
| 1 eV in [J] (variable template) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::MeV_v = static_cast<T>(q_e_v<double> * 1e6) |
| 1 MeV in [J] (variable template) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::eV_inv_c_v = static_cast<T>(eV_v<double> / c_v<double>) |
| 1 eV/c in [kg*m/s] (variable template) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::MeV_inv_c_v = static_cast<T>(MeV_v<double> / c_v<double>) |
| 1 MeV/c in [kg*m/s] (variable template) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::eV_inv_c2_v = static_cast<T>(eV_v<double> / (c_v<double> * c_v<double>)) |
| 1 eV/c^2 in [kg] (variable template) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::MeV_inv_c2_v = static_cast<T>(MeV_v<double> / (c_v<double> * c_v<double>)) |
| 1 MeV/c^2 in [kg] (variable template) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::sqrt_4_pi_fine_structure_v = static_cast<T>(0.3028221207690299) |
| sqrt(4*pi*alpha) is a constant used for the Heaviside Lorentz unit system (variable template) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::c2_v = static_cast<T>(c_v<double>*c_v<double>) |
| square of the vacuum speed of light [m^2/s^2] (variable template) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::inv_c_v = static_cast<T>(1.0/c_v<double>) |
| inverse of the vacuum speed of light [s/m] (variable template) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::inv_c2_v = static_cast<T>(1.0/c2_v<double>) |
| inverse of the square of the vacuum speed of light [s^2/m^2] (variable template) | |
| constexpr auto | ablastr::constant::SI::c = c_v<amrex::Real> |
| vacuum speed of light [m/s] | |
| constexpr auto | ablastr::constant::SI::epsilon_0 = epsilon_0_v<amrex::Real> |
| vacuum permittivity: dielectric permittivity of vacuum [F/m] | |
| constexpr auto | ablastr::constant::SI::mu0 = mu0_v<amrex::Real> |
| vacuum permeability: magnetic permeability of vacuum = 4.0e-7 * pi [H/m] | |
| constexpr auto | ablastr::constant::SI::q_e = q_e_v<amrex::Real> |
| elementary charge [C] | |
| constexpr auto | ablastr::constant::SI::m_e = m_e_v<amrex::Real> |
| electron mass [kg] | |
| constexpr auto | ablastr::constant::SI::m_p = m_p_v<amrex::Real> |
| proton mass [kg] | |
| constexpr auto | ablastr::constant::SI::m_u = m_u_v<amrex::Real> |
| dalton: unified atomic mass unit [kg] | |
| constexpr auto | ablastr::constant::SI::hbar = hbar_v<amrex::Real> |
| reduced Planck Constant = h / tau [J*s] | |
| constexpr auto | ablastr::constant::SI::alpha = alpha_v<amrex::Real> |
| fine-structure constant = mu0/(4*pi)*q_e*q_e*c/hbar [dimensionless] | |
| constexpr auto | ablastr::constant::SI::r_e = r_e_v<amrex::Real> |
| classical electron radius = 1./(4*pi*epsilon_0) * q_e*q_e/(m_e*c*c) [m] | |
| constexpr double | ablastr::constant::SI::xi = 1.3050122383827227e-52 |
| xi: nonlinearity parameter of Heisenberg-Euler effective theory = (2.*alpha**2*epsilon_0**2*hbar**3)/(45.*m_e**4*c**5) | |
| constexpr auto | ablastr::constant::SI::xi_c2 = xi_c2_v<amrex::Real> |
| xi times c2 = xi*c*c. This should be usable for single precision instead of xi; very close to smallest float32 number possible (1.2e-38) | |
| template<typename T> | |
| constexpr auto | ablastr::constant::SI::schwinger_field = schwinger_field_v<amrex::Real> |
| Schwinger electric field [V/m]. | |
| constexpr auto | ablastr::constant::SI::kb = kb_v<amrex::Real> |
| Boltzmann constant (exact) [J/K]. | |
| constexpr auto | ablastr::constant::SI::eV = eV_v<amrex::Real> |
| 1 eV in [J] | |
| constexpr auto | ablastr::constant::SI::MeV = MeV_v<amrex::Real> |
| 1 MeV in [J] | |
| constexpr auto | ablastr::constant::SI::eV_inv_c = eV_inv_c_v<amrex::Real> |
| 1 eV/c in [kg*m/s] | |
| constexpr auto | ablastr::constant::SI::MeV_inv_c = MeV_inv_c_v<amrex::Real> |
| 1 MeV/c in [kg*m/s] | |
| constexpr auto | ablastr::constant::SI::eV_inv_c2 = eV_inv_c2_v<amrex::Real> |
| 1 eV/c^2 in [kg] | |
| constexpr auto | ablastr::constant::SI::MeV_inv_c2 = MeV_inv_c2_v<amrex::Real> |
| 1 MeV/c^2 in [kg] | |
| constexpr auto | ablastr::constant::SI::c2 = c2_v<amrex::Real> |
| square of the vacuum speed of light [m^2/s^2] | |
| constexpr auto | ablastr::constant::SI::inv_c = inv_c_v<amrex::Real> |
| inverse of the vacuum speed of light [s/m] | |
| constexpr auto | ablastr::constant::SI::inv_c2 = inv_c2_v<amrex::Real> |
| inverse of the square of the vacuum speed of light [s^2/m^2] | |