tem_grow_array_module Module

Module to provide simple growing data structures. The dynamic arrays provided by this module are capable of handling lists of values, which might need to grow over time. Removal of entries is not possible directly. The complete module might be put into a CoCo Text template, to create new modules of this object for different types. For now, two different templates are used for the declaration part and the implementation part.


Uses

  • module~~tem_grow_array_module~~UsesGraph module~tem_grow_array_module tem_grow_array_module module~env_module env_module module~tem_grow_array_module->module~env_module aotus_module aotus_module module~env_module->aotus_module flu_binding flu_binding module~env_module->flu_binding iso_fortran_env iso_fortran_env module~env_module->iso_fortran_env mpi mpi module~env_module->mpi

Used by

  • module~~tem_grow_array_module~~UsedByGraph module~tem_grow_array_module tem_grow_array_module module~tem_adaptation_module tem_adaptation_module module~tem_adaptation_module->module~tem_grow_array_module module~tem_comm_module tem_comm_module module~tem_comm_module->module~tem_grow_array_module module~tem_construction_module tem_construction_module module~tem_construction_module->module~tem_grow_array_module module~tem_coupling_module tem_coupling_module module~tem_coupling_module->module~tem_grow_array_module module~tem_element_module tem_element_module module~tem_element_module->module~tem_grow_array_module module~tem_face_module tem_face_module module~tem_face_module->module~tem_grow_array_module module~tem_facedata_module tem_faceData_module module~tem_facedata_module->module~tem_grow_array_module module~tem_logical_operation_var_module tem_logical_operation_var_module module~tem_logical_operation_var_module->module~tem_grow_array_module module~tem_matrix_module tem_matrix_module module~tem_matrix_module->module~tem_grow_array_module module~tem_operation_module tem_operation_module module~tem_operation_module->module~tem_grow_array_module module~tem_operation_var_module tem_operation_var_module module~tem_operation_var_module->module~tem_grow_array_module module~tem_pointdata_module tem_pointData_module module~tem_pointdata_module->module~tem_grow_array_module module~tem_refining_module tem_refining_module module~tem_refining_module->module~tem_grow_array_module module~tem_spacetime_fun_module tem_spacetime_fun_module module~tem_spacetime_fun_module->module~tem_grow_array_module module~tem_spacetime_var_module tem_spacetime_var_module module~tem_spacetime_var_module->module~tem_grow_array_module module~tem_spatial_module tem_spatial_module module~tem_spatial_module->module~tem_grow_array_module module~tem_stencil_module tem_stencil_module module~tem_stencil_module->module~tem_grow_array_module module~tem_stlb_io_module tem_stlb_io_module module~tem_stlb_io_module->module~tem_grow_array_module module~tem_subtree_module tem_subTree_module module~tem_subtree_module->module~tem_grow_array_module module~tem_surfacedata_module tem_surfaceData_module module~tem_surfacedata_module->module~tem_grow_array_module module~tem_temporal_module tem_temporal_module module~tem_temporal_module->module~tem_grow_array_module module~tem_timer_module tem_timer_module module~tem_timer_module->module~tem_grow_array_module module~tem_varmap_module tem_varMap_module module~tem_varmap_module->module~tem_grow_array_module module~tem_vrtx_module tem_vrtx_module module~tem_vrtx_module->module~tem_grow_array_module

Interfaces

public interface init

initialize the dynamic array

  • public subroutine init_ga_logical(me, length)

    Arguments

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

public interface truncate

truncate the array, meaning cut off the trailing empty entries

public interface empty

empty the entries without changing arrays

public interface destroy

destroy the dynamic array

public interface placeat

insert an element at a given position

  • public subroutine placeat_ga_logical(me, val, pos, length)

    adds the value to a given position inside the growing array.

    if the requested position is outside the current array bounds, the array will be resized accordingly. if it is inside the current array bounds, the element at the requested position will be replaced.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_logicalarray_type) :: me
    logical, intent(in) :: val
    integer, intent(in) :: pos
    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine placeat_ga_logical_vec(me, val, pos, length)

    adds the values starting from a given position inside the growing array.

    if the requested position is outside the current array bounds, the array will be resized accordingly. if it is inside the current array bounds, the elements starting from the requested position will be replaced up to the element at position pos + size(val) - 1.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_logicalarray_type) :: me
    logical, intent(in) :: val(:)
    integer, intent(in) :: pos
    integer, intent(in), optional :: length

    optional length to expand the array

public interface append

append a value to the dynamic array and return its position.

  • public subroutine append_ga_logical(me, val, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_logicalarray_type) :: me
    logical, intent(in) :: val
    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine append_ga_logical_vec(me, val, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_logicalarray_type) :: me
    logical, intent(in) :: val(:)
    integer, intent(in), optional :: length

    optional length to expand the array

public interface expand

increase the size of the container for the array.

  • public subroutine expand_ga_logical(me, pos, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_logicalarray_type) :: me
    integer, intent(in), optional :: pos
    integer, intent(in), optional :: length

    optional length to expand the array

public interface init

initialize the dynamic array

  • public subroutine init_ga_long(me, length)

    Arguments

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

public interface truncate

truncate the array, meaning cut off the trailing empty entries

public interface empty

empty the entries without changing arrays

public interface destroy

destroy the dynamic array

public interface placeat

insert an element at a given position

  • public subroutine placeat_ga_long(me, val, pos, length)

    adds the value to a given position inside the growing array.

    if the requested position is outside the current array bounds, the array will be resized accordingly. if it is inside the current array bounds, the element at the requested position will be replaced.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_longarray_type) :: me
    integer(kind=long_k), intent(in) :: val
    integer, intent(in) :: pos
    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine placeat_ga_long_vec(me, val, pos, length)

    adds the values starting from a given position inside the growing array.

    if the requested position is outside the current array bounds, the array will be resized accordingly. if it is inside the current array bounds, the elements starting from the requested position will be replaced up to the element at position pos + size(val) - 1.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_longarray_type) :: me
    integer(kind=long_k), intent(in) :: val(:)
    integer, intent(in) :: pos
    integer, intent(in), optional :: length

    optional length to expand the array

public interface append

append a value to the dynamic array and return its position.

  • public subroutine append_ga_long(me, val, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_longarray_type) :: me
    integer(kind=long_k), intent(in) :: val
    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine append_ga_long_vec(me, val, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_longarray_type) :: me
    integer(kind=long_k), intent(in) :: val(:)
    integer, intent(in), optional :: length

    optional length to expand the array

public interface expand

increase the size of the container for the array.

  • public subroutine expand_ga_long(me, pos, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_longarray_type) :: me
    integer, intent(in), optional :: pos
    integer, intent(in), optional :: length

    optional length to expand the array

public interface init

initialize the dynamic array

  • public subroutine init_ga_int(me, length)

    Arguments

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

public interface truncate

truncate the array, meaning cut off the trailing empty entries

