Public Member Functions | |
collisionCheck (box sBox, real dx, const realx3Vector &pos, const realVector &diam) | |
bool | checkPoint (const realx3 &p, const real d) const |
bool | mapLastAddedParticle () |
Private Member Functions | |
int32x3 | pointIndex (const realx3 &p) const |
bool | build () |
Private Attributes | |
box | searchBox_ |
real | dx_ |
int32x3 | nCells_ |
const realx3Vector & | position_ |
const realVector & | diameters_ |
uint32Vector | next_ |
ViewType3D< uint32, HostSpace > | head_ |
Definition at line 13 of file collisionCheck.hpp.
collisionCheck | ( | box | sBox, |
real | dx, | ||
const realx3Vector & | pos, | ||
const realVector & | diam | ||
) |
Definition at line 25 of file collisionCheck.cpp.
References collisionCheck::build(), and fatalExit.
Definition at line 31 of file collisionCheck.hpp.
References collisionCheck::dx_, box::minPoint(), and collisionCheck::searchBox_.
Referenced by collisionCheck::build().
|
private |
Definition at line 4 of file collisionCheck.cpp.
References pFlow::endl(), fatalErrorInFunction, pFlow::fill(), collisionCheck::head_, box::isInside(), collisionCheck::next_, collisionCheck::pointIndex(), collisionCheck::position_, collisionCheck::searchBox_, and Vector< T, Allocator >::size().
Referenced by collisionCheck::collisionCheck().
Definition at line 46 of file collisionCheck.cpp.
References length(), pFlow::max(), pFlow::min(), and n.
Referenced by positionRandom::positionOnePass().
bool mapLastAddedParticle | ( | ) |
Definition at line 79 of file collisionCheck.cpp.
References pFlow::endl(), fatalErrorInFunction, and n.
Referenced by positionRandom::positionOnePass().
|
private |
Definition at line 17 of file collisionCheck.hpp.
Referenced by collisionCheck::build(), and collisionCheck::pointIndex().
|
private |
Definition at line 19 of file collisionCheck.hpp.
Referenced by collisionCheck::pointIndex().
|
private |
Definition at line 21 of file collisionCheck.hpp.
|
private |
Definition at line 23 of file collisionCheck.hpp.
Referenced by collisionCheck::build().
|
private |
Definition at line 25 of file collisionCheck.hpp.
|
private |
Definition at line 27 of file collisionCheck.hpp.
Referenced by collisionCheck::build().
|
private |
Definition at line 29 of file collisionCheck.hpp.
Referenced by collisionCheck::build().