Simpatico
v1.10
|
Utility class to store r-space Coulomb energy and stress.
Definition at line 20 of file EwaldRSpaceAccumulator.h.
#include <EwaldRSpaceAccumulator.h>
Public Member Functions | |
bool | isSetEnergy () const |
Is the r-space energy set? More... | |
bool | isSetStress () const |
Is the r-space stress set? More... | |
double | rSpaceEnergy () |
Return the r-space energy (compute if necessary). More... | |
Tensor | rSpaceStress () |
Return the r-space stress (compute if necessary). More... | |
|
inline |
Is the r-space energy set?
Definition at line 42 of file EwaldRSpaceAccumulator.h.
|
inline |
Is the r-space stress set?
Definition at line 48 of file EwaldRSpaceAccumulator.h.
double McMd::EwaldRSpaceAccumulator::rSpaceEnergy | ( | ) |
Return the r-space energy (compute if necessary).
Definition at line 13 of file EwaldRSpaceAccumulator.cpp.
References UTIL_CHECK.
Referenced by McMd::MdCoulombPotential::rSpaceEnergy().
Tensor McMd::EwaldRSpaceAccumulator::rSpaceStress | ( | ) |
Return the r-space stress (compute if necessary).
Definition at line 25 of file EwaldRSpaceAccumulator.cpp.
References UTIL_CHECK.
Referenced by McMd::MdCoulombPotential::computeStress(), McMd::MdCoulombPotential::rSpaceStress(), and McMd::MdCoulombPotential::stress().