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 1769 by tim, Fri Nov 19 17:56:32 2004 UTC vs.
Revision 1770 by tim, Tue Nov 23 17:53:43 2004 UTC

# Line 80 | Line 80 | bool ForceField::addAtomType(const std::string &at, At
80  
81   }
82  
83 + BondType* getExactBondType(const std::string &at1, const std::string &at2){
84 +    std::vector<std::string> keys;
85 +    keys.push_back(at1);
86 +    keys.push_back(at2);    
87 +    return bondTypeCont_.find(keys);
88 + }
89 +
90 + BendType* getExactBendType(const std::string &at1, const std::string &at2,
91 +                            const std::string &at3){
92 +    std::vector<std::string> keys;
93 +    keys.push_back(at1);
94 +    keys.push_back(at2);    
95 +    keys.push_back(at3);    
96 +    return bendTypeCont_.find(keys);
97 + }
98 +
99 + TorsionType* getExactTorsionType(const std::string &at1, const std::string &at2,
100 +                                  const std::string &at3, const std::string &at4){
101 +    std::vector<std::string> keys;
102 +    keys.push_back(at1);
103 +    keys.push_back(at2);    
104 +    keys.push_back(at3);    
105 +    keys.push_back(at4);  
106 +    return torsionTypeCont_.find(keys);
107 + }
108   bool ForceField::addAtomType(const std::string &at, AtomType* atomType) {
109      std::vector<std::string> keys;
110      keys.push_back(at);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines