SubDomainKeyTree class handling rank, number of processes and ranges. More...
Public Member Functions | |
CUDA_CALLABLE_MEMBER | SubDomainKeyTree () |
Default Constructor. More... | |
CUDA_CALLABLE_MEMBER | SubDomainKeyTree (integer rank, integer numProcesses, keyType *range, integer *procParticleCounter) |
Constructor. More... | |
CUDA_CALLABLE_MEMBER | ~SubDomainKeyTree () |
Destructor. More... | |
CUDA_CALLABLE_MEMBER void | set (integer rank, integer numProcesses, keyType *range, integer *procParticleCounter) |
Setter. More... | |
CUDA_CALLABLE_MEMBER integer | key2proc (keyType key) |
Compute particle's MPI process belonging by it's key. More... | |
CUDA_CALLABLE_MEMBER bool | isDomainListNode (keyType key, integer maxLevel, integer level, Curve::Type curveType=Curve::lebesgue) |
Check whether key, thus particle, represents a domain list node. More... | |
Public Attributes | |
integer | rank |
MPI rank. More... | |
integer | numProcesses |
MPI number of processes. More... | |
keyType * | range |
Space-filling curve ranges, mapping key ranges/borders to MPI processes. More... | |
integer * | procParticleCounter |
particle counter in dependence of MPI process(es) More... | |
SubDomainKeyTree class handling rank, number of processes and ranges.
Definition at line 62 of file subdomain.cuh.
CUDA_CALLABLE_MEMBER SubDomainKeyTree::SubDomainKeyTree | ( | ) |
Default Constructor.
Definition at line 21 of file subdomain.cu.
CUDA_CALLABLE_MEMBER SubDomainKeyTree::SubDomainKeyTree | ( | integer | rank, |
integer | numProcesses, | ||
keyType * | range, | ||
integer * | procParticleCounter | ||
) |
Constructor.
rank | MPI rank |
numProcesses | MPI number of processes |
range | key ranges/borders |
procParticleCounter | // particle counter in dependence of MPI processes |
Definition at line 25 of file subdomain.cu.
CUDA_CALLABLE_MEMBER SubDomainKeyTree::~SubDomainKeyTree | ( | ) |
Destructor.
Definition at line 32 of file subdomain.cu.
CUDA_CALLABLE_MEMBER bool SubDomainKeyTree::isDomainListNode | ( | keyType | key, |
integer | maxLevel, | ||
integer | level, | ||
Curve::Type | curveType = Curve::lebesgue |
||
) |
Check whether key, thus particle, represents a domain list node.
key | input key, representing a particle/pseudo-particle/node |
maxLevel | max tree level |
level | level of input key/particle |
curveType | space-filling curve type (Lebesgue/Hilbert) |
Definition at line 79 of file subdomain.cu.
CUDA_CALLABLE_MEMBER integer SubDomainKeyTree::key2proc | ( | keyType | key | ) |
Compute particle's MPI process belonging by it's key.
key | input key, representing a particle/pseudo-particle/node |
Definition at line 68 of file subdomain.cu.
CUDA_CALLABLE_MEMBER void SubDomainKeyTree::set | ( | integer | rank, |
integer | numProcesses, | ||
keyType * | range, | ||
integer * | procParticleCounter | ||
) |
Setter.
rank | MPI rank |
numProcesses | MPI number of processes |
range | key ranges/borders |
procParticleCounter | // particle counter in dependence of MPI processes |
Definition at line 36 of file subdomain.cu.
integer SubDomainKeyTree::numProcesses |
MPI number of processes.
Definition at line 68 of file subdomain.cuh.
integer* SubDomainKeyTree::procParticleCounter |
particle counter in dependence of MPI process(es)
Definition at line 73 of file subdomain.cuh.
keyType* SubDomainKeyTree::range |
Space-filling curve ranges, mapping key ranges/borders to MPI processes.
Definition at line 70 of file subdomain.cuh.
integer SubDomainKeyTree::rank |
MPI rank.
Definition at line 66 of file subdomain.cuh.