Emdee
|
The InteratomicForce class calculates forces between atoms. More...
#include <threeparticleforce.h>
Public Member Functions | |
ThreeParticleForce () | |
virtual void | calculateAndApplyForce (Atom *atom1, Atom *atom2, Atom *atom3)=0 |
virtual void | calculateAndApplyForce (Atom *atom1, Atom *atom2, Atom *atom3, const Vector3 &atom2Offset, const Vector3 &atom3Offset)=0 |
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 InteratomicForce class calculates forces between atoms.
The ThreeParticleForce class is the base class for three-particle forces and potentials.
ThreeParticleForce::ThreeParticleForce | ( | ) |
|
pure virtual |
Implemented in FannThreeParticleForce, VashishtaThreeParticleForce, and KohenThreeParticleForce.
|
pure virtual |
Implemented in FannThreeParticleForce, VashishtaThreeParticleForce, and KohenThreeParticleForce.
double ThreeParticleForce::cutoffRadius | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void ThreeParticleForce::setCutoffRadius | ( | double | cutoffRadius) |
|
inline |