24 #ifndef QMCPLUSPLUS_EWALD_REF_H 25 #define QMCPLUSPLUS_EWALD_REF_H
helper functions for EinsplineSetBuilder
std::vector< real_t > ChargeArray
Type for lists of particle charges.
real_t ewaldEnergy(const RealMat &a, const PosArray &R, const ChargeArray &Q, real_t tol)
Compute the total Ewald potential energy for a collection of charges.
int int_t
Type for integers.
std::vector< RealVec > PosArray
Type for lists of particle positions.
Tensor<T,D> class for D by D tensor.
double real_t
Type for floating point numbers.