diff options
author | 2018-10-15 10:31:04 -0700 | |
---|---|---|
committer | 2018-10-15 10:31:04 -0700 | |
commit | cea0326b734f6c0dbbdab456eb8c59dc8d150734 (patch) | |
tree | 592a26fcc4968015b741e2b2ab564ecf209b683b /Source/WarpXEvolve.cpp | |
parent | 05ce0b2b6ad15a989308bf9705b07562550103c1 (diff) | |
download | WarpX-cea0326b734f6c0dbbdab456eb8c59dc8d150734.tar.gz WarpX-cea0326b734f6c0dbbdab456eb8c59dc8d150734.tar.zst WarpX-cea0326b734f6c0dbbdab456eb8c59dc8d150734.zip |
removing unused variables
Diffstat (limited to 'Source/WarpXEvolve.cpp')
-rw-r--r-- | Source/WarpXEvolve.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/WarpXEvolve.cpp b/Source/WarpXEvolve.cpp index 68eb229ae..ecbe3c117 100644 --- a/Source/WarpXEvolve.cpp +++ b/Source/WarpXEvolve.cpp @@ -263,9 +263,6 @@ WarpX::EvolveB (int lev, Real dt) { BL_PROFILE("WarpX::EvolveB()"); - // Parameters of the solver: order and mesh spacing - const int norder = 2; - int npatches = (lev == 0) ? 1 : 2; for (int ipatch = 0; ipatch < npatches; ++ipatch) @@ -380,9 +377,6 @@ WarpX::EvolveE (int lev, Real dt) { BL_PROFILE("WarpX::EvolveE()"); - // Parameters of the solver: order and mesh spacing - const int norder = 2; - 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; @@ -546,7 +540,6 @@ WarpX::EvolveF (int lev, 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 npatches = (lev == 0) ? 1 : 2; |