public interface empty

empty the entries without changing arrays

public interface destroy

destroy the dynamic array

public interface placeat

insert an element at a given position

  • public subroutine placeat_ga_int(me, val, pos, length)

    adds the value to a given position inside the growing array.

    if the requested position is outside the current array bounds, the array will be resized accordingly. if it is inside the current array bounds, the element at the requested position will be replaced.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_intarray_type) :: me
    integer, intent(in) :: val
    integer, intent(in) :: pos
    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine placeat_ga_int_vec(me, val, pos, length)

    adds the values starting from a given position inside the growing array.

    if the requested position is outside the current array bounds, the array will be resized accordingly. if it is inside the current array bounds, the elements starting from the requested position will be replaced up to the element at position pos + size(val) - 1.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_intarray_type) :: me
    integer, intent(in) :: val(:)
    integer, intent(in) :: pos
    integer, intent(in), optional :: length

    optional length to expand the array

public interface append

append a value to the dynamic array and return its position.

  • public subroutine append_ga_int(me, val, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_intarray_type) :: me
    integer, intent(in) :: val
    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine append_ga_int_vec(me, val, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_intarray_type) :: me
    integer, intent(in) :: val(:)
    integer, intent(in), optional :: length

    optional length to expand the array

public interface expand

increase the size of the container for the array.

  • public subroutine expand_ga_int(me, pos, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_intarray_type) :: me
    integer, intent(in), optional :: pos
    integer, intent(in), optional :: length

    optional length to expand the array

public interface init

initialize the dynamic array

  • public subroutine init_ga_real(me, length)

    Arguments

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

public interface truncate

truncate the array, meaning cut off the trailing empty entries

public interface empty

empty the entries without changing arrays

public interface destroy

destroy the dynamic array

public interface placeat

insert an element at a given position

  • public subroutine placeat_ga_real(me, val, pos, length)

    adds the value to a given position inside the growing array.

    if the requested position is outside the current array bounds, the array will be resized accordingly. if it is inside the current array bounds, the element at the requested position will be replaced.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_realarray_type) :: me
    real(kind=rk), intent(in) :: val
    integer, intent(in) :: pos
    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine placeat_ga_real_vec(me, val, pos, length)

    adds the values starting from a given position inside the growing array.

    if the requested position is outside the current array bounds, the array will be resized accordingly. if it is inside the current array bounds, the elements starting from the requested position will be replaced up to the element at position pos + size(val) - 1.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_realarray_type) :: me
    real(kind=rk), intent(in) :: val(:)
    integer, intent(in) :: pos
    integer, intent(in), optional :: length

    optional length to expand the array

public interface append

append a value to the dynamic array and return its position.

  • public subroutine append_ga_real(me, val, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_realarray_type) :: me
    real(kind=rk), intent(in) :: val
    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine append_ga_real_vec(me, val, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_realarray_type) :: me
    real(kind=rk), intent(in) :: val(:)
    integer, intent(in), optional :: length

    optional length to expand the array

public interface expand

increase the size of the container for the array.

  • public subroutine expand_ga_real(me, pos, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_realarray_type) :: me
    integer, intent(in), optional :: pos
    integer, intent(in), optional :: length

    optional length to expand the array

public interface init

initialize the dynamic array

  • public subroutine init_ga_dtint2d(me, length)

    Arguments

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

public interface truncate

truncate the array, meaning cut off the trailing empty entries

public interface empty

empty the entries without changing arrays

public interface destroy

destroy the dynamic array

public interface placeat

insert an element at a given position

  • public subroutine placeat_ga_dtint2d(me, val, pos, length)

    adds the value to a given position inside the growing array.

    if the requested position is outside the current array bounds, the array will be resized accordingly. if it is inside the current array bounds, the element at the requested position will be replaced.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_dtint2darray_type) :: me
    type(intArray2d_type), intent(in) :: val
    integer, intent(in) :: pos
    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine placeat_ga_dtint2d_vec(me, val, pos, length)

    adds the values starting from a given position inside the growing array.

    if the requested position is outside the current array bounds, the array will be resized accordingly. if it is inside the current array bounds, the elements starting from the requested position will be replaced up to the element at position pos + size(val) - 1.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_dtint2darray_type) :: me
    type(intArray2d_type), intent(in) :: val(:)
    integer, intent(in) :: pos
    integer, intent(in), optional :: length

    optional length to expand the array

public interface append

append a value to the dynamic array and return its position.

public interface expand

increase the size of the container for the array.

  • public subroutine expand_ga_dtint2d(me, pos, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_dtint2darray_type) :: me
    integer, intent(in), optional :: pos
    integer, intent(in), optional :: length

    optional length to expand the array

public interface init

initialize the dynamic array

  • public subroutine init_ga_label(me, length)

    Arguments

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

public interface truncate

truncate the array, meaning cut off the trailing empty entries

public interface empty

empty the entries without changing arrays

public interface destroy

destroy the dynamic array

public interface placeat

insert an element at a given position

  • public subroutine placeat_ga_label(me, val, pos, length)

    adds the value to a given position inside the growing array.

    if the requested position is outside the current array bounds, the array will be resized accordingly. if it is inside the current array bounds, the element at the requested position will be replaced.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_labelarray_type) :: me
    character(len=labellen), intent(in) :: val
    integer, intent(in) :: pos
    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine placeat_ga_label_vec(me, val, pos, length)

    adds the values starting from a given position inside the growing array.

    if the requested position is outside the current array bounds, the array will be resized accordingly. if it is inside the current array bounds, the elements starting from the requested position will be replaced up to the element at position pos + size(val) - 1.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_labelarray_type) :: me
    character(len=labellen), intent(in) :: val(:)
    integer, intent(in) :: pos
    integer, intent(in), optional :: length

    optional length to expand the array

public interface append

append a value to the dynamic array and return its position.

  • public subroutine append_ga_label(me, val, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_labelarray_type) :: me
    character(len=labellen), intent(in) :: val
    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine append_ga_label_vec(me, val, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_labelarray_type) :: me
    character(len=labellen), intent(in) :: val(:)
    integer, intent(in), optional :: length

    optional length to expand the array

public interface expand

increase the size of the container for the array.

  • public subroutine expand_ga_label(me, pos, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_labelarray_type) :: me
    integer, intent(in), optional :: pos
    integer, intent(in), optional :: length

    optional length to expand the array

public interface init

initialize the dynamic array

  • public subroutine init_ga_char(me, length)

    Arguments

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

public interface truncate

truncate the array, meaning cut off the trailing empty entries

public interface empty

empty the entries without changing arrays

public interface destroy

destroy the dynamic array

public interface placeat

