626 |
|
Snapshot* curSnapshot = info_->getSnapshotManager()->getCurrentSnapshot(); |
627 |
|
DataStorage* config = &(curSnapshot->atomData); |
628 |
|
DataStorage* cgConfig = &(curSnapshot->cgData); |
629 |
– |
int jstart, jend; |
629 |
|
|
630 |
|
//calculate the center of mass of cutoff group |
631 |
|
|
658 |
|
RealType electroMult, vdwMult; |
659 |
|
RealType vij; |
660 |
|
Vector3d fij, fg, f1; |
662 |
– |
tuple3<RealType, RealType, RealType> cuts; |
663 |
– |
RealType rCut, rCutSq, rListSq; |
661 |
|
bool in_switching_region; |
662 |
|
RealType sw, dswdr, swderiv; |
663 |
|
vector<int> atomListColumn, atomListRow; |
722 |
|
} |
723 |
|
} |
724 |
|
|
725 |
< |
for (unsigned int cg1 = 0; cg1 < point_.size() - 1; cg1++) { |
725 |
> |
for (cg1 = 0; cg1 < point_.size() - 1; cg1++) { |
726 |
|
|
727 |
|
atomListRow = fDecomp_->getAtomsInGroupRow(cg1); |
728 |
|
newAtom1 = true; |