ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/math/CubicSpline.hpp
(Generate patch)

Comparing branches/development/src/math/CubicSpline.hpp (file contents):
Revision 1478 by gezelter, Wed Jul 21 17:51:22 2010 UTC vs.
Revision 1479 by gezelter, Mon Jul 26 19:00:48 2010 UTC

# Line 55 | Line 55 | namespace OpenMD {
55      virtual ~CubicSpline() {}
56      void addPoint(RealType xp, RealType yp);
57      void addPoints(const vector<RealType>& xps, const vector<RealType>& yps);
58    void generate();
58      RealType getValueAt(RealType t);
59      pair<RealType, RealType> getValueAndDerivativeAt(RealType t);
60      
61    private:
62 +    void generate();
63      bool isUniform;
64      bool generated;
65      RealType dx;
66      int n;
67      vector<pair<RealType, RealType> > data;
68    vector<RealType> x;
69    vector<RealType> y;
68      vector<RealType> b;
69      vector<RealType> c;
70      vector<RealType> d;    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines