Restart PLUTO from binary or HDF5 double precision data files. More...
#include "pluto.h"
Functions | |
void | Restart (Input *ini, int nrestart, int type, Grid *grid) |
void | RestartGet (Input *ini, int nrestart, int out_type, int swap_endian) |
void | RestartDump (Input *ini) |
This file collects the necessary functions for restarting PLUTO from a double precision binary or HDF5 file in the static grid version of the code.
void Restart | ( | Input * | ini, |
int | nrestart, | ||
int | type, | ||
Grid * | grid | ||
) |
Read input binary / hdf5 data.
[in] | ini | |
[in] | nrestart | |
[in] | type | specifies the output data type (type should be either DBL_OUTPUT or DBL_H5_OUTPUT). |
[in] | grid | pointer to an array of Grid structures |
void RestartDump | ( | Input * | ini | ) |
Write runtime information needed for (potential) later restarts.
void RestartGet | ( | Input * | ini, |
int | nrestart, | ||
int | out_type, | ||
int | swap_endian | ||
) |
Collect runtime information needed for (potential) later restarts.