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

Comparing trunk/src/UseTheForce/ForceField.cpp (file contents):
Revision 1603 by gezelter, Mon Jul 25 17:30:53 2011 UTC vs.
Revision 1604 by jmichalk, Mon Aug 8 18:53:40 2011 UTC

# Line 440 | Line 440 | namespace OpenMD {
440    }
441    
442    NonBondedInteractionType* ForceField::getNonBondedInteractionType(const std::string &at1, const std::string &at2) {
443 +
444      std::vector<std::string> keys;
445      keys.push_back(at1);
446      keys.push_back(at2);    
# Line 502 | Line 503 | namespace OpenMD {
503          NonBondedInteractionType* bestType = nonBondedInteractionTypeCont_.find(theKeys);        
504          return bestType;
505        } else {
506 <        //if no exact match found, try wild card match
506 >         //if no exact match found, try wild card match
507          return nonBondedInteractionTypeCont_.find(keys, wildCardAtomTypeName_);
508        }
509      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines