src/libparty.cc
// return the rank that a particle p lives on (sync bboxes first)
return the rank that a particle p lives on (sync bboxes first)
return the rank that a particle p lives on ( sync bboxes first )
int part_sys::checkproc( part p) {
  if (checkbbox(p.pos, bboxes[mproc])) {
    return mproc;
  } else {
    for(int proc=0; proc < nprocs; proc++) {
      if (checkbbox(p.pos, bboxes[proc])) {
        return proc;
      } 
    }
    return -1;
  }
}
int part_sys :: checkproc ( part p ) { if ( checkbbox ( p . pos , bboxes [ mproc ] ) ) { return mproc ; } else { for ( int proc = 0 ; proc < nprocs ; proc ++ ) { if ( checkbbox ( p . pos , bboxes [ proc ] ) ) { return proc ; } } return -1 ; } }
return the rank that a particle p lives on (sync bboxes first)
return the rank that a particle p lives on ( sync bboxes first )
//when we cant find a bbox, stage the particle to be deleted //    p.del = true;