create_block Interface

public interface create_block

Module Procedures

private subroutine create_block_data_r_dp(block, sizes, array)

Create block from array, array can be n-dimensional.

Arguments

Type IntentOptional Attributes Name
type(block_nd), intent(out) :: block
integer, intent(in), DIMENSION(:) :: sizes
real(kind=real_8), intent(in), DIMENSION(PRODUCT(sizes)) :: array

private subroutine create_block_data_r_sp(block, sizes, array)

Create block from array, array can be n-dimensional.

Arguments

Type IntentOptional Attributes Name
type(block_nd), intent(out) :: block
integer, intent(in), DIMENSION(:) :: sizes
real(kind=real_4), intent(in), DIMENSION(PRODUCT(sizes)) :: array

private subroutine create_block_data_c_dp(block, sizes, array)

Create block from array, array can be n-dimensional.

Arguments

Type IntentOptional Attributes Name
type(block_nd), intent(out) :: block
integer, intent(in), DIMENSION(:) :: sizes
complex(kind=real_8), intent(in), DIMENSION(PRODUCT(sizes)) :: array

private subroutine create_block_data_c_sp(block, sizes, array)

Create block from array, array can be n-dimensional.

Arguments

Type IntentOptional Attributes Name
type(block_nd), intent(out) :: block
integer, intent(in), DIMENSION(:) :: sizes
complex(kind=real_4), intent(in), DIMENSION(PRODUCT(sizes)) :: array

private subroutine create_block_nodata(block, sizes, data_type)

Create block without data

Arguments

Type IntentOptional Attributes Name
type(block_nd), intent(out) :: block
integer, intent(in), DIMENSION(:) :: sizes
integer, intent(in) :: data_type