--- branches/development/src/math/CubicSpline.hpp 2010/07/21 17:51:22 1475 +++ branches/development/src/math/CubicSpline.hpp 2010/07/26 19:00:48 1479 @@ -55,18 +55,16 @@ namespace OpenMD { virtual ~CubicSpline() {} void addPoint(RealType xp, RealType yp); void addPoints(const vector& xps, const vector& yps); - void generate(); RealType getValueAt(RealType t); pair getValueAndDerivativeAt(RealType t); private: + void generate(); bool isUniform; bool generated; RealType dx; int n; vector > data; - vector x; - vector y; vector b; vector c; vector d;