1. The Enzo Project
  2. Untitled project
  3. enzo-dev
  4. Pull requests

Pull requests

#76 Merged
Repository
Deleted repository
Branch
week-of-code (3cc442713db8)
Repository
enzo-dev
Branch
week-of-code

Bug fix in hydro shock tubes initialization

Author
  1. chummels
Reviewers
Description

Fixing a bug with the initialization of the hydro shock tubes. If a problem only has a single discontinuity between two regions (and not two discontinuities), then we reset the second discontinuity to be the primary discontinuity.

Was causing problems with the solution in Toro Shock Tube #1 and #4, wherein a secondary discontinuity was being created at x=0.5 that was spurious due to the presence of an unnecessary "Central Region" in the code.

Comments (0)