21 [[nodiscard]] std::string
getName()
const override {
return "GPAW Reader"; }
23 return {
".gpaw",
".txt",
".log"};
28 const std::string &filename,
29 std::function<
void(
float,
const std::string &)> progress_callback =
nullptr)
override;
32 const std::string &filename,
33 std::function<
void(
float,
const std::string &)> progress_callback =
nullptr)
override;
Abstract base class for all file format readers.
Represents the simulation cell (periodic box).
Definition Cell.hpp:30
This class stores a series of snapshots of a system.
Definition Trajectory.hpp:32
Handles parsing of GPAW text log and output files containing unit cells and coordinates.
Definition GpawReader.hpp:19
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 GpawReader.cpp:145
bool isTrajectory() const override
Returns true if this reader supports trajectory files.
Definition GpawReader.hpp:25
std::string getName() const override
Returns the display name of the format.
Definition GpawReader.hpp:21
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 GpawReader.cpp:135
std::vector< std::string > getExtensions() const override
Returns a list of supported file extensions.
Definition GpawReader.hpp:22
Definition TrajectoryLoader.hpp:24