ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/trunk/src/brains/ForceField.cpp
(Generate patch)

Comparing trunk/src/UseTheForce/ForceField.cpp (file contents):
Revision 1277 by gezelter, Mon Jul 14 12:35:58 2008 UTC vs.
Revision 1282 by gezelter, Wed Jul 30 18:11:19 2008 UTC

# Line 515 | Line 515 | namespace oopse {
515      std::vector<std::string> keys;
516      keys.push_back(at);
517      return atomTypeCont_.add(keys, atomType);
518 +  }
519 +
520 +  bool ForceField::replaceAtomType(const std::string &at, AtomType* atomType) {
521 +    std::vector<std::string> keys;
522 +    keys.push_back(at);
523 +    return atomTypeCont_.replace(keys, atomType);
524    }
525  
526    bool ForceField::addBondType(const std::string &at1, const std::string &at2,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines