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 1479 by gezelter, Mon Jul 26 19:00:48 2010 UTC vs.
Revision 1536 by gezelter, Wed Jan 5 14:49:05 2011 UTC

# Line 53 | Line 53 | namespace OpenMD {
53    public:    
54      CubicSpline();
55      virtual ~CubicSpline() {}
56 <    void addPoint(RealType xp, RealType yp);
56 >    void addPoint(const RealType xp, const RealType yp);
57      void addPoints(const vector<RealType>& xps, const vector<RealType>& yps);
58      RealType getValueAt(RealType t);
59      pair<RealType, RealType> getValueAndDerivativeAt(RealType t);
# Line 64 | Line 64 | namespace OpenMD {
64      bool generated;
65      RealType dx;
66      int n;
67 <    vector<pair<RealType, RealType> > data;
67 >    vector<pair<RealType, RealType> > data_;
68      vector<RealType> b;
69      vector<RealType> c;
70      vector<RealType> d;    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines