comm_handler_t Derived Type

type, public :: comm_handler_t

MPI topology and communicators


Contents


Finalization Procedures

final :: destructor

  • public subroutine destructor(self)

    Arguments

    Type IntentOptional Attributes Name
    type(comm_handler_t), intent(inout) :: self

Type-Bound Procedures

procedure, public :: init

  • public subroutine init(self, comm_old, nplanes, nspecies)

    Initialises MPI topology and communicators

    Arguments

    Type IntentOptional Attributes Name
    class(comm_handler_t), intent(inout) :: self

    Instance of type

    integer, intent(in) :: comm_old

    Communicator topology is created on

    integer, intent(in) :: nplanes

    Number of poloidal planes

    integer, intent(in) :: nspecies

    Number of species

procedure, public :: get_comm_cart

  • public pure function get_comm_cart(self)

    Arguments

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

    Return Value integer

procedure, public :: get_ncart

  • public pure function get_ncart(self)

    Arguments

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

    Return Value integer

procedure, public :: get_rank

  • public pure function get_rank(self)

    Arguments

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

    Return Value integer

procedure, public :: get_comm_planes

  • public pure function get_comm_planes(self)

    Arguments

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

    Return Value integer

procedure, public :: get_nplanes

  • public pure function get_nplanes(self)

    Arguments

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

    Return Value integer

procedure, public :: get_plane

  • public pure function get_plane(self)

    Arguments

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

    Return Value integer

procedure, public :: get_comm_species

  • public pure function get_comm_species(self)

    Arguments

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

    Return Value integer

procedure, public :: get_nspecies

  • public pure function get_nspecies(self)

    Arguments

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

    Return Value integer

procedure, public :: get_species

  • public pure function get_species(self)

    Arguments

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

    Return Value integer

procedure, public :: say_hello

  • public subroutine say_hello(self)

    Arguments

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