| 249 |  | Vector3d pos1, pos2, rab; | 
| 250 |  |  | 
| 251 |  | #ifdef IS_MPI | 
| 252 | + | std::cerr << "tap = " << tap.first << "  " << tap.second << std::endl; | 
| 253 |  |  | 
| 254 |  | int mol1 = info_->getGlobalMolMembership(tap.first); | 
| 255 |  | int mol2 = info_->getGlobalMolMembership(tap.second); | 
| 256 | < |  | 
| 256 | > | std::cerr << "mols = " << mol1 << " " << mol2 << std::endl; | 
| 257 | > |  | 
| 258 |  | int proc1 = info_->getMolToProc(mol1); | 
| 259 |  | int proc2 = info_->getMolToProc(mol2); | 
| 260 |  |  | 
| 261 | + | std::cerr << " procs = " << proc1 << " " <<proc2 <<std::endl; | 
| 262 | + |  | 
| 263 |  | RealType data[3]; | 
| 264 |  | if (proc1 == worldRank) { | 
| 265 |  | StuntDouble* sd1 = info_->getIOIndexToIntegrableObject(tap.first); | 
| 266 | + | std::cerr << " on proc " << proc1 << ", sd1 has global index= " << sd1->getGlobalIndex() << std::endl; | 
| 267 |  | pos1 = sd1->getPos(); | 
| 268 |  | data[0] = pos1.x(); | 
| 269 |  | data[1] = pos1.y(); | 
| 277 |  |  | 
| 278 |  | if (proc2 == worldRank) { | 
| 279 |  | StuntDouble* sd2 = info_->getIOIndexToIntegrableObject(tap.second); | 
| 280 | + | std::cerr << " on proc " << proc2 << ", sd2 has global index= " << sd2->getGlobalIndex() << std::endl; | 
| 281 |  | pos2 = sd2->getPos(); | 
| 282 |  | data[0] = pos2.x(); | 
| 283 |  | data[1] = pos2.y(); |