| version 1.112 | version 1.113 |
|---|
| |
| Vector pairForce = 0.; | Vector pairForce = 0.; |
| Lattice lattice = patchList[0].p->flags.lattice; | Lattice lattice = patchList[0].p->flags.lattice; |
| int g = 0; | int g = 0; |
| | if(!simParams->commOnly) { |
| for ( g=0; g<numGrids; ++g ) { | for ( g=0; g<numGrids; ++g ) { |
| #ifdef NETWORK_PROGRESS | #ifdef NETWORK_PROGRESS |
| CmiNetworkProgress(); | CmiNetworkProgress(); |
| |
| } | } |
| } | } |
| } | } |
| | } |
| | |
| delete [] localData; | delete [] localData; |
| delete [] localPartition; | delete [] localPartition; |
| |
| Force *f = r->f[Results::slow]; | Force *f = r->f[Results::slow]; |
| int numAtoms = (*ap).p->getNumAtoms(); | int numAtoms = (*ap).p->getNumAtoms(); |
| | |
| if ( ! strayChargeErrors ) { | if ( ! strayChargeErrors && ! simParams->commOnly ) { |
| for(int i=0; i<numAtoms; ++i) { | for(int i=0; i<numAtoms; ++i) { |
| f[i].x += results_ptr->x; | f[i].x += results_ptr->x; |
| f[i].y += results_ptr->y; | f[i].y += results_ptr->y; |