| 129 |
|
if (!initialized_) initialize(); |
| 130 |
|
|
| 131 |
|
map<pair<AtomType*, AtomType*>, MAWInteractionData>::iterator it; |
| 132 |
< |
it = MixingMap.find( *(idat.atypes) ); |
| 132 |
> |
it = MixingMap.find( idat.atypes ); |
| 133 |
|
if (it != MixingMap.end()) { |
| 134 |
|
MAWInteractionData mixer = (*it).second; |
| 135 |
|
|
| 144 |
|
RealType ca1 = mixer.ca1; |
| 145 |
|
RealType cb1 = mixer.cb1; |
| 146 |
|
|
| 147 |
< |
bool j_is_Metal = idat.atypes->second->isMetal(); |
| 147 |
> |
bool j_is_Metal = idat.atypes.second->isMetal(); |
| 148 |
|
|
| 149 |
|
Vector3d r; |
| 150 |
|
RotMat3x3d Atrans; |
| 221 |
|
|
| 222 |
|
RealType pot_temp = *(idat.vdwMult) * Vmorse * Vang; |
| 223 |
|
*(idat.vpair) += pot_temp; |
| 224 |
< |
idat.pot[VANDERWAALS_FAMILY] += *(idat.sw) * pot_temp; |
| 224 |
> |
(*(idat.pot))[VANDERWAALS_FAMILY] += *(idat.sw) * pot_temp; |
| 225 |
|
|
| 226 |
|
Vector3d dVmorsedr = (myDeriv - myDerivC) * Vector3d(x, y, z) / *(idat.rij) ; |
| 227 |
|
|