milupHPC documentation
Public Member Functions | Public Attributes | List of all members
SubDomainKeyTreeHandler Class Reference

#include "subdomain_handler.h"

+ Collaboration diagram for SubDomainKeyTreeHandler:
Collaboration graph

Public Member Functions

 SubDomainKeyTreeHandler ()
 Constructor. More...
 
 ~SubDomainKeyTreeHandler ()
 Destructor. More...
 
void reset ()
 Resetting member variables. More...
 
void copy (To::Target target=To::device, bool range=true, bool counter=true)
 Copy (parts of the) SubDomainKeyTree instance(s) between host and device. More...
 

Public Attributes

integer h_rank
 host MPI rank More...
 
integer h_numProcesses
 host MPI number of processes More...
 
keyType * h_range
 host range(s) More...
 
integer * h_procParticleCounter
 host counter for particles in dependence of MPI process belonging More...
 
integer * d_rank
 device MPI rank More...
 
integer * d_numProcesses
 device MPI number of processes More...
 
keyType * d_range
 device range(s) More...
 
integer * d_procParticleCounter
 host counter for particles in dependence of MPI process belonging More...
 
SubDomainKeyTree * h_subDomainKeyTree
 host instance of class SubDomainKeyTree More...
 
SubDomainKeyTree * d_subDomainKeyTree
 device instance of class SubDomainKeyTree More...
 

Detailed Description

Handler for class SubDomainKeyTree

Definition at line 23 of file subdomain_handler.h.

Constructor & Destructor Documentation

◆ SubDomainKeyTreeHandler()

SubDomainKeyTreeHandler::SubDomainKeyTreeHandler ( )

Constructor.

Definition at line 3 of file subdomain_handler.cpp.

+ Here is the call graph for this function:

◆ ~SubDomainKeyTreeHandler()

SubDomainKeyTreeHandler::~SubDomainKeyTreeHandler ( )

Destructor.

Definition at line 25 of file subdomain_handler.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ copy()

void SubDomainKeyTreeHandler::copy ( To::Target  target = To::device,
bool  range = true,
bool  counter = true 
)

Copy (parts of the) SubDomainKeyTree instance(s) between host and device.

Parameters
targetcopy to target
rangeflag whether range(s) should be copied
counterflag whether counter should be copied

Definition at line 43 of file subdomain_handler.cpp.

+ Here is the call graph for this function:

◆ reset()

void SubDomainKeyTreeHandler::reset ( )

Resetting member variables.

Setting counter for particles in dependence of MPI process to zero

Definition at line 36 of file subdomain_handler.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ d_numProcesses

integer* SubDomainKeyTreeHandler::d_numProcesses

device MPI number of processes

Definition at line 38 of file subdomain_handler.h.

◆ d_procParticleCounter

integer* SubDomainKeyTreeHandler::d_procParticleCounter

host counter for particles in dependence of MPI process belonging

Definition at line 43 of file subdomain_handler.h.

◆ d_range

keyType* SubDomainKeyTreeHandler::d_range

device range(s)

Definition at line 40 of file subdomain_handler.h.

◆ d_rank

integer* SubDomainKeyTreeHandler::d_rank

device MPI rank

Definition at line 36 of file subdomain_handler.h.

◆ d_subDomainKeyTree

SubDomainKeyTree* SubDomainKeyTreeHandler::d_subDomainKeyTree

device instance of class SubDomainKeyTree

Definition at line 48 of file subdomain_handler.h.

◆ h_numProcesses

integer SubDomainKeyTreeHandler::h_numProcesses

host MPI number of processes

Definition at line 29 of file subdomain_handler.h.

◆ h_procParticleCounter

integer* SubDomainKeyTreeHandler::h_procParticleCounter

host counter for particles in dependence of MPI process belonging

Definition at line 33 of file subdomain_handler.h.

◆ h_range

keyType* SubDomainKeyTreeHandler::h_range

host range(s)

Definition at line 31 of file subdomain_handler.h.

◆ h_rank

integer SubDomainKeyTreeHandler::h_rank

host MPI rank

Definition at line 27 of file subdomain_handler.h.

◆ h_subDomainKeyTree

SubDomainKeyTree* SubDomainKeyTreeHandler::h_subDomainKeyTree

host instance of class SubDomainKeyTree

Definition at line 46 of file subdomain_handler.h.


The documentation for this class was generated from the following files:
  • include/subdomain_key_tree/subdomain_handler.h
  • src/subdomain_key_tree/subdomain_handler.cpp

milupHPC - SubDomainKeyTreeHandler Class Reference
Generated on Wed Aug 31 2022 12:16:53 by Doxygen 1.9.3