n2p2 - A neural network potential package
|
#include <pair_nnp.h>
Public Member Functions | |
PairNNP (class LAMMPS *) | |
virtual | ~PairNNP () |
virtual void | compute (int, int) |
virtual void | settings (int, char **) |
virtual void | coeff (int, char **) |
virtual void | init_style () |
virtual double | init_one (int, int) |
virtual void | write_restart (FILE *) |
virtual void | read_restart (FILE *) |
virtual void | write_restart_settings (FILE *) |
virtual void | read_restart_settings (FILE *) |
Protected Member Functions | |
virtual void | allocate () |
void | transferNeighborList () |
void | handleExtrapolationWarnings () |
Protected Attributes | |
bool | showew |
bool | resetew |
int | showewsum |
int | maxew |
long | numExtrapolationWarningsTotal |
long | numExtrapolationWarningsSummary |
double | cflength |
double | cfenergy |
double | maxCutoffRadius |
char * | directory |
char * | emap |
nnp::InterfaceLammps | interface |
Definition at line 21 of file pair_nnp.h.
PairNNP::PairNNP | ( | class LAMMPS * | lmp | ) |
Definition at line 24 of file pair_nnp.cpp.
|
virtual |
Definition at line 32 of file pair_nnp.cpp.
|
virtual |
Definition at line 38 of file pair_nnp.cpp.
References nnp::InterfaceLammps::getAtomicEnergy(), nnp::InterfaceLammps::getEnergy(), nnp::InterfaceLammps::getForces(), handleExtrapolationWarnings(), interface, maxew, nnp::InterfaceLammps::process(), nnp::InterfaceLammps::setLocalAtoms(), nnp::InterfaceLammps::setLocalTags(), showew, showewsum, and transferNeighborList().
|
virtual |
Definition at line 81 of file pair_nnp.cpp.
References cfenergy, cflength, directory, emap, maxew, numExtrapolationWarningsSummary, numExtrapolationWarningsTotal, resetew, showew, and showewsum.
|
virtual |
Definition at line 176 of file pair_nnp.cpp.
References allocate(), and maxCutoffRadius.
|
virtual |
Definition at line 204 of file pair_nnp.cpp.
References cfenergy, cflength, directory, emap, nnp::InterfaceLammps::getMaxCutoffRadius(), nnp::InterfaceLammps::initialize(), interface, nnp::InterfaceLammps::isInitialized(), nnp::Mode::log, maxCutoffRadius, maxew, nnp::Log::registerCFilePointer(), resetew, showew, and showewsum.
|
virtual |
Definition at line 245 of file pair_nnp.cpp.
References maxCutoffRadius.
|
virtual |
Definition at line 255 of file pair_nnp.cpp.
|
virtual |
Definition at line 264 of file pair_nnp.cpp.
|
virtual |
Definition at line 273 of file pair_nnp.cpp.
|
virtual |
Definition at line 282 of file pair_nnp.cpp.
|
protectedvirtual |
Definition at line 291 of file pair_nnp.cpp.
Referenced by coeff().
|
protected |
Definition at line 304 of file pair_nnp.cpp.
References nnp::InterfaceLammps::addNeighbor(), interface, and maxCutoffRadius.
Referenced by compute().
|
protected |
Definition at line 325 of file pair_nnp.cpp.
References nnp::InterfaceLammps::clearExtrapolationWarnings(), nnp::InterfaceLammps::extractEWBuffer(), nnp::InterfaceLammps::fillEWBuffer(), nnp::InterfaceLammps::getEWBufferSize(), nnp::Mode::getNumExtrapolationWarnings(), interface, maxew, numExtrapolationWarningsSummary, numExtrapolationWarningsTotal, resetew, showew, showewsum, and nnp::InterfaceLammps::writeExtrapolationWarnings().
Referenced by compute().
|
protected |
Definition at line 43 of file pair_nnp.h.
Referenced by compute(), handleExtrapolationWarnings(), init_style(), and settings().
|
protected |
Definition at line 44 of file pair_nnp.h.
Referenced by handleExtrapolationWarnings(), init_style(), and settings().
|
protected |
Definition at line 45 of file pair_nnp.h.
Referenced by compute(), handleExtrapolationWarnings(), init_style(), and settings().
|
protected |
Definition at line 46 of file pair_nnp.h.
Referenced by compute(), handleExtrapolationWarnings(), init_style(), and settings().
|
protected |
Definition at line 47 of file pair_nnp.h.
Referenced by handleExtrapolationWarnings(), and settings().
|
protected |
Definition at line 48 of file pair_nnp.h.
Referenced by handleExtrapolationWarnings(), and settings().
|
protected |
Definition at line 49 of file pair_nnp.h.
Referenced by init_style(), and settings().
|
protected |
Definition at line 50 of file pair_nnp.h.
Referenced by init_style(), and settings().
|
protected |
Definition at line 51 of file pair_nnp.h.
Referenced by coeff(), init_one(), init_style(), and transferNeighborList().
|
protected |
Definition at line 52 of file pair_nnp.h.
Referenced by init_style(), and settings().
|
protected |
Definition at line 53 of file pair_nnp.h.
Referenced by init_style(), and settings().
|
protected |
Definition at line 54 of file pair_nnp.h.
Referenced by compute(), handleExtrapolationWarnings(), init_style(), and transferNeighborList().