SPHinXsys  alpha version
Public Member Functions | Protected Member Functions | List of all members
SPH::BodyStatesRecording Class Referenceabstract

base class for write body states. More...

#include <in_output.h>

Inherits SPH::BodyStatesIO.

Inherited by SPH::BodyStatesRecordingToPlt, SPH::BodyStatesRecordingToVtp, SPH::BodyStatesRecordingToVtpString, SPH::MeshRecordingToPlt, and SPH::ObservedQuantityRecording< VariableType >.

Public Member Functions

 BodyStatesRecording (InOutput &in_output, SPHBody &body)
 
 BodyStatesRecording (InOutput &in_output, SPHBodyVector bodies)
 
void writeToFile ()
 
virtual void writeToFile (size_t iteration_step)
 
- Public Member Functions inherited from SPH::BodyStatesIO
 BodyStatesIO (InOutput &in_output, SPHBody &body)
 
 BodyStatesIO (InOutput &in_output, SPHBodyVector bodies)
 

Protected Member Functions

virtual void writeWithFileName (const std::string &sequence)=0
 
- Protected Member Functions inherited from SPH::BodyStatesIO
std::string convertPhysicalTimeToString (Real physical_time)
 

Additional Inherited Members

- Protected Attributes inherited from SPH::BodyStatesIO
InOutputin_output_
 
SPHBodybody_
 
SPHBodyVector bodies_
 

Detailed Description

base class for write body states.

Member Function Documentation

◆ writeToFile() [1/2]

void SPH::BodyStatesRecording::writeToFile ( )
inline

write with filename indicated by physical time

◆ writeToFile() [2/2]

void SPH::BodyStatesRecording::writeToFile ( size_t  iteration_step)
virtual

write with filename indicated by iteration step


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