diff options
Diffstat (limited to 'Source/Utils')
-rw-r--r-- | Source/Utils/WarpXConst.H | 2 | ||||
-rw-r--r-- | Source/Utils/WarpXUtil.H | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/Source/Utils/WarpXConst.H b/Source/Utils/WarpXConst.H index 7734d9011..70436cb72 100644 --- a/Source/Utils/WarpXConst.H +++ b/Source/Utils/WarpXConst.H @@ -13,7 +13,7 @@ namespace MathConst // https://physics.nist.gov/cuu/Constants/index.html namespace PhysConst { - static constexpr amrex::Real c = 299792458.; + static constexpr amrex::Real c = 299'792'458.; static constexpr amrex::Real ep0 = 8.8541878128e-12; static constexpr amrex::Real mu0 = 1.25663706212e-06; static constexpr amrex::Real q_e = 1.602176634e-19; diff --git a/Source/Utils/WarpXUtil.H b/Source/Utils/WarpXUtil.H index ab28c5446..195e309cf 100644 --- a/Source/Utils/WarpXUtil.H +++ b/Source/Utils/WarpXUtil.H @@ -1,3 +1,6 @@ +#ifndef WARPX_UTILS_H_ +#define WARPX_UTILS_H_ + #include <AMReX_REAL.H> #include <AMReX_Vector.H> #include <AMReX_MultiFab.H> @@ -21,3 +24,5 @@ namespace WarpXUtilIO{ */ bool WriteBinaryDataOnFile(std::string filename, const amrex::Vector<char>& data); } + +#endif //WARPX_UTILS_H_ |