ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/nonbonded/SC.cpp
(Generate patch)

Comparing branches/development/src/nonbonded/SC.cpp (file contents):
Revision 1868 by gezelter, Tue Apr 30 15:56:54 2013 UTC vs.
Revision 1869 by gezelter, Tue Apr 30 17:03:03 2013 UTC

# 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();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines