Correlation 4.10.0
An Analysis Tool for Liquids and for Amorphous Solids
Loading...
Searching...
No Matches
correlation::mlip::MLIPInterface Class Referenceabstract

Abstract interface for machine learning interatomic potential evaluation engines (ORB-v3, MACE, CHGNet). More...

#include <MLIPInterface.hpp>

Inheritance diagram for correlation::mlip::MLIPInterface:

Public Member Functions

virtual ~MLIPInterface ()=default
virtual std::string getModelName () const =0
 Returns the model architecture name (e.g. "ORB-v3", "ORB-mol", "MACE").
virtual MLIPOutput evaluate (const correlation::core::Cell &cell) const =0
 Evaluates potential energy, forces, and stress for a given unit cell.

Detailed Description

Abstract interface for machine learning interatomic potential evaluation engines (ORB-v3, MACE, CHGNet).

Constructor & Destructor Documentation

◆ ~MLIPInterface()

virtual correlation::mlip::MLIPInterface::~MLIPInterface ( )
virtualdefault

Member Function Documentation

◆ evaluate()

virtual MLIPOutput correlation::mlip::MLIPInterface::evaluate ( const correlation::core::Cell & cell) const
nodiscardpure virtual

Evaluates potential energy, forces, and stress for a given unit cell.

Parameters
[in]cellThe atomic configuration cell.
Returns
Structural MLIPOutput containing energy, forces, and stress tensor.

Implemented in correlation::mlip::MaceGNNModel, correlation::mlip::OrbV3GNNModel, and correlation::mlip::TorchGNNModel.

Here is the caller graph for this function:

◆ getModelName()

virtual std::string correlation::mlip::MLIPInterface::getModelName ( ) const
nodiscardpure virtual

Returns the model architecture name (e.g. "ORB-v3", "ORB-mol", "MACE").

Returns
Model name string.

Implemented in correlation::mlip::MaceGNNModel, correlation::mlip::OrbV3GNNModel, and correlation::mlip::TorchGNNModel.


The documentation for this class was generated from the following file: