ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-4/src/UseTheForce/ForceField.cpp
(Generate patch)

Comparing branches/new_design/OOPSE-4/src/UseTheForce/ForceField.cpp (file contents):
Revision 1740 by tim, Mon Nov 15 23:00:32 2004 UTC vs.
Revision 1758 by tim, Fri Nov 19 17:56:32 2004 UTC

# Line 80 | Line 80 | void ForceField::addAtomType(const std::string &at, At
80  
81   }
82  
83 < void ForceField::addAtomType(const std::string &at, AtomType* atomType) {
83 > bool ForceField::addAtomType(const std::string &at, AtomType* atomType) {
84      std::vector<std::string> keys;
85      keys.push_back(at);
86      return atomTypeCont_.add(keys);
87   }
88  
89 < void ForceField::addBondType(const std::string &at1, const std::string &at2, BondType* bondType) {
89 > bool ForceField::addBondType(const std::string &at1, const std::string &at2, BondType* bondType) {
90      std::vector<std::string> keys;
91      keys.push_back(at1);
92      keys.push_back(at2);    
# Line 94 | Line 94 | void ForceField::addBendType(const std::string &at1, c
94  
95   }
96  
97 < void ForceField::addBendType(const std::string &at1, const std::string &at2,
97 > bool ForceField::addBendType(const std::string &at1, const std::string &at2,
98                          const std::string &at3, BendType* bendType) {
99      std::vector<std::string> keys;
100      keys.push_back(at1);
# Line 103 | Line 103 | void ForceField::addTorsionType(const std::string &at1
103      return bendTypeCont_.add(keys);
104   }
105  
106 < void ForceField::addTorsionType(const std::string &at1, const std::string &at2,
106 > bool ForceField::addTorsionType(const std::string &at1, const std::string &at2,
107                                const std::string &at3, const std::string &at4, TorsionType* torsionType) {
108      std::vector<std::string> keys;
109      keys.push_back(at1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines