pecos / tps

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

Enable serialized restart capability for the low Mach solvers #268

Closed trevilo closed 6 months ago

trevilo commented 6 months ago

This PR adds support for serialized restarts (i.e., using io/restartMode = {singleFileRead,singleFileWrite,singleFileReadWrite}) for the low Mach solvers. Because the low Mach solvers use H1-conforming elements rather than DG, some of the underlying functionality in IOFamily had to be generalized. Specifically, the function IOFamily::readDistributeSerializedVariable was refactored to ensure that the unpack operation is valid for H1 elements in addition to DG.