insert an element at a given position

  • public subroutine placeat_ga_char(me, val, pos, length)

    adds the value to a given position inside the growing array.

    if the requested position is outside the current array bounds, the array will be resized accordingly. if it is inside the current array bounds, the element at the requested position will be replaced.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_chararray_type) :: me
    character(len=1), intent(in) :: val
    integer, intent(in) :: pos
    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine placeat_ga_char_vec(me, val, pos, length)

    adds the values starting from a given position inside the growing array.

    if the requested position is outside the current array bounds, the array will be resized accordingly. if it is inside the current array bounds, the elements starting from the requested position will be replaced up to the element at position pos + size(val) - 1.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_chararray_type) :: me
    character(len=1), intent(in) :: val(:)
    integer, intent(in) :: pos
    integer, intent(in), optional :: length

    optional length to expand the array

public interface append

append a value to the dynamic array and return its position.

  • public subroutine append_ga_char(me, val, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_chararray_type) :: me
    character(len=1), intent(in) :: val
    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine append_ga_char_vec(me, val, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_chararray_type) :: me
    character(len=1), intent(in) :: val(:)
    integer, intent(in), optional :: length

    optional length to expand the array

public interface expand

increase the size of the container for the array.

  • public subroutine expand_ga_char(me, pos, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_chararray_type) :: me
    integer, intent(in), optional :: pos
    integer, intent(in), optional :: length

    optional length to expand the array

public interface init

initialize the dynamic array

  • public subroutine init_ga2d_char(me, width, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_char2darray_type), intent(out) :: me

    dynamic array to init

    integer, intent(in) :: width

    width of the container

    integer, intent(in), optional :: length

    initial length of the container

public interface destroy

destroy the dynamic array

  • public subroutine destroy_ga2d_char(me)

    destroy the 2d growing array

    Arguments

    Type IntentOptional Attributes Name
    type(grw_char2darray_type), intent(inout) :: me

    dynamic array to init

public interface append

append a value to the dynamic array and return its position.

  • public subroutine append_singlega2d_char(me, val, pos1, pos2, length)

    append a single value to the growing 2d array.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_char2darray_type) :: me

    array to append the value to

    character(len=1), intent(in) :: val

    value to append

    integer, intent(in) :: pos1

    position in first dimension (cannot grow)

    integer, intent(out), optional :: pos2

    the position in second dimension the element were added to

    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine append_arrayga2d_char(me, val, length, pos)

    append an array of values to the growing 2d array.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_char2darray_type) :: me

    array to append the value to

    character(len=1), intent(in) :: val(:)

    array of values to append

    integer, intent(in), optional :: length

    optional length to expand the array

    integer, intent(out), optional :: pos

    the position in second dimension the elements were added to

public interface placeat

  • public subroutine placeat_singlega2d_char(me, val, pos1, pos2, length)

    append a single value to the growing 2d array.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_char2darray_type) :: me

    array to append the value to

    character(len=1), intent(in) :: val

    value to append

    integer, intent(in) :: pos1

    position in first dimension (cannot grow)

    integer, intent(in) :: pos2

    position in second dimension (can grow)

    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine placeat_arrayga2d_char(me, val, pos2, length)

    append an array of values to the growing 2d array.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_char2darray_type) :: me

    array to append the value to

    character(len=1), intent(in) :: val(:)

    array of values to append

    integer, intent(in) :: pos2

    position in second dimension (can grow)

    integer, intent(in), optional :: length

    optional length to expand the array

public interface expand

increase the size of the container for the array.

  • public subroutine expand_ga2d_char(me, length)

    expand the growing 2d array

    first reset all entries

    Arguments

    Type IntentOptional Attributes Name
    type(grw_char2darray_type) :: me

    array to resize

    integer, intent(in), optional :: length

    optional length to expand the array

public interface init

initialize the dynamic array

  • public subroutine init_ga2d_logical(me, width, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_logical2darray_type), intent(out) :: me

    dynamic array to init

    integer, intent(in) :: width

    width of the container

    integer, intent(in), optional :: length

    initial length of the container

public interface destroy

destroy the dynamic array

public interface append

append a value to the dynamic array and return its position.

  • public subroutine append_singlega2d_logical(me, val, pos1, pos2, length)

    append a single value to the growing 2d array.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_logical2darray_type) :: me

    array to append the value to

    logical, intent(in) :: val

    value to append

    integer, intent(in) :: pos1

    position in first dimension (cannot grow)

    integer, intent(out), optional :: pos2

    the position in second dimension the element were added to

    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine append_arrayga2d_logical(me, val, length, pos)

    append an array of values to the growing 2d array.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_logical2darray_type) :: me

    array to append the value to

    logical, intent(in) :: val(:)

    array of values to append

    integer, intent(in), optional :: length

    optional length to expand the array

    integer, intent(out), optional :: pos

    the position in second dimension the elements were added to

public interface placeat

  • public subroutine placeat_singlega2d_logical(me, val, pos1, pos2, length)

    append a single value to the growing 2d array.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_logical2darray_type) :: me

    array to append the value to

    logical, intent(in) :: val

    value to append

    integer, intent(in) :: pos1

    position in first dimension (cannot grow)

    integer, intent(in) :: pos2

    position in second dimension (can grow)

    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine placeat_arrayga2d_logical(me, val, pos2, length)

    append an array of values to the growing 2d array.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_logical2darray_type) :: me

    array to append the value to

    logical, intent(in) :: val(:)

    array of values to append

    integer, intent(in) :: pos2

    position in second dimension (can grow)

    integer, intent(in), optional :: length

    optional length to expand the array

public interface expand

increase the size of the container for the array.

  • public subroutine expand_ga2d_logical(me, length)

    expand the growing 2d array

    first reset all entries

    Arguments

    Type IntentOptional Attributes Name
    type(grw_logical2darray_type) :: me

    array to resize

    integer, intent(in), optional :: length

    optional length to expand the array

public interface init

initialize the dynamic array

  • public subroutine init_ga2d_long(me, width, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_long2darray_type), intent(out) :: me

    dynamic array to init

    integer, intent(in) :: width

    width of the container

    integer, intent(in), optional :: length

    initial length of the container

public interface destroy

destroy the dynamic array

  • public subroutine destroy_ga2d_long(me)

    destroy the 2d growing array

    Arguments

    Type IntentOptional Attributes Name
    type(grw_long2darray_type), intent(inout) :: me

    dynamic array to init

public interface append

append a value to the dynamic array and return its position.

  • public subroutine append_singlega2d_long(me, val, pos1, pos2, length)

    append a single value to the growing 2d array.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_long2darray_type) :: me

    array to append the value to

    integer(kind=long_k), intent(in) :: val

    value to append

    integer, intent(in) :: pos1

    position in first dimension (cannot grow)

    integer, intent(out), optional :: pos2

    the position in second dimension the element were added to

    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine append_arrayga2d_long(me, val, length, pos)

    append an array of values to the growing 2d array.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_long2darray_type) :: me

    array to append the value to

    integer(kind=long_k), intent(in) :: val(:)

    array of values to append

    integer, intent(in), optional :: length

    optional length to expand the array

    integer, intent(out), optional :: pos

    the position in second dimension the elements were added to

