|
XGC1
|
#include <field_decomposition.hpp>

Public Member Functions | |
| FieldDecomposition () | |
| FieldDecomposition (NLReader::NamelistReader &nlr, int nplanes, int nnodes) | |
| KOKKOS_INLINE_FUNCTION int | find_domain_owner (int global_plane_index, int nplanes_total, int global_node_index, int nnodes_total) const |
| int | all_n_nodes (int local_pid) const |
| int | all_n_planes (int local_pid, int nplanes) const |
Public Attributes | |
| int | n_ranks |
| Number of ranks the field will be divided between. More... | |
| int | n_phi_domains |
| Number of domains in the phi direction. More... | |
| int | n_pol_domains |
| Number of domains in the poloidal plane. More... | |
| int | n_ghost_planes |
| Number of ghost planes on each side of domain. More... | |
| int | n_ghost_vertices |
| Number of ghost vertices on each side of domain. More... | |
| int | first_owned_node |
| First mesh node belonging to this rank, NOT including ghost nodes. More... | |
| int | nnodes_owned |
| Number of nodes belonging to this rank, NOT including ghost nodes. More... | |
| int | first_owned_plane |
| First plane belonging to this rank, NOT including ghost planes. More... | |
| int | nplanes_owned |
| Number of planes belonging to this rank, NOT including ghost planes. More... | |
| int | first_node |
| First mesh node belonging to this rank, including ghost nodes. More... | |
| int | last_node |
| Last node belonging to this rank, including ghost nodes. More... | |
| int | n_nodes |
| Number of nodes belonging to this rank, including ghost nodes. More... | |
| int | first_plane |
| First plane belonging to this rank, including ghost planes. More... | |
| int | last_plane |
| Last plane belonging to this rank, including ghost planes. More... | |
| int | n_planes |
| Number of planes belonging to this rank, including ghost planes. More... | |
| bool | use_near_field |
| For better load balancing, have each rank retain the field near its global domain decomposition in addition to its secondary domain. More... | |
| View< int *, CLayout, HostType > | map_from_global_intpl |
| Rank in this communicator for each rank global intpl. More... | |
| View< int *, CLayout, HostType > | all_first_node |
| First node of each rank. More... | |
| View< int *, CLayout, HostType > | all_last_node |
| Last node of each rank. More... | |
| View< int *, CLayout, HostType > | all_first_plane |
| First plane of each rank. More... | |
| View< int *, CLayout, HostType > | all_last_plane |
| Last plane of each rank. More... | |
|
inline |
|
inline |

|
inline |
|
inline |

|
inline |
| View<int*,CLayout,HostType> FieldDecomposition< Device >::all_first_node |
First node of each rank.
| View<int*,CLayout,HostType> FieldDecomposition< Device >::all_first_plane |
First plane of each rank.
| View<int*,CLayout,HostType> FieldDecomposition< Device >::all_last_node |
Last node of each rank.
| View<int*,CLayout,HostType> FieldDecomposition< Device >::all_last_plane |
Last plane of each rank.
| int FieldDecomposition< Device >::first_node |
First mesh node belonging to this rank, including ghost nodes.
| int FieldDecomposition< Device >::first_owned_node |
First mesh node belonging to this rank, NOT including ghost nodes.
| int FieldDecomposition< Device >::first_owned_plane |
First plane belonging to this rank, NOT including ghost planes.
| int FieldDecomposition< Device >::first_plane |
First plane belonging to this rank, including ghost planes.
| int FieldDecomposition< Device >::last_node |
Last node belonging to this rank, including ghost nodes.
| int FieldDecomposition< Device >::last_plane |
Last plane belonging to this rank, including ghost planes.
| View<int*,CLayout,HostType> FieldDecomposition< Device >::map_from_global_intpl |
Rank in this communicator for each rank global intpl.
| int FieldDecomposition< Device >::n_ghost_planes |
Number of ghost planes on each side of domain.
| int FieldDecomposition< Device >::n_ghost_vertices |
Number of ghost vertices on each side of domain.
| int FieldDecomposition< Device >::n_nodes |
Number of nodes belonging to this rank, including ghost nodes.
| int FieldDecomposition< Device >::n_phi_domains |
Number of domains in the phi direction.
| int FieldDecomposition< Device >::n_planes |
Number of planes belonging to this rank, including ghost planes.
| int FieldDecomposition< Device >::n_pol_domains |
Number of domains in the poloidal plane.
| int FieldDecomposition< Device >::n_ranks |
Number of ranks the field will be divided between.
| int FieldDecomposition< Device >::nnodes_owned |
Number of nodes belonging to this rank, NOT including ghost nodes.
| int FieldDecomposition< Device >::nplanes_owned |
Number of planes belonging to this rank, NOT including ghost planes.
| bool FieldDecomposition< Device >::use_near_field |
For better load balancing, have each rank retain the field near its global domain decomposition in addition to its secondary domain.