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 1656 by jmichalk, Tue Oct 11 19:46:51 2011 UTC vs.
Revision 1710 by gezelter, Fri May 18 21:44:02 2012 UTC

# Line 36 | Line 36
36   * [1]  Meineke, et al., J. Comp. Chem. 26, 252-271 (2005).            
37   * [2]  Fennell & Gezelter, J. Chem. Phys. 124, 234104 (2006).          
38   * [3]  Sun, Lin & Gezelter, J. Chem. Phys. 128, 24107 (2008).          
39 < * [4]  Vardeman & Gezelter, in progress (2009).                        
39 > * [4]  Kuang & Gezelter,  J. Chem. Phys. 133, 164101 (2010).
40 > * [5]  Vardeman, Stocker & Gezelter, J. Chem. Theory Comput. 7, 834 (2011).
41   */
42  
43   #include "nonbonded/InteractionManager.hpp"
# Line 84 | Line 85 | namespace OpenMD {
85           atype1 = atomTypes->nextType(i1)) {
86        
87        // add it to the map:
87      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