pecos / tps

Torch Plasma Simulator
BSD 3-Clause "New" or "Revised" License
8 stars 2 forks source link

Extract restart read/write IO from `M2ulPhyS` #243

Closed trevilo closed 8 months ago

trevilo commented 8 months ago

The goal of this PR is to refactor the restart file IO capabilities currently housed within M2ulPhyS so that they may be better used by other classes in the future. Specifically, we have moved the bulk of the data read/write functions into the IODataOrganizer and IOFamily classes. The parts that remain within M2ulPhyS are metadata read/write capabilities that, at least in principle, could change in other classes and therefore should remain class-specific.

Merging this PR closes #244.