public interface placeat

  • public subroutine placeat_singlega2d_long(me, val, pos1, pos2, length)

    append a single value to the growing 2d array.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_long2darray_type) :: me

    array to append the value to

    integer(kind=long_k), intent(in) :: val

    value to append

    integer, intent(in) :: pos1

    position in first dimension (cannot grow)

    integer, intent(in) :: pos2

    position in second dimension (can grow)

    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine placeat_arrayga2d_long(me, val, pos2, length)

    append an array of values to the growing 2d array.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_long2darray_type) :: me

    array to append the value to

    integer(kind=long_k), intent(in) :: val(:)

    array of values to append

    integer, intent(in) :: pos2

    position in second dimension (can grow)

    integer, intent(in), optional :: length

    optional length to expand the array

public interface expand

increase the size of the container for the array.

  • public subroutine expand_ga2d_long(me, length)

    expand the growing 2d array

    first reset all entries

    Arguments

    Type IntentOptional Attributes Name
    type(grw_long2darray_type) :: me

    array to resize

    integer, intent(in), optional :: length

    optional length to expand the array

public interface init

initialize the dynamic array

  • public subroutine init_ga2d_int(me, width, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_int2darray_type), intent(out) :: me

    dynamic array to init

    integer, intent(in) :: width

    width of the container

    integer, intent(in), optional :: length

    initial length of the container

public interface destroy

destroy the dynamic array

  • public subroutine destroy_ga2d_int(me)

    destroy the 2d growing array

    Arguments

    Type IntentOptional Attributes Name
    type(grw_int2darray_type), intent(inout) :: me

    dynamic array to init

public interface append

append a value to the dynamic array and return its position.

  • public subroutine append_singlega2d_int(me, val, pos1, pos2, length)

    append a single value to the growing 2d array.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_int2darray_type) :: me

    array to append the value to

    integer, intent(in) :: val

    value to append

    integer, intent(in) :: pos1

    position in first dimension (cannot grow)

    integer, intent(out), optional :: pos2

    the position in second dimension the element were added to

    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine append_arrayga2d_int(me, val, length, pos)

    append an array of values to the growing 2d array.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_int2darray_type) :: me

    array to append the value to

    integer, intent(in) :: val(:)

    array of values to append

    integer, intent(in), optional :: length

    optional length to expand the array

    integer, intent(out), optional :: pos

    the position in second dimension the elements were added to

public interface placeat

  • public subroutine placeat_singlega2d_int(me, val, pos1, pos2, length)

    append a single value to the growing 2d array.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_int2darray_type) :: me

    array to append the value to

    integer, intent(in) :: val

    value to append

    integer, intent(in) :: pos1

    position in first dimension (cannot grow)

    integer, intent(in) :: pos2

    position in second dimension (can grow)

    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine placeat_arrayga2d_int(me, val, pos2, length)

    append an array of values to the growing 2d array.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_int2darray_type) :: me

    array to append the value to

    integer, intent(in) :: val(:)

    array of values to append

    integer, intent(in) :: pos2

    position in second dimension (can grow)

    integer, intent(in), optional :: length

    optional length to expand the array

public interface expand

increase the size of the container for the array.

  • public subroutine expand_ga2d_int(me, length)

    expand the growing 2d array

    first reset all entries

    Arguments

    Type IntentOptional Attributes Name
    type(grw_int2darray_type) :: me

    array to resize

    integer, intent(in), optional :: length

    optional length to expand the array

public interface init

initialize the dynamic array

  • public subroutine init_ga2d_real(me, width, length)

    Arguments

    Type IntentOptional Attributes Name
    type(grw_real2darray_type), intent(out) :: me

    dynamic array to init

    integer, intent(in) :: width

    width of the container

    integer, intent(in), optional :: length

    initial length of the container

public interface destroy

destroy the dynamic array

  • public subroutine destroy_ga2d_real(me)

    destroy the 2d growing array

    Arguments

    Type IntentOptional Attributes Name
    type(grw_real2darray_type), intent(inout) :: me

    dynamic array to init

public interface append

append a value to the dynamic array and return its position.

  • public subroutine append_singlega2d_real(me, val, pos1, pos2, length)

    append a single value to the growing 2d array.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_real2darray_type) :: me

    array to append the value to

    real(kind=rk), intent(in) :: val

    value to append

    integer, intent(in) :: pos1

    position in first dimension (cannot grow)

    integer, intent(out), optional :: pos2

    the position in second dimension the element were added to

    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine append_arrayga2d_real(me, val, length, pos)

    append an array of values to the growing 2d array.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_real2darray_type) :: me

    array to append the value to

    real(kind=rk), intent(in) :: val(:)

    array of values to append

    integer, intent(in), optional :: length

    optional length to expand the array

    integer, intent(out), optional :: pos

    the position in second dimension the elements were added to

public interface placeat

  • public subroutine placeat_singlega2d_real(me, val, pos1, pos2, length)

    append a single value to the growing 2d array.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_real2darray_type) :: me

    array to append the value to

    real(kind=rk), intent(in) :: val

    value to append

    integer, intent(in) :: pos1

    position in first dimension (cannot grow)

    integer, intent(in) :: pos2

    position in second dimension (can grow)

    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine placeat_arrayga2d_real(me, val, pos2, length)

    append an array of values to the growing 2d array.

    Arguments

    Type IntentOptional Attributes Name
    type(grw_real2darray_type) :: me

    array to append the value to

    real(kind=rk), intent(in) :: val(:)

    array of values to append

    integer, intent(in) :: pos2

    position in second dimension (can grow)

    integer, intent(in), optional :: length

    optional length to expand the array

public interface expand

increase the size of the container for the array.

  • public subroutine expand_ga2d_real(me, length)

    expand the growing 2d array

    first reset all entries

    Arguments

    Type IntentOptional Attributes Name
    type(grw_real2darray_type) :: me

    array to resize

    integer, intent(in), optional :: length

    optional length to expand the array


Derived Types

type, public ::  intArray2d_type

Components

Type Visibility Attributes Name Initial
integer, public, allocatable :: val(:,:)

type, public ::  grw_logicalarray_type

growing array type for logical

Components

Type Visibility Attributes Name Initial
integer, public :: nvals = 0
integer, public :: containersize = 0
logical, public, allocatable :: val(:)

type, public ::  grw_longarray_type

growing array type for integer(kind=long_k)

Components

Type Visibility Attributes Name Initial
integer, public :: nvals = 0
integer, public :: containersize = 0
integer(kind=long_k), public, allocatable :: val(:)

type, public ::  grw_intarray_type

growing array type for integer

Components

Type Visibility Attributes Name Initial
integer, public :: nvals = 0
integer, public :: containersize = 0
integer, public, allocatable :: val(:)

type, public ::  grw_realarray_type

growing array type for real(kind=rk)

Components

Type Visibility Attributes Name Initial
integer, public :: nvals = 0
integer, public :: containersize = 0
real(kind=rk), public, allocatable :: val(:)

type, public ::  grw_dtint2darray_type

growing array type for type(intarray2d_type)

Components

Type Visibility Attributes Name Initial
integer, public :: nvals = 0
integer, public :: containersize = 0
type(intArray2d_type), public, allocatable :: val(:)

type, public ::  grw_labelarray_type

growing array type for character(len=labellen)

Components

Type Visibility Attributes Name Initial
integer, public :: nvals = 0
integer, public :: containersize = 0
character(len=labellen), public, allocatable :: val(:)

type, public ::  grw_chararray_type

growing array type for character

Components

Type Visibility Attributes Name Initial
integer, public :: nvals = 0
integer, public :: containersize = 0
character(len=1), public, allocatable :: val(:)

type, public ::  grw_char2darray_type

Components

Type Visibility Attributes Name Initial
integer, public :: nvals = 0
integer, public :: containersize = 0
integer, public :: containerwidth = 0
character(len=1), public, allocatable :: val(:,:)

type, public ::  grw_logical2darray_type

Components

Type Visibility Attributes Name Initial
integer, public :: nvals = 0
integer, public :: containersize = 0
integer, public :: containerwidth = 0
logical, public, allocatable :: val(:,:)

type, public ::  grw_long2darray_type

Components

Type Visibility Attributes Name Initial
integer, public :: nvals = 0
integer, public :: containersize = 0
integer, public :: containerwidth = 0
integer(kind=long_k), public, allocatable :: val(:,:)

type, public ::  grw_int2darray_type

Components

Type Visibility Attributes Name Initial
integer, public :: nvals = 0
integer, public :: containersize = 0
integer, public :: containerwidth = 0
integer, public, allocatable :: val(:,:)

type, public ::  grw_real2darray_type

Components

Type Visibility Attributes Name Initial
integer, public :: nvals = 0
integer, public :: containersize = 0
integer, public :: containerwidth = 0
real(kind=rk), public, allocatable :: val(:,:)

Subroutines

public subroutine init_ga_logical(me, length)

Arguments

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

public subroutine destroy_ga_logical(me)

Arguments

Type IntentOptional Attributes Name
type(grw_logicalarray_type), intent(inout) :: me

public subroutine truncate_ga_logical(me)

Arguments

Type IntentOptional Attributes Name
type(grw_logicalarray_type) :: me

public subroutine empty_ga_logical(me)

Arguments

Type IntentOptional Attributes Name
type(grw_logicalarray_type) :: me

public subroutine placeat_ga_logical(me, val, pos, length)

adds the value to a given position inside the growing array.

Read more…

Arguments

Type IntentOptional Attributes Name
type(grw_logicalarray_type) :: me
logical, intent(in) :: val
integer, intent(in) :: pos
integer, intent(in), optional :: length

optional length to expand the array

public subroutine placeat_ga_logical_vec(me, val, pos, length)

adds the values starting from a given position inside the growing array.

Read more…

Arguments

Type IntentOptional Attributes Name
type(grw_logicalarray_type) :: me
logical, intent(in) :: val(:)
integer, intent(in) :: pos
integer, intent(in), optional :: length

optional length to expand the array

public subroutine append_ga_logical(me, val, length)

Arguments

Type IntentOptional Attributes Name
type(grw_logicalarray_type) :: me
logical, intent(in) :: val
integer, intent(in), optional :: length

optional length to expand the array

public subroutine append_ga_logical_vec(me, val, length)

Arguments

Type IntentOptional Attributes Name
type(grw_logicalarray_type) :: me
logical, intent(in) :: val(:)
integer, intent(in), optional :: length

optional length to expand the array

public subroutine expand_ga_logical(me, pos, length)

Arguments

Type IntentOptional Attributes Name
type(grw_logicalarray_type) :: me
integer, intent(in), optional :: pos
integer, intent(in), optional :: length

optional length to expand the array

public subroutine init_ga_long(me, length)

Arguments

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

public subroutine destroy_ga_long(me)

Arguments

Type IntentOptional Attributes Name
type(grw_longarray_type), intent(inout) :: me

public subroutine truncate_ga_long(me)

Arguments

Type IntentOptional Attributes Name
type(grw_longarray_type) :: me

public subroutine empty_ga_long(me)

Arguments

Type IntentOptional Attributes Name
type(grw_longarray_type) :: me

public subroutine placeat_ga_long(me, val, pos, length)

adds the value to a given position inside the growing array.

Read more…

Arguments

Type IntentOptional Attributes Name
type(grw_longarray_type) :: me
integer(kind=long_k), intent(in) :: val
integer, intent(in) :: pos
integer, intent(in), optional :: length

optional length to expand the array

public subroutine placeat_ga_long_vec(me, val, pos, length)

adds the values starting from a given position inside the growing array.

Read more…

Arguments

Type IntentOptional Attributes Name
type(grw_longarray_type) :: me
integer(kind=long_k), intent(in) :: val(:)
integer, intent(in) :: pos
integer, intent(in), optional :: length

optional length to expand the array

public subroutine append_ga_long(me, val, length)

Arguments

Type IntentOptional Attributes Name
type(grw_longarray_type) :: me
integer(kind=long_k), intent(in) :: val
integer, intent(in), optional :: length

optional length to expand the array

public subroutine append_ga_long_vec(me, val, length)

Arguments

Type IntentOptional Attributes Name
type(grw_longarray_type) :: me
integer(kind=long_k), intent(in) :: val(:)
integer, intent(in), optional :: length

optional length to expand the array

public subroutine expand_ga_long(me, pos, length)

Arguments

Type IntentOptional Attributes Name
type(grw_longarray_type) :: me
integer, intent(in), optional :: pos
integer, intent(in), optional :: length

optional length to expand the array

public subroutine init_ga_int(me, length)

Arguments

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

public subroutine destroy_ga_int(me)

Arguments

Type IntentOptional Attributes Name
type(grw_intarray_type), intent(inout) :: me

public subroutine truncate_ga_int(me)

Arguments

Type IntentOptional Attributes Name
type(grw_intarray_type) :: me

public subroutine empty_ga_int(me)

Arguments

Type IntentOptional Attributes Name
type(grw_intarray_type) :: me

public subroutine placeat_ga_int(me, val, pos, length)

adds the value to a given position inside the growing array.

Read more…

Arguments

Type IntentOptional Attributes Name
type(grw_intarray_type) :: me
integer, intent(in) :: val
integer, intent(in) :: pos
integer, intent(in), optional :: length

optional length to expand the array

public subroutine placeat_ga_int_vec(me, val, pos, length)

adds the values starting from a given position inside the growing array.

Read more…

Arguments

