aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/WarpXConst.H
blob: 4e226e55ff2fbd021c25ca5fd51556d08ea92a39 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef WARPX_CONST_H_
#define WARPX_CONST_H_

#include <AMReX_REAL.H>

// Physical constants
namespace PhysConst
{
    static constexpr amrex::Real c   = 299792458.;
    static constexpr amrex::Real ep0 = 8.854187817e-12;
    static constexpr amrex::Real mu0 = 1.2566370614359173e-06;
    static constexpr amrex::Real q_e = 1.6021764620000001e-19;
    static constexpr amrex::Real m_e = 9.10938291e-31;
    static constexpr amrex::Real m_p = 1.6726231000000001e-27;
}

namespace MathConst
{
    static constexpr amrex::Real pi = 3.14159265358979323846;
}

#endif