radiation_mpi_t Derived Type

type, public :: radiation_mpi_t

MPI context for radiation operations.


Components

Type Visibility Attributes Name Initial
type(MPI_Comm), public :: comm = MPI_COMM_NULL
integer, public :: first_task = 0
integer, public :: first_wavenumber = 0
integer, public :: last_task = -1
integer, public :: last_wavenumber = -1
integer, public :: nlocal_tasks = 0
integer, public :: nlocal_wavenumbers = 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.
      integer :: first_wavenumber = 0        !< Alias for first spectral/wavenumber index owned by this radiation rank.
      integer :: last_wavenumber = -1        !< Alias for last spectral/wavenumber index owned by this radiation rank.
      integer :: nlocal_wavenumbers = 0      !< Number of spectral/wavenumber tasks owned locally.
   end type radiation_mpi_t