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" |
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(); |