radiation_mpi_t Derived Type

type, public :: radiation_mpi_t

MPI context for radiation operations.


Inherits

type~~radiation_mpi_t~~InheritsGraph type~radiation_mpi_t radiation_mpi_t MPI_Comm MPI_Comm type~radiation_mpi_t->MPI_Comm comm

Components

Type Visibility Attributes Name Initial
type(MPI_Comm), public :: comm = MPI_COMM_NULL
integer, public :: first_task = 0
integer, public :: last_task = -1
integer, public :: nlocal_tasks = 0
integer, public :: nprocs = 0
integer, public :: rank = -1

Source Code

   type :: radiation_mpi_t
      type(MPI_Comm) :: comm = MPI_COMM_NULL !< MPI Communicator.
      integer :: rank = -1                   !< Local rank ID.
      integer :: nprocs = 0                  !< Total number of radiation processors.
      integer :: first_task = 0              !< First task index owned by this rank.
      integer :: last_task = -1              !< Last task index owned by this rank.
      integer :: nlocal_tasks = 0            !< Total number of tasks owned locally.
   end type radiation_mpi_t