ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/OpenMD/branches/development/src/nonbonded/InteractionManager.cpp
(Generate patch)

Comparing branches/development/src/nonbonded/InteractionManager.cpp (file contents):
Revision 1665 by gezelter, Tue Nov 22 20:38:56 2011 UTC vs.
Revision 1710 by gezelter, Fri May 18 21:44:02 2012 UTC

# Line 85 | Line 85 | namespace OpenMD {
85           atype1 = atomTypes->nextType(i1)) {
86        
87        // add it to the map:
88      AtomTypeProperties atp = atype1->getATP();    
88        
89        pair<map<int,AtomType*>::iterator,bool> ret;    
90 <      ret = typeMap_.insert( pair<int, AtomType*>(atp.ident, atype1) );
90 >      ret = typeMap_.insert( pair<int, AtomType*>(atype1->getIdent(), atype1) );
91        if (ret.second == false) {
92          sprintf( painCave.errMsg,
93                   "InteractionManager already had a previous entry with ident %d\n",
94 <                 atp.ident);
94 >                 atype1->getIdent());
95          painCave.severity = OPENMD_INFO;
96          painCave.isFatal = 0;
97          simError();                

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines