allocate_2d Interface

public interface allocate_2d

Called by

interface~~allocate_2d~~CalledByGraph interface~allocate_2d allocate_2d program~scattering SCATTERING program~scattering->interface~allocate_2d

Contents


Subroutines

public pure module subroutine allocate_2d_dp(array_, size1_, size2_)

allocate a 2d array and fill it with 0s (double precision version)

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(inout), allocatable :: array_(:,:)
integer(kind=int32), intent(in) :: size1_
integer(kind=int32), intent(in) :: size2_

public pure module subroutine allocate_2d_int32(array_, size1_, size2_)

allocate a 2d array and fill it with 0s (integer version)

Arguments

Type IntentOptional Attributes Name
integer(kind=int32), intent(inout), allocatable :: array_(:,:)
integer(kind=int32), intent(in) :: size1_
integer(kind=int32), intent(in) :: size2_

public pure module subroutine allocate_2d_sp(array_, size1_, size2_)

allocate a 2d array and fill it with 0s (single precision version)

Arguments

Type IntentOptional Attributes Name
real(kind=sp), intent(inout), allocatable :: array_(:,:)
integer(kind=int32), intent(in) :: size1_
integer(kind=int32), intent(in) :: size2_