94 typename std::deque<PARTICLETYPE<T> >::iterator& p,
102 int latticeR[3] = { 0 };
103 _sg.getCuboidGeometry().get(p->getCuboid()).getFloorLatticeR(latticeR, &p->getPos()[0]);
110 _sg.getLoadBalancer().loc(p->getCuboid()));
112 int iX = latticeR[0];
113 int iY = latticeR[1];
114 int iZ = latticeR[2];
115 for (_matIter = _materials.begin(); _matIter != _materials.end(); _matIter++) {
116 if (bg.
get({iX, iY, iZ}) == *_matIter ||
117 bg.
get({iX, iY+1, iZ}) == *_matIter ||
118 bg.
get({iX, iY, iZ+1}) == *_matIter ||
119 bg.
get({iX, iY+1, iZ+1}) == *_matIter ||
120 bg.
get({iX+1, iY, iZ}) == *_matIter ||
121 bg.
get({iX+1, iY+1, iZ}) == *_matIter ||
122 bg.
get({iX+1, iY, iZ+1}) == *_matIter ||
123 bg.
get({iX+1, iY+1, iZ+1}) == *_matIter
131 _stlReader.distance(distance,
Vector<T,3>(p->getPos()), p->getVel());
132 if ( std::abs(distance) < p->getRad())