Type IntentOptional Attributes Name
type(grw_intarray_type) :: me
integer, intent(in) :: val(:)
integer, intent(in) :: pos
integer, intent(in), optional :: length

optional length to expand the array

public subroutine append_ga_int(me, val, length)

Arguments

Type IntentOptional Attributes Name
type(grw_intarray_type) :: me
integer, intent(in) :: val
integer, intent(in), optional :: length

optional length to expand the array

public subroutine append_ga_int_vec(me, val, length)

Arguments

Type IntentOptional Attributes Name
type(grw_intarray_type) :: me
integer, intent(in) :: val(:)
integer, intent(in), optional :: length

optional length to expand the array

public subroutine expand_ga_int(me, pos, length)

Arguments

Type IntentOptional Attributes Name
type(grw_intarray_type) :: me
integer, intent(in), optional :: pos
integer, intent(in), optional :: length

optional length to expand the array

public subroutine init_ga_real(me, length)

Arguments

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

public subroutine destroy_ga_real(me)

Arguments

Type IntentOptional Attributes Name
type(grw_realarray_type), intent(inout) :: me

public subroutine truncate_ga_real(me)

Arguments

Type IntentOptional Attributes Name
type(grw_realarray_type) :: me

public subroutine empty_ga_real(me)

Arguments

Type IntentOptional Attributes Name
type(grw_realarray_type) :: me

public subroutine placeat_ga_real(me, val, pos, length)

adds the value to a given position inside the growing array.

Read more…

Arguments

Type IntentOptional Attributes Name
type(grw_realarray_type) :: me
real(kind=rk), intent(in) :: val
integer, intent(in) :: pos
integer, intent(in), optional :: length

optional length to expand the array

public subroutine placeat_ga_real_vec(me, val, pos, length)

adds the values starting from a given position inside the growing array.

Read more…

Arguments

Type IntentOptional Attributes Name
type(grw_realarray_type) :: me
real(kind=rk), intent(in) :: val(:)
integer, intent(in) :: pos
integer, intent(in), optional :: length

optional length to expand the array

public subroutine append_ga_real(me, val, length)

Arguments

Type IntentOptional Attributes Name
type(grw_realarray_type) :: me
real(kind=rk), intent(in) :: val
integer, intent(in), optional :: length

optional length to expand the array

public subroutine append_ga_real_vec(me, val, length)

Arguments

Type IntentOptional Attributes Name
type(grw_realarray_type) :: me
real(kind=rk), intent(in) :: val(:)
integer, intent(in), optional :: length

optional length to expand the array

public subroutine expand_ga_real(me, pos, length)

Arguments

Type IntentOptional Attributes Name
type(grw_realarray_type) :: me
integer, intent(in), optional :: pos
integer, intent(in), optional :: length

optional length to expand the array

public subroutine init_ga_dtint2d(me, length)

Arguments

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

public subroutine destroy_ga_dtint2d(me)

Arguments

Type IntentOptional Attributes Name
type(grw_dtint2darray_type), intent(inout) :: me

public subroutine truncate_ga_dtint2d(me)

Arguments

Type IntentOptional Attributes Name
type(grw_dtint2darray_type) :: me

public subroutine empty_ga_dtint2d(me)

Arguments

Type IntentOptional Attributes Name
type(grw_dtint2darray_type) :: me

public subroutine placeat_ga_dtint2d(me, val, pos, length)

adds the value to a given position inside the growing array.

Read more…

Arguments

Type IntentOptional Attributes Name
type(grw_dtint2darray_type) :: me
type(intArray2d_type), intent(in) :: val
integer, intent(in) :: pos
integer, intent(in), optional :: length

optional length to expand the array

public subroutine placeat_ga_dtint2d_vec(me, val, pos, length)

adds the values starting from a given position inside the growing array.

Read more…

Arguments

Type IntentOptional Attributes Name
type(grw_dtint2darray_type) :: me
type(intArray2d_type), intent(in) :: val(:)
integer, intent(in) :: pos
integer, intent(in), optional :: length

optional length to expand the array

public subroutine append_ga_dtint2d(me, val, length)

Arguments

Type IntentOptional Attributes Name
type(grw_dtint2darray_type) :: me
type(intArray2d_type), intent(in) :: val
integer, intent(in), optional :: length

optional length to expand the array

public subroutine append_ga_dtint2d_vec(me, val, length)

Arguments

Type IntentOptional Attributes Name
type(grw_dtint2darray_type) :: me
type(intArray2d_type), intent(in) :: val(:)
integer, intent(in), optional :: length

optional length to expand the array

public subroutine expand_ga_dtint2d(me, pos, length)

Arguments

Type IntentOptional Attributes Name
type(grw_dtint2darray_type) :: me
integer, intent(in), optional :: pos
integer, intent(in), optional :: length

optional length to expand the array

public subroutine init_ga_label(me, length)

Arguments

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

public subroutine destroy_ga_label(me)

Arguments

Type IntentOptional Attributes Name
type(grw_labelarray_type), intent(inout) :: me

public subroutine truncate_ga_label(me)

Arguments

Type IntentOptional Attributes Name
type(grw_labelarray_type) :: me

public subroutine empty_ga_label(me)

Arguments

Type IntentOptional Attributes Name
type(grw_labelarray_type) :: me

public subroutine placeat_ga_label(me, val, pos, length)

adds the value to a given position inside the growing array.

Read more…

Arguments

Type IntentOptional Attributes Name
type(grw_labelarray_type) :: me
character(len=labellen), intent(in) :: val
integer, intent(in) :: pos
integer, intent(in), optional :: length

optional length to expand the array

public subroutine placeat_ga_label_vec(me, val, pos, length)

adds the values starting from a given position inside the growing array.

Read more…

Arguments

Type IntentOptional Attributes Name
type(grw_labelarray_type) :: me
character(len=labellen), intent(in) :: val(:)
integer, intent(in) :: pos
integer, intent(in), optional :: length

optional length to expand the array

public subroutine append_ga_label(me, val, length)

Arguments

Type IntentOptional Attributes Name
type(grw_labelarray_type) :: me
character(len=labellen), intent(in) :: val
integer, intent(in), optional :: length

optional length to expand the array

public subroutine append_ga_label_vec(me, val, length)

Arguments

Type IntentOptional Attributes Name
type(grw_labelarray_type) :: me
character(len=labellen), intent(in) :: val(:)
integer, intent(in), optional :: length

optional length to expand the array

public subroutine expand_ga_label(me, pos, length)

Arguments

Type IntentOptional Attributes Name
type(grw_labelarray_type) :: me
integer, intent(in), optional :: pos
integer, intent(in), optional :: length

optional length to expand the array

public subroutine init_ga_char(me, length)

Arguments

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

public subroutine destroy_ga_char(me)

Arguments

Type IntentOptional Attributes Name
type(grw_chararray_type), intent(inout) :: me

public subroutine truncate_ga_char(me)

Arguments

Type IntentOptional Attributes Name
type(grw_chararray_type) :: me

public subroutine empty_ga_char(me)

Arguments

Type IntentOptional Attributes Name
type(grw_chararray_type) :: me

public subroutine placeat_ga_char(me, val, pos, length)

adds the value to a given position inside the growing array.

Read more…

Arguments

Type IntentOptional Attributes Name
type(grw_chararray_type) :: me
character(len=1), intent(in) :: val
integer, intent(in) :: pos
integer, intent(in), optional :: length

optional length to expand the array

public subroutine placeat_ga_char_vec(me, val, pos, length)

adds the values starting from a given position inside the growing array.

Read more…

Arguments

Type IntentOptional Attributes Name
type(grw_chararray_type) :: me
character(len=1), intent(in) :: val(:)
integer, intent(in) :: pos
integer, intent(in), optional :: length

optional length to expand the array

public subroutine append_ga_char(me, val, length)

Arguments

Type IntentOptional Attributes Name
type(grw_chararray_type) :: me
character(len=1), intent(in) :: val
integer, intent(in), optional :: length

optional length to expand the array

public subroutine append_ga_char_vec(me, val, length)

Arguments

Type IntentOptional Attributes Name
type(grw_chararray_type) :: me
character(len=1), intent(in) :: val(:)
integer, intent(in), optional :: length

optional length to expand the array

public subroutine expand_ga_char(me, pos, length)

Arguments

Type IntentOptional Attributes Name
type(grw_chararray_type) :: me
integer, intent(in), optional :: pos
integer, intent(in), optional :: length

optional length to expand the array

public subroutine init_ga2d_char(me, width, length)

Arguments

Type IntentOptional Attributes Name
type(grw_char2darray_type), intent(out) :: me

dynamic array to init

integer, intent(in) :: width

width of the container

integer, intent(in), optional :: length

initial length of the container

public subroutine destroy_ga2d_char(me)

destroy the 2d growing array

Arguments

Type IntentOptional Attributes Name
type(grw_char2darray_type), intent(inout) :: me

dynamic array to init

public subroutine append_singlega2d_char(me, val, pos1, pos2, length)

append a single value to the growing 2d array.

Arguments

Type IntentOptional Attributes Name
type(grw_char2darray_type) :: me

array to append the value to

character(len=1), intent(in) :: val

value to append

integer, intent(in) :: pos1

position in first dimension (cannot grow)

integer, intent(out), optional :: pos2

the position in second dimension the element were added to

integer, intent(in), optional :: length

optional length to expand the array

public subroutine append_arrayga2d_char(me, val, length, pos)

append an array of values to the growing 2d array.

Arguments

Type IntentOptional Attributes Name
type(grw_char2darray_type) :: me

array to append the value to

character(len=1), intent(in) :: val(:)

array of values to append

integer, intent(in), optional :: length

optional length to expand the array

integer, intent(out), optional :: pos

the position in second dimension the elements were added to

public subroutine placeat_singlega2d_char(me, val, pos1, pos2, length)

append a single value to the growing 2d array.

Arguments

Type IntentOptional Attributes Name
type(grw_char2darray_type) :: me

array to append the value to

character(len=1), intent(in) :: val

value to append

integer, intent(in) :: pos1

position in first dimension (cannot grow)

integer, intent(in) :: pos2

position in second dimension (can grow)

integer, intent(in), optional :: length

optional length to expand the array

public subroutine placeat_arrayga2d_char(me, val, pos2, length)

append an array of values to the growing 2d array.

Arguments

Type IntentOptional Attributes Name
type(grw_char2darray_type) :: me

array to append the value to

character(len=1), intent(in) :: val(:)

array of values to append

integer, intent(in) :: pos2

position in second dimension (can grow)

integer, intent(in), optional :: length

optional length to expand the array

public subroutine expand_ga2d_char(me, length)

expand the growing 2d array

Read more…

Arguments

Type IntentOptional Attributes Name
type(grw_char2darray_type) :: me

array to resize

integer, intent(in), optional :: length

optional length to expand the array

public subroutine init_ga2d_logical(me, width, length)

Arguments

Type IntentOptional Attributes Name
type(grw_logical2darray_type), intent(out) :: me

dynamic array to init

integer, intent(in) :: width

width of the container

integer, intent(in), optional :: length

initial length of the container

public subroutine destroy_ga2d_logical(me)

destroy the 2d growing array

Arguments

Type IntentOptional Attributes Name
type(grw_logical2darray_type), intent(inout) :: me

dynamic array to init

public subroutine append_singlega2d_logical(me, val, pos1, pos2, length)

append a single value to the growing 2d array.

Arguments

Type IntentOptional Attributes Name
type(grw_logical2darray_type) :: me

array to append the value to

logical, intent(in) :: val

value to append

integer, intent(in) :: pos1

position in first dimension (cannot grow)

integer, intent(out), optional :: pos2

the position in second dimension the element were added to

integer, intent(in), optional :: length

optional length to expand the array

public subroutine append_arrayga2d_logical(me, val, length, pos)

append an array of values to the growing 2d array.

Arguments

Type IntentOptional Attributes Name
type(grw_logical2darray_type) :: me

array to append the value to

logical, intent(in) :: val(:)

array of values to append

integer, intent(in), optional :: length

optional length to expand the array

integer, intent(out), optional :: pos

the position in second dimension the elements were added to

public subroutine placeat_singlega2d_logical(me, val, pos1, pos2, length)

append a single value to the growing 2d array.

Arguments

Type IntentOptional Attributes Name
type(grw_logical2darray_type) :: me

array to append the value to

logical, intent(in) :: val

value to append

integer, intent(in) :: pos1

position in first dimension (cannot grow)

integer, intent(in) :: pos2

position in second dimension (can grow)

integer, intent(in), optional :: length

optional length to expand the array

public subroutine placeat_arrayga2d_logical(me, val, pos2, length)

append an array of values to the growing 2d array.

Arguments

Type IntentOptional Attributes Name
type(grw_logical2darray_type) :: me

array to append the value to

logical, intent(in) :: val(:)

array of values to append

integer, intent(in) :: pos2

position in second dimension (can grow)

integer, intent(in), optional :: length

optional length to expand the array

public subroutine expand_ga2d_logical(me, length)

expand the growing 2d array

Read more…

Arguments

Type IntentOptional Attributes Name
type(grw_logical2darray_type) :: me

array to resize

integer, intent(in), optional :: length

optional length to expand the array

public subroutine init_ga2d_long(me, width, length)

Arguments

Type IntentOptional Attributes Name
type(grw_long2darray_type), intent(out) :: me

dynamic array to init

integer, intent(in) :: width

width of the container

integer, intent(in), optional :: length

initial length of the container

public subroutine destroy_ga2d_long(me)

destroy the 2d growing array

Arguments

Type IntentOptional Attributes Name
type(grw_long2darray_type), intent(inout) :: me

