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 module~aotus_module aotus_module module~env_module->module~aotus_module module~flu_binding flu_binding module~env_module->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 program~tem_varsys_derivevar_test tem_varSys_deriveVar_test program~tem_varsys_derivevar_test->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_operation_module tem_operation_module module~tem_operation_module->module~tem_grow_array_module module~tem_vrtx_module tem_vrtx_module module~tem_vrtx_module->module~tem_grow_array_module module~tem_adaptation_module tem_adaptation_module module~tem_adaptation_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_construction_module tem_construction_module module~tem_construction_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_timer_module tem_timer_module module~tem_timer_module->module~tem_grow_array_module module~tem_comm_module tem_comm_module module~tem_comm_module->module~tem_grow_array_module program~tem_varsys_test tem_varSys_test program~tem_varsys_test->module~tem_grow_array_module module~tem_surfacedata_module tem_surfaceData_module module~tem_surfacedata_module->module~tem_grow_array_module program~tem_growarray_test tem_growArray_test program~tem_growarray_test->module~tem_grow_array_module module~tem_facedata_module tem_faceData_module module~tem_facedata_module->module~tem_grow_array_module module~tem_refining_module tem_refining_module module~tem_refining_module->module~tem_grow_array_module module~tem_varmap_module tem_varMap_module module~tem_varmap_module->module~tem_grow_array_module module~tem_temporal_module tem_temporal_module module~tem_temporal_module->module~tem_grow_array_module module~tem_spatial_module tem_spatial_module module~tem_spatial_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_stencil_module tem_stencil_module module~tem_stencil_module->module~tem_grow_array_module program~tem_varsys_stfunvar_test tem_varSys_stfunVar_test program~tem_varsys_stfunvar_test->module~tem_grow_array_module module~tem_pointdata_module tem_pointData_module module~tem_pointdata_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_matrix_module tem_matrix_module module~tem_matrix_module->module~tem_grow_array_module module~tem_coupling_module tem_coupling_module module~tem_coupling_module->module~tem_grow_array_module module~tem_subtree_module tem_subTree_module module~tem_subtree_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 program~tem_varsys_opvar_test tem_varSys_opVar_test program~tem_varsys_opvar_test->module~tem_grow_array_module

Contents

init_ga_logical destroy_ga_logical truncate_ga_logical empty_ga_logical placeat_ga_logical placeat_ga_logical_vec append_ga_logical append_ga_logical_vec expand_ga_logical init_ga_long destroy_ga_long truncate_ga_long empty_ga_long placeat_ga_long placeat_ga_long_vec append_ga_long append_ga_long_vec expand_ga_long init_ga_int destroy_ga_int truncate_ga_int empty_ga_int placeat_ga_int placeat_ga_int_vec append_ga_int append_ga_int_vec expand_ga_int init_ga_real destroy_ga_real truncate_ga_real empty_ga_real placeat_ga_real placeat_ga_real_vec append_ga_real append_ga_real_vec expand_ga_real init_ga_dtint2d destroy_ga_dtint2d truncate_ga_dtint2d empty_ga_dtint2d placeat_ga_dtint2d placeat_ga_dtint2d_vec append_ga_dtint2d append_ga_dtint2d_vec expand_ga_dtint2d init_ga_label destroy_ga_label truncate_ga_label empty_ga_label placeat_ga_label placeat_ga_label_vec append_ga_label append_ga_label_vec expand_ga_label init_ga_char destroy_ga_char truncate_ga_char empty_ga_char placeat_ga_char placeat_ga_char_vec append_ga_char append_ga_char_vec expand_ga_char init_ga2d_char destroy_ga2d_char append_singlega2d_char append_arrayga2d_char placeat_singlega2d_char placeat_arrayga2d_char expand_ga2d_char init_ga2d_logical destroy_ga2d_logical append_singlega2d_logical append_arrayga2d_logical placeat_singlega2d_logical placeat_arrayga2d_logical expand_ga2d_logical init_ga2d_long destroy_ga2d_long append_singlega2d_long append_arrayga2d_long placeat_singlega2d_long placeat_arrayga2d_long expand_ga2d_long init_ga2d_int destroy_ga2d_int append_singlega2d_int append_arrayga2d_int placeat_singlega2d_int placeat_arrayga2d_int expand_ga2d_int init_ga2d_real destroy_ga2d_real append_singlega2d_real append_arrayga2d_real placeat_singlega2d_real placeat_arrayga2d_real expand_ga2d_real

