Molecular Dynamics Simulation
1.0
src
io
output
chkpt
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
};
FileWriter.h
Particle.h
CheckPointWriter
Class to write particle data to a .chkpt file.
Definition:
CheckPointWriter.h:10
CheckPointWriter::writeFile
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.
Definition:
CheckPointWriter.cpp:9
FileWriter
Abstract base class for all file writers.
Definition:
FileWriter.h:12
SimulationParams
Contains all parameters needed to run a simulation.
Definition:
SimulationParams.h:22
Generated by
1.9.1