expand_da_long Subroutine

public subroutine expand_da_long(me, increment, length)

expanding the dynamic array

this is a helping subroutine, which doubles the container of the given dynamic array. as the container might be initially 0-sized, a module variable minlength has been introduced, which is used here, to at least create a container of this size.

Arguments

TypeIntentOptionalAttributesName
type(dyn_longarray_type) :: me
integer, optional :: increment
integer, intent(in), optional :: length

optional length to expand the array


Called by

proc~~expand_da_long~~CalledByGraph proc~expand_da_long expand_da_long interface~expand~16 expand interface~expand~16->proc~expand_da_long

Contents


Variables

TypeVisibilityAttributesNameInitial
integer(kind=long_k), public, allocatable:: swpval(:)
integer, public, allocatable:: swpsort(:)
integer, public :: addvals
integer, public :: explen