[bugfix] Ray tracing minor bugfixes

#427 Merged at d3fe788
Repository
clean-copy
Branch
week-of-code
Repository
enzo-dev
Branch
week-of-code
Author
  1. John Wise
Reviewers
Description
  • Bugfix to avoid NULL stars pointer if no sources exist in restart.
  • Delete Radiation Pressure fields if turning RT off

Comments (5)

    1. Corey Brummel-Smith

      It looks good. The one question I have is, what is the reason for removing the check for a successful return from InitializeTemperatureFieldForH2Shield, and the ENZO_FAIL error?

      1. John Wise author

        The ENZO_FAIL is a relic from a time when we didn’t have error exceptions that produced backtraces. There are still some in the code, but I try to remove them everytime I see one in a change.

  1. Greg Bryan

    We have four approvals, comments all addressed, passes tests – I’m merging. Thanks all!