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; |
654 |
– |
cerr << "ats = " << atom1 << " " << atom2 << "d = " << *(idat.d) << " f1 = " << f1 << "\n"; |
655 |
|
tau -= outProduct( *(idat.d), f1); |
656 |
|
} |
657 |
|
} |