# | Line 54 | Line 54 | namespace OpenMD { | |
---|---|---|
54 | SC::SC() : name_("SC"), initialized_(false), forceField_(NULL), | |
55 | scRcut_(0.0), np_(3000) {} | |
56 | ||
57 | + | SC::~SC() { |
58 | + | initialized_ = false; |
59 | + | |
60 | + | MixingMap.clear(); |
61 | + | SCMap.clear(); |
62 | + | SClist.clear(); |
63 | + | } |
64 | + | |
65 | RealType SC::getM(AtomType* atomType1, AtomType* atomType2) { | |
66 | SuttonChenAdapter sca1 = SuttonChenAdapter(atomType1); | |
67 | SuttonChenAdapter sca2 = SuttonChenAdapter(atomType2); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |