Abstract base class for Ewald summation in arbitrary dimension. More...
#include <Coulomb.h>
Public Member Functions | |
virtual double | energyAndGrad (std::vector< Atom > &atoms) const =0 |
Abstract base class for Ewald summation in arbitrary dimension.
|
pure virtual |
Get the energy of a point charge configurtaion, and accumulate corresponding forces The implementation will shift each Atom::pos by lattice vectors to bring it to the fundamental zone (or Wigner-Seitz cell as appropriate)