1 #ifndef DOMAIN_DECOMPOSITION_HPP
2 #define DOMAIN_DECOMPOSITION_HPP
12 template<
class Device>
33 void update(
int new_f0_inode1);
60 Kokkos::View<int*,Kokkos::LayoutRight,Device>
gvid0_pid;
bool decompose_fields
Whether to decompose fields.
Definition: domain_decomposition.hpp:51
int plane_totalpe
Processors per plane?
Definition: domain_decomposition.hpp:44
int plane_index
Offset of local plane.
Definition: domain_decomposition.hpp:48
Definition: grid_weights.hpp:47
Definition: NamelistReader.hpp:193
int node_offset
Offset of first mesh node belonging to this MPI rank.
Definition: domain_decomposition.hpp:55
void update_pol_decomp()
Definition: domain_decomposition.tpp:145
int nnodes
Number of nodes belonging to this MPI rank.
Definition: domain_decomposition.hpp:56
int my_pid
ID of this processor.
Definition: domain_decomposition.hpp:46
int pe_per_plane
Processors per plane.
Definition: domain_decomposition.hpp:43
Definition: my_mpi.hpp:19
int n_pids
Processors per plane?
Definition: domain_decomposition.hpp:45
int nnodes_on_plane
Number of nodes on local plane.
Definition: domain_decomposition.hpp:49
void setup_gvid0_pid(NLReader::NamelistReader &nlr, int nnodes_in)
Definition: domain_decomposition.tpp:79
void update(int new_f0_inode1)
Definition: domain_decomposition.tpp:125
Definition: field_decomposition.hpp:12
int nplanes
Definition: domain_decomposition.hpp:25
Kokkos::View< int *, Kokkos::LayoutRight, Device > gvid0_pid
Which processors get which vertices.
Definition: domain_decomposition.hpp:60
int my_plane_pid
Poloidal ID of this processor.
Definition: domain_decomposition.hpp:47
KOKKOS_INLINE_FUNCTION void node_to_rank(const SimdGridWeights< Order::Zero, PIT_GLOBAL > &grid_wts0, const Simd< int > &iphi, bool plane_sort_only, Simd< int > &pid) const
Definition: domain_decomposition.tpp:185
DomainDecomposition(NLReader::NamelistReader &nlr)
Definition: domain_decomposition.tpp:32
Definition: domain_decomposition.hpp:13
FieldDecomposition< Device > field_decomp
Definition: domain_decomposition.hpp:52
bool pol_decomp
Use poloidal decomposition.
Definition: domain_decomposition.hpp:42
KOKKOS_INLINE_FUNCTION int node_to_plane_rank(int node) const
Definition: domain_decomposition.tpp:167
Kokkos::View< int *, Kokkos::LayoutRight, HostType > gvid0_pid_h
Which processors get which vertices (host)
Definition: domain_decomposition.hpp:59