1 #ifndef MD_EWALD_RSPACE_ACCUMULATOR_h 2 #define MD_EWALD_RSPACE_ACCUMULATOR_h 5 #include <util/space/Tensor.h> 6 #include <util/misc/Setable.h> 32 rSpaceEnergy_.unset();
33 rSpaceStress_.unset();
37 { pairPotentialPtr_ = &potential; }
43 {
return rSpaceEnergy_.isSet(); }
49 {
return rSpaceStress_.isSet(); }
54 double rSpaceEnergy();
Implementation of a pair potential for a charged system.
A Tensor represents a Cartesian tensor.
bool isSetEnergy() const
Is the r-space energy set?
Utility classes for scientific computation.
Utility class to store r-space Coulomb energy and stress.
bool isSetStress() const
Is the r-space stress set?
Single-processor Monte Carlo (MC) and molecular dynamics (MD).
Interface for a Pair Potential.