Previously fort.b file wasn't properly closed until next frame written.
If trying to plot interactively as frames are computed, this caused Iplotclaw to
throw an error when trying to read an open file.
Note: in geoclaw this was already done properly, with a different unit binary_unit rather than using out_unit + 1, which is cleaner.
Previously fort.b file wasn't properly closed until next frame written. If trying to plot interactively as frames are computed, this caused Iplotclaw to throw an error when trying to read an open file.
Note: in geoclaw this was already done properly, with a different unit
binary_unit
rather than usingout_unit + 1
, which is cleaner.