Molecular Dynamics Simulation  1.0
CheckPointWriter.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "io/output/FileWriter.h"
4 #include "io/xml_schemas/checkpoint/checkpoint_schema.h"
5 #include "particles/Particle.h"
6 
10 class CheckPointWriter : public FileWriter {
11  public:
21  const std::filesystem::path writeFile(const SimulationParams& params, size_t iteration,
22  const std::vector<Particle>& particles) const override;
23 };
Class to write particle data to a .chkpt file.
const std::filesystem::path writeFile(const SimulationParams &params, size_t iteration, const std::vector< Particle > &particles) const override
Writes the data of the given ParticleContainer to a .vtu file.
Abstract base class for all file writers.
Definition: FileWriter.h:12
Contains all parameters needed to run a simulation.