Molecular Dynamics Simulation
1.0
|
Class to write particle data to a .chkpt file. More...
#include <CheckPointWriter.h>
Public Member Functions | |
const std::filesystem::path | writeFile (const SimulationParams ¶ms, size_t iteration, const std::vector< Particle > &particles) const override |
Writes the data of the given ParticleContainer to a .vtu file. More... | |
Public Member Functions inherited from FileWriter | |
virtual | ~FileWriter ()=default |
virtual destructor for correct cleanup of derived classes More... | |
Class to write particle data to a .chkpt file.
Definition at line 10 of file CheckPointWriter.h.
|
overridevirtual |
Writes the data of the given ParticleContainer to a .vtu file.
params | SimulationParams object which provides the output directory path |
iteration | The current iteration number |
particles | A vector of particles to write to the file |
Implements FileWriter.
Definition at line 9 of file CheckPointWriter.cpp.