List of all members.
Additional Inherited Members |
vector< SimpleParticle > * | m_data |
Vec3 | m_p0 |
double | m_dim |
int | m_numInsertedParticles |
Constructor & Destructor Documentation
CSimple3DNTable::CSimple3DNTable |
( |
const Vec3 & |
pos, |
|
|
const Vec3 & |
dim, |
|
|
double |
r, |
|
|
bool |
xcirc = false , |
|
|
bool |
ycirc = false , |
|
|
bool |
zcirc = false |
|
) |
| |
Constructor
- Parameters:
-
pos | position of the (xmin,ymin,zmin) point |
dim | size of the space |
r | grid spacing |
Member Function Documentation
vector< int > CSimple3DNTable::allidx |
( |
const Vec3 & |
pos | ) |
const |
|
protectedvirtual |
Get all indices to which a particle at a given position will be added.
- Parameters:
-
- Warning:
- does not check if pos is within space
Implements ASimpleNTable.
Referenced by insertParticleCircular().
Put all interactions into a set
- Parameters:
-
iset | the set into which to put them |
dmax | max distance for the creation of an interaction |
Implements ASimpleNTable.
int CSimple3DNTable::index |
( |
const Vec3 & |
pos | ) |
const |
|
protectedvirtual |
Return the grid index of a position.
- Parameters:
-
- Warning:
- does not check if pos is within space
Implements ASimpleNTable.
The documentation for this class was generated from the following files: