n2p2 - A neural network potential package
|
#include <pair_hdnnp_develop.h>
Public Member Functions | |
PairHDNNPDevelop (class LAMMPS *) | |
void | compute (int, int) override |
void | init_style () override |
double | init_one (int i, int j) override |
Public Member Functions inherited from LAMMPS_NS::PairHDNNP | |
PairHDNNP (class LAMMPS *) | |
~PairHDNNP () override | |
void | compute (int, int) override |
void | settings (int, char **) override |
void | coeff (int, char **) override |
void | init_style () override |
double | init_one (int, int) override |
Protected Member Functions | |
void | transferNeighborList (double const cutoffRadius) |
void | updateNeighborlistCutoff () |
Update neighborlist if maxCutoffRadiusNeighborList has changed. More... | |
Protected Member Functions inherited from LAMMPS_NS::PairHDNNP | |
virtual void | allocate () |
void | transferNeighborList () |
void | handleExtrapolationWarnings () |
Protected Attributes | |
double | maxCutoffRadiusNeighborList |
Keeps track of the maximum cutoff radius that was used for the neighbor list. More... | |
Protected Attributes inherited from LAMMPS_NS::PairHDNNP | |
bool | showew |
bool | resetew |
int | showewsum |
int | maxew |
long | numExtrapolationWarningsTotal |
long | numExtrapolationWarningsSummary |
double | cflength |
double | cfenergy |
double | maxCutoffRadius |
char * | directory |
std::string | emap |
nnp::InterfaceLammps * | interface |
Definition at line 30 of file pair_hdnnp_develop.h.
PairHDNNPDevelop::PairHDNNPDevelop | ( | class LAMMPS * | lmp | ) |
Definition at line 44 of file pair_hdnnp_develop.cpp.
|
override |
Definition at line 48 of file pair_hdnnp_develop.cpp.
References nnp::InterfaceLammps::getAtomicEnergy(), nnp::InterfaceLammps::getCharges(), nnp::InterfaceLammps::getEnergy(), nnp::InterfaceLammps::getForces(), LAMMPS_NS::PairHDNNP::handleExtrapolationWarnings(), LAMMPS_NS::PairHDNNP::interface, maxCutoffRadiusNeighborList, LAMMPS_NS::PairHDNNP::maxew, nnp::InterfaceLammps::process(), nnp::InterfaceLammps::setBoxVectors(), nnp::InterfaceLammps::setLocalAtomPositions(), nnp::InterfaceLammps::setLocalAtoms(), nnp::InterfaceLammps::setLocalTags(), LAMMPS_NS::PairHDNNP::showew, LAMMPS_NS::PairHDNNP::showewsum, LAMMPS_NS::PairHDNNP::transferNeighborList(), and updateNeighborlistCutoff().
|
override |
Definition at line 113 of file pair_hdnnp_develop.cpp.
References LAMMPS_NS::PairHDNNP::init_style(), LAMMPS_NS::PairHDNNP::interface, LAMMPS_NS::PairHDNNP::maxCutoffRadius, maxCutoffRadiusNeighborList, and nnp::InterfaceLammps::setGlobalStructureStatus().
|
override |
Definition at line 141 of file pair_hdnnp_develop.cpp.
References maxCutoffRadiusNeighborList.
|
protected |
Definition at line 148 of file pair_hdnnp_develop.cpp.
References nnp::InterfaceLammps::addNeighbor(), nnp::InterfaceLammps::allocateNeighborlists(), nnp::InterfaceLammps::finalizeNeighborList(), nnp::InterfaceLammps::getGlobalStructureStatus(), and LAMMPS_NS::PairHDNNP::interface.
|
protected |
Update neighborlist if maxCutoffRadiusNeighborList has changed.
Definition at line 178 of file pair_hdnnp_develop.cpp.
References nnp::InterfaceLammps::getMaxCutoffRadiusOverall(), LAMMPS_NS::PairHDNNP::interface, and maxCutoffRadiusNeighborList.
Referenced by compute().
|
protected |
Keeps track of the maximum cutoff radius that was used for the neighbor list.
Definition at line 41 of file pair_hdnnp_develop.h.
Referenced by compute(), init_one(), init_style(), and updateNeighborlistCutoff().