# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |