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 |
Detailed Description
template<typename T>
class TTempPartStore< T >
class for the temporary storage and distribution of particle data
Constructor & Destructor Documentation
Construct a new TTempPartStore
- Parameters
-
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 |
Member Function Documentation
add a connection between2 particles to the storage
- Parameters
-
id1 | the Id of the first particle |
id2 | the Id of the second particle |
tag | the connection tag |
- Warning
- not implemented
Implements ATempPartStore.
add a new particle to the storage
- Parameters
-
template<typename T >
void TTempPartStore< T >::addSlaveID |
( |
int |
cx, |
|
|
int |
cy, |
|
|
int |
cz, |
|
|
int |
rank |
|
) |
| |
|
virtual |
add a new slave to the coordinate->rank mapping table
- Parameters
-
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.
The documentation for this class was generated from the following files: