25 std::string
getName()
const override {
return "Outmol"; }
26 std::vector<std::string>
getExtensions()
const override {
return {
"outmol"}; }
30 const std::string &filename,
31 std::function<
void(
float,
const std::string &)> progress_callback =
nullptr)
override;
34 const std::string &filename,
35 std::function<
void(
float,
const std::string &)> progress_callback =
nullptr)
override;
43 static std::vector<correlation::core::Cell>
44 read(
const std::string &file_name,
45 std::function<
void(
float,
const std::string &)> progress_callback =
nullptr);
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 a DMol3 .outmol output format.
Definition OutmolReader.hpp:23
std::vector< std::string > getExtensions() const override
Returns a list of supported file extensions.
Definition OutmolReader.hpp:26
bool isTrajectory() const override
Returns true if this reader supports trajectory files.
Definition OutmolReader.hpp:27
static std::vector< correlation::core::Cell > read(const std::string &file_name, std::function< void(float, const std::string &)> progress_callback=nullptr)
Low-level parser for the specific file format.
Definition OutmolReader.cpp:196
std::string getName() const override
Returns the display name of the format.
Definition OutmolReader.hpp:25
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 OutmolReader.cpp:184
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 OutmolReader.cpp:190
Definition TrajectoryLoader.hpp:24