Revision: | 682 |
Committed: | Tue Aug 12 17:51:33 2003 UTC (21 years ago) by tim |
File size: | 382 byte(s) |
Log Message: | added harmonical potential to z-constraint method |
# | User | Rev | Content |
---|---|---|---|
1 | tim | 658 | #include "GenericData.hpp" |
2 | |||
3 | GenericData::GenericData(){ | ||
4 | |||
5 | id = "undefined"; | ||
6 | |||
7 | } | ||
8 | |||
9 | GenericData& GenericData::operator = (const GenericData& rhs){ | ||
10 | |||
11 | if(this == &rhs) | ||
12 | return (*this); | ||
13 | |||
14 | id = rhs.id; | ||
15 | |||
16 | return *this; | ||
17 | } | ||
18 | |||
19 | tim | 682 | ZConsParaData::ZConsParaData(){ |
20 | id = ZCONSPARADATA_ID; | ||
21 | tim | 658 | } |
22 | |||
23 | tim | 682 | void ZConsParaData::sortByIndex(){ |
24 | sort(data.begin(), data.end(), ZConsParaSortCriterion()); | ||
25 | } |