XGCa
|
#include <domain_decomposition.hpp>
Public Member Functions | |
DomainDecomposition (NLReader::NamelistReader &nlr, int nplanes, int nnodes) | |
DomainDecomposition (int nranks_in) | |
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 | plane_index |
Offset of local plane. More... | |
bool | decompose_fields |
Whether to decompose fields. More... | |
FieldDecomposition< Device > | field_decomp |
int | node_offset |
Offset of 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... | |
DomainDecomposition< Device >::DomainDecomposition | ( | NLReader::NamelistReader & | nlr, |
int | nplanes, | ||
int | nnodes | ||
) |
DomainDecomposition< Device >::DomainDecomposition | ( | int | nranks_in | ) |
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
bool DomainDecomposition< Device >::decompose_fields |
Whether to decompose fields.
FieldDecomposition<Device> DomainDecomposition< Device >::field_decomp |
Kokkos::View<int*,Kokkos::LayoutRight,Device> DomainDecomposition< Device >::gvid0_pid |
Which processors get which vertices.
Kokkos::View<int*,Kokkos::LayoutRight,HostType> DomainDecomposition< Device >::gvid0_pid_h |
Which processors get which vertices (host)
int DomainDecomposition< Device >::my_pid |
ID of this processor.
int DomainDecomposition< Device >::my_plane_pid |
Poloidal ID of this processor.
int DomainDecomposition< Device >::n_pids |
Processors per plane?
int DomainDecomposition< Device >::nnodes |
Number of nodes belonging to this MPI rank.
int DomainDecomposition< Device >::node_offset |
Offset of first mesh node belonging to this MPI rank.
int DomainDecomposition< Device >::pe_per_plane |
Processors per plane.
int DomainDecomposition< Device >::plane_index |
Offset of local plane.
int DomainDecomposition< Device >::plane_totalpe |
Processors per plane?
bool DomainDecomposition< Device >::pol_decomp |
Use poloidal decomposition.