5 #include "io/xml_schemas/checkpoint/checkpoint_schema.h"
19 [[nodiscard]] std::tuple<std::vector<Particle>,
int>
readFile(
const std::filesystem::path& filepath)
const;
29 [[nodiscard]]
static size_t calculateHash(
const std::filesystem::path& filepath);
Class to read particle and simulation data from a '.xml' file.
static bool detectSourceFileChanges(const std::string &filepath)
Checks if the given file contains a valid hash generated from the original input file.
std::tuple< std::vector< Particle >, int > readFile(const std::filesystem::path &filepath) const
Reads particle data from a '.xml' file and returns a vector of particles.
static size_t calculateHash(const std::filesystem::path &filepath)
Calculates the hash for the given input file.