private function mpi_grp_constructor(comm) result(mpi_grp)
Contructor for mpi_grp_t class.
This sets the communicator of the group and gets the size of the group and
rank of current process. If no communicator is provided, it will use
the default defined when calling mpi_mod_init.
Note that when the undefined communicator is used, the group size is 1 and
the rank to 0, such that the code can work in serial mode.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.