| Molecular Dynamics Simulation
    1.0
    | 
Abstract base class for all file writers. More...
#include <FileWriter.h>


| Public Member Functions | |
| virtual | ~FileWriter ()=default | 
| virtual destructor for correct cleanup of derived classes  More... | |
| virtual const std::filesystem::path | writeFile (const SimulationParams ¶ms, size_t iteration, const std::vector< Particle > &particles) const =0 | 
| Writes the file to the given path, uses the given ParticleContainer and the current iteration.  More... | |
Abstract base class for all file writers.
Definition at line 12 of file FileWriter.h.
| 
 | virtualdefault | 
virtual destructor for correct cleanup of derived classes
| 
 | pure virtual | 
Writes the file to the given path, uses the given ParticleContainer and the current iteration.
| params | SimulationParams object which provides the output directory path | 
| iteration | The current iteration number | 
| particles | A vector of particles to write to the file | 
Implemented in XYZWriter, VTUWriter, and CheckPointWriter.