Documentation for module cp_para_types

type to store parallelization informations (at the moment assumes 1d position and uses mpi). type def in this separate module to avoid circular ref.

source: cp_para_types.F
Loading...

public Types:

cp_para_env_p_type
represent a pointer to a para env (to build arrays)
cp_para_env_type
stores all the informations relevant to an mpi environement
cp_para_cart_type
represent a multidimensional parallel environment

public Types:

TYPE :: cp_para_cart_type

represent a multidimensional parallel environment


LOGICAL
:: owns_group if it owns the group (and thus should free it when this object is deallocated)
INTEGER
:: ndims ...
INTEGER
:: rank ...
INTEGER
:: ntask ...
INTEGER,
DIMENSION(:), POINTER :: mepos the position of the actual processor
INTEGER,
DIMENSION(:), POINTER :: source id of a special processor (for example the one for i-o, or the master
INTEGER,
DIMENSION(:), POINTER :: num_pe number of processors in the group in each dimension
LOGICAL,
DIMENSION(:), POINTER :: periodic ...
INTEGER
:: group id of the actual group (context, communicator)
INTEGER
:: ref_count the reference count, when it is zero this object gets deallocated

TYPE :: cp_para_env_p_type

represent a pointer to a para env (to build arrays)


POINTER :: para_env the pointer to the para_env

TYPE :: cp_para_env_type

stores all the informations relevant to an mpi environement


LOGICAL
:: owns_group if it owns the group (and thus should free it when this object is deallocated)
LOGICAL
:: ionode ...
INTEGER
:: mepos rank of the actual processor
INTEGER
:: source rank of a special processor (for example the one for i-o, or the master
INTEGER
:: num_pe number of processors in the communicator
INTEGER
:: ref_count the reference count, when it is zero this object gets deallocated
INTEGER
:: group id of the actual mpi communicator (I know that it is confusing, but this is not the mpi group)