| # | Line 57 | Line 57 | namespace OpenMD { | |
|---|---|---|
| 57 | SC::~SC() { | |
| 58 | initialized_ = false; | |
| 59 | ||
| 60 | – | map<pair<AtomType*, AtomType*>, SCInteractionData>::iterator it; |
| 61 | – | for (it = MixingMap.begin(); it != MixingMap.end(); ++it) { |
| 62 | – | SCInteractionData mixer = (*it).second; |
| 63 | – | delete mixer.V; |
| 64 | – | delete mixer.phi; |
| 65 | – | } |
| 66 | – | |
| 60 | MixingMap.clear(); | |
| 61 | SCMap.clear(); | |
| 62 | SClist.clear(); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |