DomainDecomposition Derived Type

type, public :: DomainDecomposition

Type to represent the domain decomposition for parallel processing


Components

Type Visibility Attributes Name Initial
integer, public :: communicator

The ID of the communicator for this domain

integer, public :: dims(2)

The dimensions of the MPI communicators Cartesian grid

integer, public :: neighbours(4)

The ranks of the neighbouring ranks - [down, left, up, right]


Source Code

    type :: DomainDecomposition
        !> The ID of the communicator for this domain
        integer :: communicator
        !> The dimensions of the MPI communicators Cartesian grid
        integer :: dims(2)
        !> The ranks of the neighbouring ranks - [down, left, up, right]
        integer :: neighbours(4)
    end type DomainDecomposition