XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
DomainDecomposition< Device > Class Template Reference

#include <domain_decomposition.hpp>

Public Member Functions

 DomainDecomposition ()
 
 DomainDecomposition (NLReader::NamelistReader &nlr, int nplanes)
 
void update_pol_decomp ()
 

Public Attributes

bool pol_decomp
 Use poloidal decomposition. More...
 
int pe_per_plane
 Processors per plane. More...
 
int plane_totalpe
 Processors per plane? More...
 
int n_pids
 Processors per plane? More...
 
int my_pid
 ID of this processor. More...
 
int my_plane_pid
 Poloidal ID of this processor. More...
 
int first_node
 First mesh node belonging to this MPI rank. More...
 
int nnodes
 Number of nodes belonging to this MPI rank. More...
 
Kokkos::View< int
*, Kokkos::LayoutRight,
HostType
gvid0_pid_h
 Which processors get which vertices (host) More...
 
Kokkos::View< int
*, Kokkos::LayoutRight, Device > 
gvid0_pid
 Which processors get which vertices. More...
 
Kokkos::View< int
*, Kokkos::LayoutRight,
HostType
gvid0_pid_old_h
 Which processors had which vertices (host) More...
 

Constructor & Destructor Documentation

template<class Device>
DomainDecomposition< Device >::DomainDecomposition ( )
inline
template<class Device >
DomainDecomposition< Device >::DomainDecomposition ( NLReader::NamelistReader nlr,
int  nplanes 
)

Constructor for DomainDecomposition class

Here is the call graph for this function:

Member Function Documentation

template<class Device >
void DomainDecomposition< Device >::update_pol_decomp ( )

Update the poloidal decomposition. Pretty sure that gvid0_pid is the only thing that actually needs to be updated

Here is the caller graph for this function:

Member Data Documentation

template<class Device>
int DomainDecomposition< Device >::first_node

First mesh node belonging to this MPI rank.

template<class Device>
Kokkos::View<int*,Kokkos::LayoutRight,Device> DomainDecomposition< Device >::gvid0_pid

Which processors get which vertices.

template<class Device>
Kokkos::View<int*,Kokkos::LayoutRight,HostType> DomainDecomposition< Device >::gvid0_pid_h

Which processors get which vertices (host)

template<class Device>
Kokkos::View<int*,Kokkos::LayoutRight,HostType> DomainDecomposition< Device >::gvid0_pid_old_h

Which processors had which vertices (host)

template<class Device>
int DomainDecomposition< Device >::my_pid

ID of this processor.

template<class Device>
int DomainDecomposition< Device >::my_plane_pid

Poloidal ID of this processor.

template<class Device>
int DomainDecomposition< Device >::n_pids

Processors per plane?

template<class Device>
int DomainDecomposition< Device >::nnodes

Number of nodes belonging to this MPI rank.

template<class Device>
int DomainDecomposition< Device >::pe_per_plane

Processors per plane.

template<class Device>
int DomainDecomposition< Device >::plane_totalpe

Processors per plane?

template<class Device>
bool DomainDecomposition< Device >::pol_decomp

Use poloidal decomposition.


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