/beegfs/hackathon/users/eoseret/qaas_runs_test/178-663-3091/intel/CoMD/build/CoMD/CoMD/src-openmp/haloExchange.c: 407 - 426
--------------------------------------------------------------------------------

407: {
408:    AtomExchangeParms* parms = (AtomExchangeParms*) vparms;
409:    SimFlat* s = (SimFlat*) data;
410:    AtomMsg* buf = (AtomMsg*) charBuf;
411:    int nBuf = bufSize / sizeof(AtomMsg);
412:    assert(bufSize % sizeof(AtomMsg) == 0);
413:    
414:    for (int ii=0; ii<nBuf; ++ii)
415:    {
416:       int gid   = buf[ii].gid;
417:       int type  = buf[ii].type;
418:       real_t rx = buf[ii].rx;
419:       real_t ry = buf[ii].ry;
420:       real_t rz = buf[ii].rz;
421:       real_t px = buf[ii].px;
422:       real_t py = buf[ii].py;
423:       real_t pz = buf[ii].pz;
424:       putAtomInBox(s->boxes, s->atoms, gid, type, rx, ry, rz, px, py, pz);
425:    }
426: }
