nd_to_2d_mapping Derived Type

type, public :: nd_to_2d_mapping


Components

Type Visibility Attributes Name Initial
integer, public :: ndim_nd = -1
integer, public :: ndim1_2d = -1
integer, public :: ndim2_2d = -1
integer, public, DIMENSION(:), ALLOCATABLE :: dims_nd
integer(kind=int_8), public, DIMENSION(2) :: dims_2d = -1_int_8
integer, public, DIMENSION(:), ALLOCATABLE :: dims1_2d
integer, public, DIMENSION(:), ALLOCATABLE :: dims2_2d
integer, public, DIMENSION(:), ALLOCATABLE :: map1_2d
integer, public, DIMENSION(:), ALLOCATABLE :: map2_2d
integer, public, DIMENSION(:), ALLOCATABLE :: map_nd
integer, public :: base = -1
logical, public :: col_major = .FALSE.

Source Code

   TYPE nd_to_2d_mapping
      INTEGER                                      :: ndim_nd = -1
      INTEGER                                      :: ndim1_2d = -1
      INTEGER                                      :: ndim2_2d = -1

      INTEGER, DIMENSION(:), ALLOCATABLE           :: dims_nd
      INTEGER(KIND=int_8), DIMENSION(2)            :: dims_2d = -1_int_8
      INTEGER, DIMENSION(:), ALLOCATABLE           :: dims1_2d
      INTEGER, DIMENSION(:), ALLOCATABLE           :: dims2_2d

      INTEGER, DIMENSION(:), ALLOCATABLE           :: map1_2d
      INTEGER, DIMENSION(:), ALLOCATABLE           :: map2_2d
      INTEGER, DIMENSION(:), ALLOCATABLE           :: map_nd

      INTEGER                                      :: base = -1
      LOGICAL                                      :: col_major = .FALSE.
   END TYPE nd_to_2d_mapping