Emdee
|
The FannThreeParticleForce class loads a pre-trained FANN network and uses this to calculate three-particle forces between a given set of atoms. More...
#include <fannthreeparticleforce.h>
Public Member Functions | |
FannThreeParticleForce () | |
void | loadNetwork (const std::string &fileName, const std::string &boundsFilename, double minDistance=0.0) |
void | calculateAndApplyForce (Atom *atom1, Atom *atom2, Atom *atom3) |
void | calculateAndApplyForce (Atom *atom1, Atom *atom2, Atom *atom3, const Vector3 &atom2Offset, const Vector3 &atom3Offset) |
Public Member Functions inherited from ThreeParticleForce | |
ThreeParticleForce () | |
void | setNewtonsThirdLawEnabled (bool enable) |
bool | isNewtonsThirdLawEnabled () |
void | setCalculatePressureEnabled (bool enable) |
bool | isCalculatePressureEnabled () |
void | setCalculatePotentialEnabled (bool enable) |
bool | isCalculatePotentialEnabled () |
double | cutoffRadius () const |
void | setCutoffRadius (double cutoffRadius) |
The FannThreeParticleForce class loads a pre-trained FANN network and uses this to calculate three-particle forces between a given set of atoms.
FannThreeParticleForce::FannThreeParticleForce | ( | ) |
|
virtual |
Implements ThreeParticleForce.
|
virtual |
Implements ThreeParticleForce.
void FannThreeParticleForce::loadNetwork | ( | const std::string & | fileName, |
const std::string & | boundsFilename, | ||
double | minDistance = 0.0 |
||
) |