29 std::string
getName()
const override {
return "VASP XDATCAR"; }
30 std::vector<std::string>
getExtensions()
const override {
return {
"xdatcar"}; }
34 const std::string &filename,
35 std::function<
void(
float,
const std::string &)> progress_callback =
nullptr)
override;
38 const std::string &filename,
39 std::function<
void(
float,
const std::string &)> progress_callback =
nullptr)
override;
Abstract base class for all file format readers.
Simulation cell structure with periodic boundary conditions.
Trajectory data structure for time-series atomistic simulations.
Represents the simulation cell (periodic box).
Definition Cell.hpp:30
This class stores a series of snapshots of a system.
Definition Trajectory.hpp:32
Reads VASP XDATCAR trajectory files with memory-mapped lazy loading.
Definition XdatcarReader.hpp:27
std::vector< std::string > getExtensions() const override
Returns a list of supported file extensions.
Definition XdatcarReader.hpp:30
correlation::core::Cell readStructure(const std::string &filename, std::function< void(float, const std::string &)> progress_callback=nullptr) override
Reads an atomic structure from a file.
Definition XdatcarReader.cpp:287
bool isTrajectory() const override
Returns true if this reader supports trajectory files.
Definition XdatcarReader.hpp:31
correlation::core::Trajectory readTrajectory(const std::string &filename, std::function< void(float, const std::string &)> progress_callback=nullptr) override
Reads a trajectory from a file.
Definition XdatcarReader.cpp:300
std::string getName() const override
Returns the display name of the format.
Definition XdatcarReader.hpp:29
Definition TrajectoryLoader.hpp:24