Backup and restore facilities
Added backup and restore facilities for grid and dofvector. Either call
(This will backup the files to
and instead of
initialize() call the function
(This will read the grid and solution from the files
Or you can call
problemStat.restore(filename) -> std::unique_ptr<Grid>
directly to backup and restore the grid of the problemStat and
dofvector.restore(filename) to backup and restore the data of the dofvector.
If the grid does not support backup-restore, the current gridView is written. This means that the hierarchy information is lost. A warning is printed in this case.