struct rgpot::StageTally¶
Overview¶
What forceStage adds up besides the forces. More…
#include <Staged.hpp>
struct StageTally {
// fields
double energy = 0.0;
double virial[6] = {};
PerAtomOut atoms {};
};
Detailed Documentation¶
What forceStage adds up besides the forces.
The host’s share of the energy and of the virial W = -V sigma, in the Voigt order of stress.hpp (xx yy zz yz xz xy): all of a pair that only this host lists, half of a pair that both hosts list, and the site energy of each owned atom. Per-atom arrays, when set, take the split of PerAtom.hpp over nAtoms entries; a copy’s entries are written only with HalfList::newton, for the host to add to its owner.