par_t Derived Type

type, public :: par_t

Stores parallel domain related information


Inherited by

type~~par_t~~InheritedByGraph type~par_t par_t type~mesh_t mesh_t type~mesh_t->type~par_t par type~allocator_t allocator_t type~allocator_t->type~mesh_t mesh type~base_backend_t base_backend_t type~base_backend_t->type~mesh_t mesh type~base_backend_t->type~allocator_t allocator type~solver_t solver_t type~solver_t->type~mesh_t mesh type~solver_t->type~allocator_t host_allocator type~solver_t->type~base_backend_t backend type~time_intg_t time_intg_t type~solver_t->type~time_intg_t time_integrator type~vector_calculus_t vector_calculus_t type~solver_t->type~vector_calculus_t vector_calculus type~base_case_t base_case_t type~base_case_t->type~solver_t solver type~cuda_allocator_t cuda_allocator_t type~cuda_allocator_t->type~allocator_t type~cuda_backend_t cuda_backend_t type~cuda_backend_t->type~base_backend_t type~omp_backend_t omp_backend_t type~omp_backend_t->type~base_backend_t type~time_intg_t->type~allocator_t allocator type~time_intg_t->type~base_backend_t backend type~vector_calculus_t->type~base_backend_t backend type~case_channel_t case_channel_t type~case_channel_t->type~base_case_t type~case_generic_t case_generic_t type~case_generic_t->type~base_case_t type~case_tgv_t case_tgv_t type~case_tgv_t->type~base_case_t

Components

Type Visibility Attributes Name Initial
integer, public :: nrank
integer, public :: nproc
integer, public, dimension(3) :: nrank_dir
integer, public, dimension(3) :: nproc_dir
integer, public, dimension(3) :: n_offset
integer, public, dimension(3) :: pnext
integer, public, dimension(3) :: pprev

Type-Bound Procedures

procedure, public :: is_root

  • public pure function is_root(self) result(is_root_rank)

    Returns wether or not the current rank is the root rank

    Arguments

    Type IntentOptional Attributes Name
    class(par_t), intent(in) :: self

    Return Value logical

procedure, public :: compute_rank_pos_from_global

  • public pure subroutine compute_rank_pos_from_global(self, global_ranks)

    From the global rank maps, fills in the rank position as well as the previous and next rank in the par structure

    Arguments

    Type IntentOptional Attributes Name
    class(par_t), intent(inout) :: self
    integer, intent(in), dimension(:, :, :) :: global_ranks