From c95e1103c7584ff69f9309a2bb5251c9aeefb67e Mon Sep 17 00:00:00 2001 From: Ye Luo Date: Sun, 29 Jul 2018 19:33:55 -0500 Subject: [PATCH] Remove unused PairDataType struct in DistanceTableData --- src/Particle/DistanceTableData.h | 37 -------------------------------- 1 file changed, 37 deletions(-) diff --git a/src/Particle/DistanceTableData.h b/src/Particle/DistanceTableData.h index 18d0191b8..3ead33919 100644 --- a/src/Particle/DistanceTableData.h +++ b/src/Particle/DistanceTableData.h @@ -31,43 +31,6 @@ namespace qmcplusplus { -/** container for the pair data - */ -template -struct PairDataType -{ - ///distance-related data - T r, rr, rinv; - ///displacement vector - TinyVector dr; - ///default constructor - inline PairDataType() {} - ///copy constructor - inline PairDataType(const PairDataType& p):r(p.r),rr(p.rr),rinv(p.rinv),dr(p.dr) {} - ///copy operator - inline PairDataType& operator=(const PairDataType& p) - { - r=p.r; - rr=p.rr; - rinv=p.rinv; - dr=p.dr; - return *this; - } - ///set the values - inline void set(const TinyVector& displ, T sep2) - { - r=sqrt(sep2); - rr=sep2; - rinv=1.0/r; - dr=displ; - } - ///clear the value - inline void reset() - { - r=0.0; - } -}; - /** @defgroup nnlist Distance-table group * @brief class to manage a set of data for distance relations between ParticleSet objects. */