| 386 |
|
} |
| 387 |
|
|
| 388 |
|
// Zero out the stress tensor |
| 389 |
< |
tau = Mat3x3d(0.0); |
| 389 |
> |
tau *= 0.0; |
| 390 |
|
|
| 391 |
|
} |
| 392 |
|
|
| 618 |
|
for (vector<int>::iterator jb = atomListColumn.begin(); |
| 619 |
|
jb != atomListColumn.end(); ++jb) { |
| 620 |
|
atom2 = (*jb); |
| 621 |
< |
|
| 621 |
> |
|
| 622 |
|
if (!fDecomp_->skipAtomPair(atom1, atom2)) { |
| 623 |
|
vpair = 0.0; |
| 624 |
|
workPot = 0.0; |
| 640 |
|
idat.d = &d; |
| 641 |
|
idat.r2 = &r2; |
| 642 |
|
} |
| 643 |
< |
|
| 643 |
> |
|
| 644 |
|
r = sqrt( *(idat.r2) ); |
| 645 |
|
idat.rij = &r; |
| 646 |
|
|
| 649 |
|
} else { |
| 650 |
|
interactionMan_->doPair(idat); |
| 651 |
|
fDecomp_->unpackInteractionData(idat, atom1, atom2); |
| 652 |
+ |
|
| 653 |
|
vij += vpair; |
| 654 |
|
fij += f1; |
| 655 |
|
tau -= outProduct( *(idat.d), f1); |