Fixing the extraneous delete of AcclerationField with acceleration-boundary-yes and hydro_rk2

#130 Merged at e30046b
Repository
mhdct-extras
Branch
week-of-code
Repository
enzo-dev
Branch
week-of-code
Author
  1. dcollins4096
Reviewers
Description

For acceleration-boundary-yes, AccelerationField can't be deleted or errors occur. The author of acceleration-boundary missed this case, and apologizes.

Comments (5)

  1. Greg Bryan

    I think it should be outside of the ifdef block because the particle accelerations are not required for the SAB stuff, so they should be deleted regardless of whether SAB is on or not. That's also the way it works in EvolveLevel.C.