| 951 |  | } | 
| 952 |  |  | 
| 953 |  | #else | 
| 954 | + |  | 
| 955 |  |  | 
| 956 | + | // cerr << "atoms = " << atom1 << " " << atom2 << "\n"; | 
| 957 | + | // cerr << "pos1 = " << snap_->atomData.position[atom1] << "\n"; | 
| 958 | + | // cerr << "pos2 = " << snap_->atomData.position[atom2] << "\n"; | 
| 959 | + |  | 
| 960 |  | idat.atypes = make_pair( atypesLocal[atom1], atypesLocal[atom2]); | 
| 961 |  | //idat.atypes = make_pair( ff_->getAtomType(idents[atom1]), | 
| 962 |  | //                         ff_->getAtomType(idents[atom2]) ); | 
| 1006 |  |  | 
| 1007 |  | void ForceMatrixDecomposition::unpackInteractionData(InteractionData &idat, int atom1, int atom2) { | 
| 1008 |  | #ifdef IS_MPI | 
| 1009 | < | pot_row[atom1] += 0.5 *  *(idat.pot); | 
| 1010 | < | pot_col[atom2] += 0.5 *  *(idat.pot); | 
| 1009 | > | pot_row[atom1] += RealType(0.5) *  *(idat.pot); | 
| 1010 | > | pot_col[atom2] += RealType(0.5) *  *(idat.pot); | 
| 1011 |  |  | 
| 1012 |  | atomRowData.force[atom1] += *(idat.f1); | 
| 1013 |  | atomColData.force[atom2] -= *(idat.f1); |