hp-FEM
Adaptive hp-FEM suite for nano-optics
Loading...
Searching...
No Matches
constants.hpp
Go to the documentation of this file.
1#pragma once
5
6namespace hpfem::constants {
7
8inline constexpr Real c0 = 299'792'458.0;
9inline constexpr Real mu0 = 1.256'637'062'12e-6;
10inline constexpr Real eps0 = 8.854'187'812'8e-12;
11inline constexpr Real Z0 = 376.730'313'668;
12inline constexpr Real pi = 3.141'592'653'589'793'238'46;
13inline constexpr Real h_planck = 6.626'070'15e-34;
14inline constexpr Real e_charge = 1.602'176'634e-19;
15
16} // namespace hpfem::constants
Definition constants.hpp:6
constexpr Real mu0
vacuum permeability [H/m]
Definition constants.hpp:9
constexpr Real eps0
vacuum permittivity [F/m]
Definition constants.hpp:10
constexpr Real e_charge
[C]
Definition constants.hpp:14
constexpr Real pi
Definition constants.hpp:12
constexpr Real Z0
vacuum impedance [Ohm]
Definition constants.hpp:11
constexpr Real h_planck
[J s]
Definition constants.hpp:13
constexpr Real c0
speed of light [m/s]
Definition constants.hpp:8
double Real
Definition types.hpp:15