Gromacs  2026.0-dev-20241204-d69d709
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
gmx::NNPotParameters Struct Reference

#include <gromacs/applied_forces/nnpot/nnpotoptions.h>

Description

Data structure to store NNPot input parameters

Public Member Functions

bool modelNeedsInput (const std::string &input) const
 

Public Attributes

bool active_ = false
 indicates whether NN Potential is active (default false)
 
std::string modelFileName_ = "model.pt"
 stores file name of NNPot model
 
bool providesForces_ = false
 indicates whether NNPot provides forces
 
std::string inputGroup_ = "System"
 stores atom group name for neural network input (default whole System)
 
std::vector< IndexinpIndices_
 Indices of the atoms that are part of the NN input region (default whole System)
 
std::unique_ptr< LocalAtomSetinpAtoms_
 Local set of atoms that are part of the NN input region.
 
std::vector< IndexmmIndices_
 Indices of the atoms that are part of the MM region (default no MM atoms)
 
std::unique_ptr< LocalAtomSetmmAtoms_
 Local set of atoms that are part of the MM region.
 
std::vector< std::string > modelInput_ { "", "", "", "" }
 User defined input to NN model (4 options as of now)
 
std::unique_ptr< PbcTypepbcType_
 stores pbc type used by the simulation
 
t_atoms atoms_
 stores all (global) atom info
 
int numAtoms_
 
const t_commrec * cr_ = nullptr
 stores communication record
 

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