dynamic array to init

public subroutine append_singlega2d_long(me, val, pos1, pos2, length)

append a single value to the growing 2d array.

Arguments

Type IntentOptional Attributes Name
type(grw_long2darray_type) :: me

array to append the value to

integer(kind=long_k), intent(in) :: val

value to append

integer, intent(in) :: pos1

position in first dimension (cannot grow)

integer, intent(out), optional :: pos2

the position in second dimension the element were added to

integer, intent(in), optional :: length

optional length to expand the array

public subroutine append_arrayga2d_long(me, val, length, pos)

append an array of values to the growing 2d array.

Arguments

Type IntentOptional Attributes Name
type(grw_long2darray_type) :: me

array to append the value to

integer(kind=long_k), intent(in) :: val(:)

array of values to append

integer, intent(in), optional :: length

optional length to expand the array

integer, intent(out), optional :: pos

the position in second dimension the elements were added to

public subroutine placeat_singlega2d_long(me, val, pos1, pos2, length)

append a single value to the growing 2d array.

Arguments

Type IntentOptional Attributes Name
type(grw_long2darray_type) :: me

array to append the value to

integer(kind=long_k), intent(in) :: val

value to append

integer, intent(in) :: pos1

position in first dimension (cannot grow)

integer, intent(in) :: pos2

position in second dimension (can grow)

integer, intent(in), optional :: length

optional length to expand the array

public subroutine placeat_arrayga2d_long(me, val, pos2, length)

append an array of values to the growing 2d array.

Arguments

Type IntentOptional Attributes Name
type(grw_long2darray_type) :: me

array to append the value to

integer(kind=long_k), intent(in) :: val(:)

array of values to append

integer, intent(in) :: pos2

position in second dimension (can grow)

integer, intent(in), optional :: length

optional length to expand the array

public subroutine expand_ga2d_long(me, length)

expand the growing 2d array

Read more…

Arguments

Type IntentOptional Attributes Name
type(grw_long2darray_type) :: me

array to resize

integer, intent(in), optional :: length

optional length to expand the array

public subroutine init_ga2d_int(me, width, length)

Arguments

Type IntentOptional Attributes Name
type(grw_int2darray_type), intent(out) :: me

dynamic array to init

integer, intent(in) :: width

width of the container

integer, intent(in), optional :: length

initial length of the container

public subroutine destroy_ga2d_int(me)

destroy the 2d growing array

Arguments

Type IntentOptional Attributes Name
type(grw_int2darray_type), intent(inout) :: me

dynamic array to init

public subroutine append_singlega2d_int(me, val, pos1, pos2, length)

append a single value to the growing 2d array.

Arguments

Type IntentOptional Attributes Name
type(grw_int2darray_type) :: me

array to append the value to

integer, intent(in) :: val

value to append

integer, intent(in) :: pos1

position in first dimension (cannot grow)

integer, intent(out), optional :: pos2

the position in second dimension the element were added to

integer, intent(in), optional :: length

optional length to expand the array

public subroutine append_arrayga2d_int(me, val, length, pos)

append an array of values to the growing 2d array.

Arguments

Type IntentOptional Attributes Name
type(grw_int2darray_type) :: me

array to append the value to

integer, intent(in) :: val(:)

array of values to append

integer, intent(in), optional :: length

optional length to expand the array

integer, intent(out), optional :: pos

the position in second dimension the elements were added to

public subroutine placeat_singlega2d_int(me, val, pos1, pos2, length)

append a single value to the growing 2d array.

Arguments

Type IntentOptional Attributes Name
type(grw_int2darray_type) :: me

array to append the value to

integer, intent(in) :: val

value to append

integer, intent(in) :: pos1

position in first dimension (cannot grow)

integer, intent(in) :: pos2

position in second dimension (can grow)

integer, intent(in), optional :: length

optional length to expand the array

public subroutine placeat_arrayga2d_int(me, val, pos2, length)

append an array of values to the growing 2d array.

Arguments

Type IntentOptional Attributes Name
type(grw_int2darray_type) :: me

array to append the value to

integer, intent(in) :: val(:)

array of values to append

integer, intent(in) :: pos2

position in second dimension (can grow)

integer, intent(in), optional :: length

optional length to expand the array

public subroutine expand_ga2d_int(me, length)

expand the growing 2d array

Read more…

Arguments

Type IntentOptional Attributes Name
type(grw_int2darray_type) :: me

array to resize

integer, intent(in), optional :: length

optional length to expand the array

public subroutine init_ga2d_real(me, width, length)

Arguments

Type IntentOptional Attributes Name
type(grw_real2darray_type), intent(out) :: me

dynamic array to init

integer, intent(in) :: width

width of the container

integer, intent(in), optional :: length

initial length of the container

public subroutine destroy_ga2d_real(me)

destroy the 2d growing array

Arguments

Type IntentOptional Attributes Name
type(grw_real2darray_type), intent(inout) :: me

dynamic array to init

public subroutine append_singlega2d_real(me, val, pos1, pos2, length)

append a single value to the growing 2d array.

Arguments

Type IntentOptional Attributes Name
type(grw_real2darray_type) :: me

array to append the value to

real(kind=rk), intent(in) :: val

value to append

integer, intent(in) :: pos1

position in first dimension (cannot grow)

integer, intent(out), optional :: pos2

the position in second dimension the element were added to

integer, intent(in), optional :: length

optional length to expand the array

public subroutine append_arrayga2d_real(me, val, length, pos)

append an array of values to the growing 2d array.

Arguments

Type IntentOptional Attributes Name
type(grw_real2darray_type) :: me

array to append the value to

real(kind=rk), intent(in) :: val(:)

array of values to append

integer, intent(in), optional :: length

optional length to expand the array

integer, intent(out), optional :: pos

the position in second dimension the elements were added to

public subroutine placeat_singlega2d_real(me, val, pos1, pos2, length)

append a single value to the growing 2d array.

Arguments

Type IntentOptional Attributes Name
type(grw_real2darray_type) :: me

array to append the value to

real(kind=rk), intent(in) :: val

value to append

integer, intent(in) :: pos1

position in first dimension (cannot grow)

integer, intent(in) :: pos2

position in second dimension (can grow)

integer, intent(in), optional :: length

optional length to expand the array

public subroutine placeat_arrayga2d_real(me, val, pos2, length)

append an array of values to the growing 2d array.

Arguments

Type IntentOptional Attributes Name
type(grw_real2darray_type) :: me

array to append the value to

real(kind=rk), intent(in) :: val(:)

array of values to append

integer, intent(in) :: pos2

position in second dimension (can grow)

integer, intent(in), optional :: length

optional length to expand the array

public subroutine expand_ga2d_real(me, length)

expand the growing 2d array

Read more…

Arguments

Type IntentOptional Attributes Name
type(grw_real2darray_type) :: me

array to resize

integer, intent(in), optional :: length

optional length to expand the array