Fixing field ordering for the MHD 3D tests.

#185 Merged at 182a187
Repository
clean-copy
Branch
week-of-code
Repository
enzo-dev
Branch
week-of-code
Author
  1. John Wise
Reviewers
Description

The B-fields should be placed after the energy fields but before the species fields.

Comments (2)

  1. MattT

    Seems like a big change -- does this make them line up with the field numbers in the hierarchy file?

  2. John Wise author

    Yes, all of the field names in the .hierarchy and HDF5 files match the data after I made this change. Before, the fields and field data were mismatched in both files, causing me to be completely confused when initially inspecting the data!

    Also in the Grid_MHD3DTestInitialize.C routine, data fields are initialized in this order.