|
ESyS-Particle
2.3.4
|
class for the temporary storage and distribution of particle data More...
#include <TempPartStore.h>


Public Member Functions | |
| TTempPartStore (const Vec3 &, const Vec3 &, int, int, int) | |
| virtual void | addSlaveID (int, int, int, int) |
| virtual void | addParticle (const T &) |
| virtual void | addConnection (int, int, int) |
| const multimap< int, T > & | getMap () const |
Public Member Functions inherited from ATempPartStore | |
| virtual | ~ATempPartStore () |
Private Member Functions | |
| int | coordsToIndex (int, int, int) |
| int | posToIndex (const Vec3 &) |
Private Attributes | |
| multimap< int, T > | m_mmap |
| map< int, typename multimap< int, T >::iterator > | m_by_id |
| map< int, int > | m_slave_id_map |
| double | m_xmin |
| double | m_xsize |
| double | m_ymin |
| double | m_ysize |
| double | m_zmin |
| double | m_zsize |
| int | m_nx |
| int | m_ny |
| int | m_nz |
class for the temporary storage and distribution of particle data
| TTempPartStore< T >::TTempPartStore | ( | const Vec3 & | min, |
| const Vec3 & | max, | ||
| int | nx, | ||
| int | ny, | ||
| int | nz | ||
| ) |
Construct a new TTempPartStore
| min | minimum corner of the volume |
| max | maximum corner of the volume |
| nx | nr. of slaves in x-direction |
| ny | nr. of slaves in y-direction |
| nz | nr. of slaves in z-direction |
References Vec3::X(), Vec3::Y(), and Vec3::Z().

|
virtual |
add a connection between2 particles to the storage
| id1 | the Id of the first particle |
| id2 | the Id of the second particle |
| tag | the connection tag |
Implements ATempPartStore.
|
virtual |
add a new particle to the storage
| p | the particle |
|
virtual |
add a new slave to the coordinate->rank mapping table
| cx | x-coordinate of the slave |
| cy | y-coordinate of the slave |
| cz | z-coordinate of the slave |
| rank | the rank of the slave (in MPI_COMM_WORLD) |
Implements ATempPartStore.
|
private |
helper function which translates block coordinates into an index
| x | the x coordinate |
| y | the y coordinate |
| z | the z coordinate |
|
inline |
References TTempPartStore< T >::m_mmap.
|
private |
|
private |
|
private |
Referenced by TTempPartStore< T >::getMap().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |