42static_assert(
sizeof(OrbV3ModelHeader) == 64,
"OrbV3ModelHeader must be exactly 64 bytes.");
92 [[nodiscard]]
bool isLoaded() const noexcept;
Abstract interface for Machine Learning Interatomic Potentials (MLIP).
Abstract interface for machine learning interatomic potential evaluation engines (ORB-v3,...
Definition MLIPInterface.hpp:75
~OrbV3GNNModel() override
static std::string findDefaultModelPath(const std::string &preferred_path="")
Searches standard workspace and user directories for cellulose_ldos.bin.
Definition OrbV3GNNModel.cpp:593
MLIPOutput evaluate(const correlation::core::Cell &cell) const override
Evaluates energy, forces, stress, and atom-projected LDOS on a simulation Cell.
Definition OrbV3GNNModel.cpp:649
OrbV3GNNModel(std::string model_path="")
Constructs an OrbV3GNNModel from a flat binary weight file (or auto-discovers default).
Definition OrbV3GNNModel.cpp:621
OrbV3GNNModel(OrbV3GNNModel &&) noexcept
bool isLoaded() const noexcept
Checks whether the binary weight file was successfully mapped and validated.
Definition OrbV3GNNModel.cpp:645
const OrbV3ModelHeader & header() const noexcept
Returns the parsed 64-byte header of the loaded model.
Definition OrbV3GNNModel.cpp:647
std::string getModelName() const override
Returns the model architecture and loaded weight file identifier.
Definition OrbV3GNNModel.cpp:643
std::unique_ptr< Impl > impl_
Definition OrbV3GNNModel.hpp:108
const std::string & modelPath() const noexcept
Returns the resolved filesystem path of the loaded weight binary.
Definition OrbV3GNNModel.hpp:104
std::string model_path_
Definition OrbV3GNNModel.hpp:109
Definition ITrajectoryCalculator.hpp:13
Definition GraphDescriptors.hpp:18
Definition AnalysisTypes.hpp:11
Output container for machine learning interatomic potential calculations.
Definition MLIPInterface.hpp:24