public interface soa_resize_field
Give one field array a new allocated length, preserving a prefix.
Usage: call soa_resize_field(values, new_capacity, keep, fill_to, err)
values(1:keep) survives the call. Indices keep+1 .. fill_to are set
to the zero value of the type; indices above fill_to are left
unspecified. When values already has exactly new_capacity elements
no reallocation happens and only the fill is performed, which is what
makes a shrink followed by a grow free.
Fails with ERROR_VALIDATION on inconsistent arguments and with
ERROR_ALLOC if the new array cannot be allocated.
interface~~soa_resize_field~~CallsGraph
interface~soa_resize_field
soa_resize_field
proc~soa_resize_int32_field
soa_resize_int32_field
interface~soa_resize_field->proc~soa_resize_int32_field
proc~soa_resize_int64_field
soa_resize_int64_field
interface~soa_resize_field->proc~soa_resize_int64_field
proc~soa_resize_logical_field
soa_resize_logical_field
interface~soa_resize_field->proc~soa_resize_logical_field
proc~soa_resize_real_dp_field
soa_resize_real_dp_field
interface~soa_resize_field->proc~soa_resize_real_dp_field
proc~soa_resize_real_sp_field
soa_resize_real_sp_field
interface~soa_resize_field->proc~soa_resize_real_sp_field
proc~error_has_error
error_t%error_has_error
proc~soa_resize_int32_field->proc~error_has_error
proc~soa_check_alloc
soa_check_alloc
proc~soa_resize_int32_field->proc~soa_check_alloc
proc~soa_check_resize_args
soa_check_resize_args
proc~soa_resize_int32_field->proc~soa_check_resize_args
proc~soa_resize_int64_field->proc~error_has_error
proc~soa_resize_int64_field->proc~soa_check_alloc
proc~soa_resize_int64_field->proc~soa_check_resize_args
proc~soa_resize_logical_field->proc~error_has_error
proc~soa_resize_logical_field->proc~soa_check_alloc
proc~soa_resize_logical_field->proc~soa_check_resize_args
proc~soa_resize_real_dp_field->proc~error_has_error
proc~soa_resize_real_dp_field->proc~soa_check_alloc
proc~soa_resize_real_dp_field->proc~soa_check_resize_args
proc~soa_resize_real_sp_field->proc~error_has_error
proc~soa_resize_real_sp_field->proc~soa_check_alloc
proc~soa_resize_real_sp_field->proc~soa_check_resize_args
interface~to_char
to_char
proc~soa_check_alloc->interface~to_char
proc~error_set
error_t%error_set
proc~soa_check_alloc->proc~error_set
proc~soa_check_resize_args->interface~to_char
proc~soa_check_resize_args->proc~error_set
proc~to_char_char
to_char_char
interface~to_char->proc~to_char_char
proc~to_char_dp
to_char_dp
interface~to_char->proc~to_char_dp
proc~to_char_int32
to_char_int32
interface~to_char->proc~to_char_int32
proc~to_char_int64
to_char_int64
interface~to_char->proc~to_char_int64
proc~to_char_logical
to_char_logical
interface~to_char->proc~to_char_logical
proc~to_char_matrix_dp
to_char_matrix_dp
interface~to_char->proc~to_char_matrix_dp
proc~to_char_matrix_int32
to_char_matrix_int32
interface~to_char->proc~to_char_matrix_int32
proc~to_char_matrix_int64
to_char_matrix_int64
interface~to_char->proc~to_char_matrix_int64
proc~to_char_matrix_sp
to_char_matrix_sp
interface~to_char->proc~to_char_matrix_sp
proc~to_char_sp
to_char_sp
interface~to_char->proc~to_char_sp
proc~to_char_vector_dp
to_char_vector_dp
interface~to_char->proc~to_char_vector_dp
proc~to_char_vector_int32
to_char_vector_int32
interface~to_char->proc~to_char_vector_int32
proc~to_char_vector_int64
to_char_vector_int64
interface~to_char->proc~to_char_vector_int64
proc~to_char_vector_sp
to_char_vector_sp
interface~to_char->proc~to_char_vector_sp
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Type Bound Procedure
Type Bound Procedure
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Nodes of different colours represent the following:
Graph Key
Subroutine
Subroutine
Function
Function
Interface
Interface
Type Bound Procedure
Type Bound Procedure
Unknown Procedure Type
Unknown Procedure Type
Program
Program
This Page's Entity
This Page's Entity
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Module Procedures
Resize an integer(int32) field.
Arguments
Type
Intent Optional Attributes
Name
integer(kind=int32),
intent(inout),
allocatable
::
values (:)
integer(kind=default_int),
intent(in)
::
new_capacity
integer(kind=default_int),
intent(in)
::
keep
integer(kind=default_int),
intent(in)
::
fill_to
type(error_t ),
intent(inout)
::
err
Resize an integer(int64) field.
Arguments
Type
Intent Optional Attributes
Name
integer(kind=int64),
intent(inout),
allocatable
::
values (:)
integer(kind=default_int),
intent(in)
::
new_capacity
integer(kind=default_int),
intent(in)
::
keep
integer(kind=default_int),
intent(in)
::
fill_to
type(error_t ),
intent(inout)
::
err
Resize a real(sp) field.
Arguments
Type
Intent Optional Attributes
Name
real(kind=sp),
intent(inout),
allocatable
::
values (:)
integer(kind=default_int),
intent(in)
::
new_capacity
integer(kind=default_int),
intent(in)
::
keep
integer(kind=default_int),
intent(in)
::
fill_to
type(error_t ),
intent(inout)
::
err
Resize a real(dp) field.
Arguments
Type
Intent Optional Attributes
Name
real(kind=dp),
intent(inout),
allocatable
::
values (:)
integer(kind=default_int),
intent(in)
::
new_capacity
integer(kind=default_int),
intent(in)
::
keep
integer(kind=default_int),
intent(in)
::
fill_to
type(error_t ),
intent(inout)
::
err
Resize a default logical field.
Arguments
Type
Intent Optional Attributes
Name
logical,
intent(inout),
allocatable
::
values (:)
integer(kind=default_int),
intent(in)
::
new_capacity
integer(kind=default_int),
intent(in)
::
keep
integer(kind=default_int),
intent(in)
::
fill_to
type(error_t ),
intent(inout)
::
err