Phyth v0.1.0
A dimensional safe C++ header-only mechanics and electromagnetics simulation library.
Loading...
Searching...
No Matches
Variables
Phyth::Consts Namespace Reference

Variables

constexpr double pi = 3.14159265358979323846
 
constexpr double eta = pi / 2
 
constexpr double tau = 2 * pi
 
constexpr double varpi = 4 * pi
 
constexpr double phi = 1.618033988749895
 
constexpr double e = 2.718281828459045
 
constexpr double alpha = 0.00729735256
 
constexpr auto g = 9.80665_mps2
 
constexpr auto G = 6.67430e-11_N * 1_m2 / 1_kg / 1_kg
 
constexpr auto c = 299'792'458_mps
 
constexpr auto h = 6.62607015e-34_J * 1_s
 
constexpr auto hbar = h / tau
 
constexpr auto k_B = 1.380649e-23_J / 1_K
 
constexpr auto mu_0 = varpi * 1e-7_N / 1_A / 1_A
 
constexpr auto epsilon_0 = 8.8541878e-12_Fpm
 
constexpr auto k_E = 1 / varpi / epsilon_0
 

Variable Documentation

◆ alpha

constexpr double Phyth::Consts::alpha = 0.00729735256
constexpr

Definition at line 8 of file PhysicalConsts.hpp.

◆ c

constexpr auto Phyth::Consts::c = 299'792'458_mps
constexpr

Definition at line 12 of file PhysicalConsts.hpp.

◆ e

constexpr double Phyth::Consts::e = 2.718281828459045
constexpr

Definition at line 10 of file Constants.hpp.

◆ epsilon_0

constexpr auto Phyth::Consts::epsilon_0 = 8.8541878e-12_Fpm
constexpr

Definition at line 17 of file PhysicalConsts.hpp.

◆ eta

constexpr double Phyth::Consts::eta = pi / 2
constexpr

Definition at line 6 of file Constants.hpp.

◆ g

constexpr auto Phyth::Consts::g = 9.80665_mps2
constexpr

Definition at line 10 of file PhysicalConsts.hpp.

◆ G

constexpr auto Phyth::Consts::G = 6.67430e-11_N * 1_m2 / 1_kg / 1_kg
constexpr

Definition at line 11 of file PhysicalConsts.hpp.

◆ h

constexpr auto Phyth::Consts::h = 6.62607015e-34_J * 1_s
constexpr

Definition at line 13 of file PhysicalConsts.hpp.

◆ hbar

constexpr auto Phyth::Consts::hbar = h / tau
constexpr

Definition at line 14 of file PhysicalConsts.hpp.

◆ k_B

constexpr auto Phyth::Consts::k_B = 1.380649e-23_J / 1_K
constexpr

Definition at line 15 of file PhysicalConsts.hpp.

◆ k_E

constexpr auto Phyth::Consts::k_E = 1 / varpi / epsilon_0
constexpr

Definition at line 18 of file PhysicalConsts.hpp.

◆ mu_0

constexpr auto Phyth::Consts::mu_0 = varpi * 1e-7_N / 1_A / 1_A
constexpr

Definition at line 16 of file PhysicalConsts.hpp.

◆ phi

constexpr double Phyth::Consts::phi = 1.618033988749895
constexpr

Definition at line 9 of file Constants.hpp.

◆ pi

constexpr double Phyth::Consts::pi = 3.14159265358979323846
constexpr

Definition at line 5 of file Constants.hpp.

◆ tau

constexpr double Phyth::Consts::tau = 2 * pi
constexpr

Definition at line 7 of file Constants.hpp.

◆ varpi

constexpr double Phyth::Consts::varpi = 4 * pi
constexpr

Definition at line 8 of file Constants.hpp.