resize Interface

public interface resize

Overloaded resize interface


Module Procedures

private pure subroutine resize_char(var, n)

Reallocate list of characters

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(inout), allocatable :: var(:)

Instance of the array to be resized

integer, intent(in), optional :: n

Dimension of the final array size

private pure subroutine resize_int(var, n)

Reallocate list of integers

Arguments

Type IntentOptional Attributes Name
integer, intent(inout), allocatable :: var(:)

Instance of the array to be resized

integer, intent(in), optional :: n

Dimension of the final array size

private pure subroutine resize_logical(var, n)

Reallocate list of logicals

Arguments

Type IntentOptional Attributes Name
logical, intent(inout), allocatable :: var(:)

Instance of the array to be resized

integer, intent(in), optional :: n

Dimension of the final array size

private pure subroutine resize_real(var, n)

Reallocate list of reals

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(inout), allocatable :: var(:)

Instance of the array to be resized

integer, intent(in), optional :: n

Dimension of the final array size

private pure subroutine resize_real_2d(var, n)

Reallocate list of reals

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(inout), allocatable :: var(:,:)

Instance of the array to be resized

integer, intent(in), optional :: n

Dimension of the final array size