OpenCMISS-Iron Internal API Documentation
util_array Module Reference

Implements various dynamic array routines. More...

Data Types

interface  grow_array
 
interface  reallocate
 

Functions/Subroutines

subroutine reallocate_int (array, newSize, errorMessage, ERR, ERROR,)
 
subroutine reallocate_real (array, newSize, errorMessage, ERR, ERROR,)
 
subroutine reallocate_string (array, newSize, errorMessage, ERR, ERROR,)
 
subroutine reallocate_2d (array, newSize1, newSize2, errorMessage, ERR, ERROR,)
 
subroutine grow_array_int (array, delta, errorMessage, ERR, ERROR,)
 
subroutine grow_array_real (array, delta, errorMessage, ERR, ERROR,)
 

Detailed Description

Implements various dynamic array routines.

Function/Subroutine Documentation

subroutine util_array::grow_array_int ( integer(intg), dimension(:), intent(inout), allocatable  array,
integer(intg), intent(in)  delta,
character(len=*), intent(in)  errorMessage,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
Parameters
[out]errThe error code
[out]errorThe error string

Definition at line 183 of file util_array.f90.

References base_routines::enters(), and base_routines::exits().

subroutine util_array::grow_array_real ( real(c_double), dimension(:), intent(inout), allocatable  array,
integer(intg), intent(in)  delta,
character(len=*), intent(in)  errorMessage,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
Parameters
[out]errThe error code
[out]errorThe error string

Definition at line 221 of file util_array.f90.

References base_routines::enters(), and base_routines::exits().

subroutine util_array::reallocate_2d ( integer(intg), dimension(:,:), intent(inout), allocatable  array,
integer(intg), intent(in)  newSize1,
integer(intg), intent(in)  newSize2,
character(len=*), intent(in)  errorMessage,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
Parameters
[out]errThe error code
[out]errorThe error string

Definition at line 155 of file util_array.f90.

References base_routines::enters(), and base_routines::exits().

subroutine util_array::reallocate_int ( integer(intg), dimension(:), intent(inout), allocatable  array,
integer(intg), intent(in)  newSize,
character(len=*), intent(in)  errorMessage,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
Parameters
[out]errThe error code
[out]errorThe error string

Definition at line 71 of file util_array.f90.

References base_routines::enters(), and base_routines::exits().

subroutine util_array::reallocate_real ( real(dp), dimension(:), intent(inout), allocatable  array,
integer(intg), intent(in)  newSize,
character(len=*), intent(in)  errorMessage,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
Parameters
[out]errThe error code
[out]errorThe error string

Definition at line 98 of file util_array.f90.

References base_routines::enters(), and base_routines::exits().

subroutine util_array::reallocate_string ( type(varying_string), dimension(:), intent(inout), allocatable  array,
integer(intg), intent(in)  newSize,
character(len=*), intent(in)  errorMessage,
integer(intg), intent(out)  ERR,
type(varying_string), intent(out)  ERROR 
)
Parameters
[out]errThe error code
[out]errorThe error string

Definition at line 125 of file util_array.f90.

References base_routines::enters(), and base_routines::exits().