| # | Line 1001 | Line 1001 | namespace OpenMD { | |
|---|---|---|
| 1001 | ||
| 1002 | void ForceMatrixDecomposition::unpackInteractionData(InteractionData &idat, int atom1, int atom2) { | |
| 1003 | #ifdef IS_MPI | |
| 1004 | < | pot_row[atom1] += 0.5 * *(idat.pot); |
| 1005 | < | pot_col[atom2] += 0.5 * *(idat.pot); |
| 1004 | > | pot_row[atom1] += RealType(0.5) * *(idat.pot); |
| 1005 | > | pot_col[atom2] += RealType(0.5) * *(idat.pot); |
| 1006 | ||
| 1007 | atomRowData.force[atom1] += *(idat.f1); | |
| 1008 | atomColData.force[atom2] -= *(idat.f1); | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines |
| > | Changed lines |