Interfaces

public interface init

initialize the dynamic array

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.

    Read more…

    Arguments

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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.

    Read more…

    Arguments

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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.

    Read more…

    Arguments

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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.

    Read more…

    Arguments

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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 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.

    Read more…

    Arguments

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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.

    Read more…

    Arguments

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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.

    Read more…

    Arguments

    TypeIntentOptionalAttributesName
    type(grw_chararray_type) :: me
    character, 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

    TypeIntentOptionalAttributesName
    type(grw_chararray_type) :: me
    character, 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

    TypeIntentOptionalAttributesName
    type(grw_chararray_type) :: me
    character, intent(in) :: val
    integer, intent(in), optional :: length

    optional length to expand the array

  • public subroutine append_ga_char_vec(me, val, length)

    Arguments

    TypeIntentOptionalAttributesName
    type(grw_chararray_type) :: me
    character, 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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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 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

    TypeIntentOptionalAttributesName
    type(grw_char2darray_type) :: me

    array to append the value to

    character, 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

    TypeIntentOptionalAttributesName
    type(grw_char2darray_type) :: me

    array to append the value to

    character, 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

    TypeIntentOptionalAttributesName
    type(grw_char2darray_type) :: me

    array to append the value to

    character, 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

    TypeIntentOptionalAttributesName
    type(grw_char2darray_type) :: me

    array to append the value to

    character, 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

    Read more…

    Arguments

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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 interface init

initialize the dynamic array

  • public subroutine init_ga2d_long(me, width, length)

    Arguments

    TypeIntentOptionalAttributesName
    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 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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    Read more…

    Arguments

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    Read more…

    Arguments

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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 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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    TypeIntentOptionalAttributesName
    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

    Read more…

    Arguments

    TypeIntentOptionalAttributesName
    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

TypeVisibilityAttributesNameInitial
integer, public, allocatable:: val(:,:)

type, public :: grw_logicalarray_type

growing array type for logical

Components

TypeVisibilityAttributesNameInitial
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

TypeVisibilityAttributesNameInitial
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

TypeVisibilityAttributesNameInitial
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

TypeVisibilityAttributesNameInitial
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

TypeVisibilityAttributesNameInitial
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

TypeVisibilityAttributesNameInitial
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

TypeVisibilityAttributesNameInitial
integer, public :: nvals =0
integer, public :: containersize =0
character, public, allocatable:: val(:)

type, public :: grw_char2darray_type

Components

TypeVisibilityAttributesNameInitial
integer, public :: nvals =0
integer, public :: containersize =0
integer, public :: containerwidth =0
character, public, allocatable:: val(:,:)

type, public :: grw_logical2darray_type

Components

TypeVisibilityAttributesNameInitial
integer, public :: nvals =0
integer, public :: containersize =0
integer, public :: containerwidth =0
logical, public, allocatable:: val(:,:)

type, public :: grw_long2darray_type

Components

TypeVisibilityAttributesNameInitial
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

TypeVisibilityAttributesNameInitial
integer, public :: nvals =0
integer, public :: containersize =0
integer, public :: containerwidth =0
integer, public, allocatable:: val(:,:)

type, public :: grw_real2darray_type

Components

TypeVisibilityAttributesNameInitial
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

TypeIntentOptionalAttributesName
type(grw_logicalarray_type), intent(out) :: me
integer, intent(in), optional :: length

public subroutine destroy_ga_logical(me)

Arguments

TypeIntentOptionalAttributesName
type(grw_logicalarray_type), intent(inout) :: me

