| # | Line 259 | Line 259 | namespace OpenMD { | |
|---|---|---|
| 259 | } | |
| 260 | } | |
| 261 | ||
| 262 | + | ndfLocal_ = ndf_local; |
| 263 | + | |
| 264 | // n_constraints is local, so subtract them on each processor | |
| 265 | ndf_local -= nConstraints_; | |
| 266 | ||
| # | Line 799 | Line 801 | namespace OpenMD { | |
| 801 | usesDirectional |= (*i)->isDirectional(); | |
| 802 | usesFluctuatingCharges |= (*i)->isFluctuatingCharge(); | |
| 803 | } | |
| 804 | < | |
| 804 | > | |
| 805 | #ifdef IS_MPI | |
| 806 | int temp; | |
| 807 | temp = usesDirectional; | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |