module fd4_globaldef_mod module fd4_mpi_mod module stack3_modTypes:
public type fd4_mdsdVariables:
integer, public, parameter :: FD4_MD_MAX_PART = FD4_COUPLE_MAX_PARTITIONSSubroutines and functions:
public subroutine fd4_mdsd_free (mdsd) private subroutine fd4_mdsd_serialize (mdsd) private subroutine fd4_mdsd_unserialize (mdsd)
Author: Matthias Lieber
public type fd4_mdsd type (stack3), dimension (FD4_MD_MAX_PART) :: desc_rank type (stack3), dimension (FD4_MD_MAX_PART) :: desc_abnd end type fd4_mdsdComponents:
desc_rank | rank, start and end index in desc_var (one stack3 entry) |
desc_abnd | abnd (two stack3 entries) of a couple array |
A meta data subdomain is a rectangular subsection of the block decomposition and contains all metadata that is located or begins within this subdomain.
public subroutine fd4_mdsd_free (mdsd) type (fd4_mdsd), pointer :: mdsd end subroutine fd4_mdsd_free
private subroutine fd4_mdsd_serialize (mdsd) type (fd4_mdsd), pointer :: mdsd end subroutine fd4_mdsd_serializeSerialize all stack3s of the mdsd so that they together use one single array.
CAUTION: Do not call any of the stack3s subroutines for the stacks of a serialized mdsd.
private subroutine fd4_mdsd_unserialize (mdsd) type (fd4_mdsd), pointer :: mdsd end subroutine fd4_mdsd_unserializeUnserialize all stack3s of the mdsd