public subroutine truncate_ga_logical(me)

Arguments

TypeIntentOptionalAttributesName
type(grw_logicalarray_type) :: me

public subroutine empty_ga_logical(me)

Arguments

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
type(grw_longarray_type), intent(out) :: me
integer, intent(in), optional :: length

public subroutine destroy_ga_long(me)

Arguments

TypeIntentOptionalAttributesName
type(grw_longarray_type), intent(inout) :: me

public subroutine truncate_ga_long(me)

Arguments

TypeIntentOptionalAttributesName
type(grw_longarray_type) :: me

public subroutine empty_ga_long(me)

Arguments

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
type(grw_intarray_type), intent(out) :: me
integer, intent(in), optional :: length

public subroutine destroy_ga_int(me)

Arguments

TypeIntentOptionalAttributesName
type(grw_intarray_type), intent(inout) :: me

public subroutine truncate_ga_int(me)

Arguments

TypeIntentOptionalAttributesName
type(grw_intarray_type) :: me

public subroutine empty_ga_int(me)

Arguments

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
type(grw_realarray_type), intent(out) :: me
integer, intent(in), optional :: length

public subroutine destroy_ga_real(me)

Arguments

TypeIntentOptionalAttributesName
type(grw_realarray_type), intent(inout) :: me

public subroutine truncate_ga_real(me)

Arguments

TypeIntentOptionalAttributesName
type(grw_realarray_type) :: me

public subroutine empty_ga_real(me)

Arguments

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
type(grw_dtint2darray_type), intent(out) :: me
integer, intent(in), optional :: length

public subroutine destroy_ga_dtint2d(me)

Arguments

TypeIntentOptionalAttributesName
type(grw_dtint2darray_type), intent(inout) :: me

public subroutine truncate_ga_dtint2d(me)

Arguments

TypeIntentOptionalAttributesName
type(grw_dtint2darray_type) :: me

public subroutine empty_ga_dtint2d(me)

Arguments

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
type(grw_labelarray_type), intent(out) :: me
integer, intent(in), optional :: length

public subroutine destroy_ga_label(me)

Arguments

TypeIntentOptionalAttributesName
type(grw_labelarray_type), intent(inout) :: me

public subroutine truncate_ga_label(me)

Arguments

TypeIntentOptionalAttributesName
type(grw_labelarray_type) :: me

public subroutine empty_ga_label(me)

Arguments

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
type(grw_chararray_type), intent(out) :: me
integer, intent(in), optional :: length

public subroutine destroy_ga_char(me)

Arguments

TypeIntentOptionalAttributesName
type(grw_chararray_type), intent(inout) :: me

public subroutine truncate_ga_char(me)

Arguments

TypeIntentOptionalAttributesName
type(grw_chararray_type) :: me

public subroutine empty_ga_char(me)

Arguments

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
type(grw_chararray_type) :: me
character, 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

TypeIntentOptionalAttributesName
type(grw_chararray_type) :: me
character, 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

TypeIntentOptionalAttributesName
type(grw_chararray_type) :: me
character, intent(in) :: val
integer, intent(in), optional :: length

optional length to expand the array

public subroutine append_ga_char_vec(me, val, length)

Arguments

TypeIntentOptionalAttributesName
type(grw_chararray_type) :: me
character, intent(in) :: val(:)
integer, intent(in), optional :: length

optional length to expand the array

public subroutine expand_ga_char(me, pos, length)

Arguments

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
type(grw_char2darray_type) :: me

array to append the value to

character, 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

TypeIntentOptionalAttributesName
type(grw_char2darray_type) :: me

array to append the value to

character, 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

TypeIntentOptionalAttributesName
type(grw_char2darray_type) :: me

array to append the value to

character, 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

TypeIntentOptionalAttributesName
type(grw_char2darray_type) :: me

array to append the value to

character, 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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
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

TypeIntentOptionalAttributesName
type(grw_real2darray_type) :: me

array to resize

integer, intent(in), optional :: length

optional length to expand the array