aboutsummaryrefslogtreecommitdiff
path: root/Source/WarpXEvolve.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WarpXEvolve.cpp')
-rw-r--r--Source/WarpXEvolve.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/WarpXEvolve.cpp b/Source/WarpXEvolve.cpp
index 693029297..092d5adfd 100644
--- a/Source/WarpXEvolve.cpp
+++ b/Source/WarpXEvolve.cpp
@@ -547,8 +547,6 @@ WarpX::EvolveE (int lev, Real dt)
void
WarpX::EvolveE (int lev, PatchType patch_type, amrex::Real dt)
{
- // Parameters of the solver: order and mesh spacing
- static constexpr Real c2 = PhysConst::c*PhysConst::c;
const Real mu_c2_dt = (PhysConst::mu0*PhysConst::c*PhysConst::c) * dt;
const Real c2dt = (PhysConst::c*PhysConst::c) * dt;
@@ -710,7 +708,6 @@ WarpX::EvolveF (int lev, PatchType patch_type, Real dt, DtType dt_type)
BL_PROFILE("WarpX::EvolveF()");
- static constexpr Real c2inv = 1.0/(PhysConst::c*PhysConst::c);
static constexpr Real mu_c2 = PhysConst::mu0*PhysConst::c*PhysConst::c;
int patch_level = (patch_type == PatchType::fine) ? lev : lev-1;