type_int_3d Derived Type

type, public :: type_int_3d


Components

Type Visibility Attributes Name Initial
integer(kind=int32), public, allocatable :: x(:)
integer(kind=int32), public, allocatable :: y(:)
integer(kind=int32), public, allocatable :: z(:)

Type-Bound Procedures

procedure, public, pass(self) :: destroy => destroy_type_int_3d

procedure, public, pass(self) :: initialize => initialize_type_int_3d

  • private subroutine initialize_type_int_3d(self, length, initialize_value)

    Arguments

    Type IntentOptional Attributes Name
    class(type_int_3d), intent(inout) :: self
    integer(kind=int32), intent(in) :: length
    integer(kind=int32), intent(in), optional :: initialize_value

Source Code

    type :: type_int_3d
        integer(int32), allocatable :: x(:)
        integer(int32), allocatable :: y(:)
        integer(int32), allocatable :: z(:)
    contains
        procedure, pass(self) :: initialize => initialize_type_int_3d
        procedure, pass(self) :: destroy => destroy_type_int_3d
    end type type_int_3d