PLUTO  4.0
 All Data Structures Files Functions Variables Enumerations Macros Pages
Functions
restart.c File Reference

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)
 

Detailed Description

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.

Author
A. Mignone (migno.nosp@m.ne@p.nosp@m.h.uni.nosp@m.to.i.nosp@m.t)
Date
Aug 16, 2012

Function Documentation

void Restart ( Input *  ini,
int  nrestart,
int  type,
Grid grid 
)

Read input binary / hdf5 data.

Parameters
[in]ini
[in]nrestart
[in]typespecifies the output data type (type should be either DBL_OUTPUT or DBL_H5_OUTPUT).
[in]gridpointer 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.