ESyS-Particle
4.0.1
|
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 |
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 |
void TTempPartStore< T >::addConnection | ( | int | id1, |
int | id2, | ||
int | tag | ||
) | [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.
void TTempPartStore< T >::addParticle | ( | const T & | p | ) | [virtual] |
add a new particle to the storage
p | the particle |
void TTempPartStore< T >::addSlaveID | ( | int | cx, |
int | cy, | ||
int | cz, | ||
int | rank | ||
) | [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.