Emdee
|
The FannTwoParticleForce class loads a pre-trained FANN network and uses this to calculate two-particle forces between a given set of atoms. More...
#include <fanntwoparticleforce.h>
Public Member Functions | |
FannTwoParticleForce () | |
void | addNetwork (const AtomType &atomType1, const AtomType &atomType2, const std::string &fileName, const std::string &boundsFilename) |
virtual void | calculateAndApplyForce (Atom *atom1, Atom *atom2) |
virtual void | calculateAndApplyForce (Atom *atom1, Atom *atom2, const Vector3 &atom2Offset) |
Public Member Functions inherited from TwoParticleForce | |
TwoParticleForce () | |
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 FannTwoParticleForce class loads a pre-trained FANN network and uses this to calculate two-particle forces between a given set of atoms.
FannTwoParticleForce::FannTwoParticleForce | ( | ) |
void FannTwoParticleForce::addNetwork | ( | const AtomType & | atomType1, |
const AtomType & | atomType2, | ||
const std::string & | fileName, | ||
const std::string & | boundsFilename | ||
) |
Reimplemented from TwoParticleForce.
|
virtual |
Implements TwoParticleForce.