Skip to content

Commit 3f76233

Browse files
authored
Remove unused code from WarpX class constructor (#5572)
This PR removes some unused code. The final goal is to make the WarpX class more readable.
1 parent 1c8d21e commit 3f76233

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Source/WarpX.cpp

-6
Original file line numberDiff line numberDiff line change
@@ -272,12 +272,6 @@ WarpX::WarpX ()
272272

273273
istep.resize(nlevs_max, 0);
274274
nsubsteps.resize(nlevs_max, 1);
275-
#if 0
276-
// no subcycling yet
277-
for (int lev = 1; lev < nlevs_max; ++lev) {
278-
nsubsteps[lev] = MaxRefRatio(lev-1);
279-
}
280-
#endif
281275

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

0 commit comments

Comments
 (0)