ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/ConstraintPair.hpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/ConstraintPair.hpp (file contents):
Revision 1451 by gezelter, Mon Jun 7 14:26:33 2004 UTC vs.
Revision 1452 by tim, Mon Aug 23 15:11:36 2004 UTC

# Line 12 | Line 12 | class ConstraintPair{
12  
13      bool isMoved() {return firstElem->getMoved() || secondElem->getMoved();}
14      virtual double getBondLength2() = 0;
15 +
16 +    double getLamda() {return lamda;}
17 +    void setLamda(double l) {lamda = l;}
18 +
19 +    //double getDistance();
20      
21    protected:
22      ConstraintPair(ConstraintElement* ce1, ConstraintElement* ce2) : firstElem(ce1), secondElem(ce2){}
23 +
24 +  private:
25 +    double lamda;
26   };
27  
28  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines