init_da_projection Subroutine

private subroutine init_da_projection(me, length)

initialization of a dynamic array

before a dynamic array can be used, it has to be initialized with this routine. the initial length provided here, can avoid reallocations and memory copying, if approximated correctly enough. if none is specified, the provided container initially will be of size 0.

Arguments

Type IntentOptional Attributes Name
type(dyn_projectionarray_type), intent(out) :: me
integer, intent(in), optional :: length