expand_da_projection Subroutine

private subroutine expand_da_projection(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_projectionarray_type) :: me
integer, optional :: increment
integer, intent(in), optional :: length

optional length to expand the array


Called by

proc~~expand_da_projection~~CalledByGraph proc~expand_da_projection expand_da_projection interface~expand~9 expand interface~expand~9->proc~expand_da_projection proc~append_da_vecprojection append_da_vecprojection proc~append_da_vecprojection->interface~expand~9 proc~append_da_projection append_da_projection proc~append_da_projection->interface~expand~9 interface~append~9 append interface~append~9->proc~append_da_vecprojection interface~append~9->proc~append_da_projection proc~sorttruncate_da_projection sorttruncate_da_projection proc~sorttruncate_da_projection->interface~append~9 proc~ply_fill_dynprojectarray ply_fill_dynProjectArray proc~ply_fill_dynprojectarray->interface~append~9

Contents


Variables

TypeVisibilityAttributesNameInitial
type(ply_prj_init_type), private, allocatable:: swpval(:)
integer, private, allocatable:: swpsort(:)
integer, private :: addvals
integer, private :: explen