Skip to content

Commit

Permalink
Remove unused code from WarpX class constructor (#5572)
Browse files Browse the repository at this point in the history
This PR removes some unused code. The final goal is to make the WarpX
class more readable.
  • Loading branch information
lucafedeli88 authored Jan 19, 2025
1 parent 1c8d21e commit 3f76233
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Source/WarpX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -272,12 +272,6 @@ WarpX::WarpX ()

istep.resize(nlevs_max, 0);
nsubsteps.resize(nlevs_max, 1);
#if 0
// no subcycling yet
for (int lev = 1; lev < nlevs_max; ++lev) {
nsubsteps[lev] = MaxRefRatio(lev-1);
}
#endif

t_new.resize(nlevs_max, 0.0);
t_old.resize(nlevs_max, std::numeric_limits<Real>::lowest());
Expand Down

0 comments on commit 3f76233

Please sign in to comment.