ESyS-Particle  4.0.1
Public Member Functions
TTempPartStore< T > Class Template Reference

class for the temporary storage and distribution of particle data More...

#include <TempPartStore.h>

Inheritance diagram for TTempPartStore< T >:
Inheritance graph
[legend]
Collaboration diagram for TTempPartStore< T >:
Collaboration graph
[legend]

List of all members.

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

template<typename T >
TTempPartStore< T >::TTempPartStore ( const Vec3 min,
const Vec3 max,
int  nx,
int  ny,
int  nz 
)

Construct a new TTempPartStore

Parameters:
minminimum corner of the volume
maxmaximum corner of the volume
nxnr. of slaves in x-direction
nynr. of slaves in y-direction
nznr. of slaves in z-direction

Member Function Documentation

template<typename T >
void TTempPartStore< T >::addConnection ( int  id1,
int  id2,
int  tag 
) [virtual]

add a connection between2 particles to the storage

Parameters:
id1the Id of the first particle
id2the Id of the second particle
tagthe connection tag
Warning:
not implemented

Implements ATempPartStore.

template<typename T >
void TTempPartStore< T >::addParticle ( const T &  p) [virtual]

add a new particle to the storage

Parameters:
pthe particle
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:
cxx-coordinate of the slave
cyy-coordinate of the slave
czz-coordinate of the slave
rankthe rank of the slave (in MPI_COMM_WORLD)

Implements ATempPartStore.


The documentation for this class was generated from the following files: