SPHinXsys  alpha version
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SPH::RestartIO Class Reference

Write the restart file in XML format. More...

#include <in_output.h>

Inherits SPH::BodyStatesIO.

Public Member Functions

 RestartIO (InOutput &in_output, SPHBodyVector bodies)
 
virtual void writeToFile (size_t iteration_step=0)
 
virtual void readFromFile (size_t iteration_step=0)
 
virtual Real readRestartFiles (size_t restart_step)
 
- Public Member Functions inherited from SPH::BodyStatesIO
 BodyStatesIO (InOutput &in_output, SPHBody &body)
 
 BodyStatesIO (InOutput &in_output, SPHBodyVector bodies)
 

Protected Member Functions

Real readRestartTime (size_t restart_step)
 
- Protected Member Functions inherited from SPH::BodyStatesIO
std::string convertPhysicalTimeToString (Real physical_time)
 

Protected Attributes

std::string overall_file_path_
 
StdVec< std::string > file_paths_
 
- Protected Attributes inherited from SPH::BodyStatesIO
InOutputin_output_
 
SPHBodybody_
 
SPHBodyVector bodies_
 

Detailed Description

Write the restart file in XML format.


The documentation for this class was generated from the following files: