struct rgpot::Locality¶
Overview¶
struct Locality {
// fields
double cutoff = 0.0;
bool pairwise = false;
int densities = 0;
// methods
bool finite() const;
double forceRange() const;
};
Detailed Documentation¶
Fields¶
double cutoff = 0.0
Range of a site energy, in the length unit of the potential.
bool pairwise = false
Every energy term is a function of one pair distance.
int densities = 0
Values per atom that the density stage of Staged.hpp sums over the neighbours and the force stage reads at both atoms of a pair. 0 for a potential without densities.
Methods¶
double forceRange() const
Distance within which the atoms set the force on one atom.