FEDEM Solver  R8.0
Source code of the dynamics solver
Private Member Functions | List of all members
allocationmodule::reallocate Interface Reference

Allocates, reallocates or deallocates a generic array. More...

Private Member Functions

subroutine reallocateint (label, array, nw, ierr, preserveContent)
 Allocate, reallocate or deallocate a one-dimensional integer array. More...
 
subroutine reallocatefloat1d (label, array, nw, ierr)
 Allocate, reallocate or deallocate a one-dimensional real array. More...
 
subroutine reallocatefloat2d (label, array, n1, n2, ierr)
 Allocate, reallocate or deallocate a two-dimensional real array. More...
 
subroutine reallocatedouble1d (label, array, nw, ierr, preserveContent)
 Allocate, reallocate or deallocate a one-dimensional real array. More...
 
subroutine reallocatedouble2d (label, array, n1, n2, ierr)
 Allocate, reallocate or deallocate a two-dimensional real array. More...
 
subroutine reallocateint8 (label, array, nw, ierr, preserveContent)
 Allocate, reallocate or deallocate a one-dimensional integer array. More...
 
subroutine reallocatebigdouble1d (label, array, nw, ierr)
 Allocate, reallocate or deallocate a big one-dimensional real array. More...
 

Detailed Description

Allocates, reallocates or deallocates a generic array.

Member Function/Subroutine Documentation

◆ reallocatebigdouble1d()

subroutine allocationmodule::reallocate::reallocatebigdouble1d ( character(len=*), intent(in)  label,
real(dp), dimension(:), pointer  array,
integer(i8), intent(in)  nw,
integer, intent(inout)  ierr 
)
private

Allocate, reallocate or deallocate a big one-dimensional real array.

Parameters
[in]labelName of calling subroutine (for memory logging)
arrayThe double precision real array to (re)allocate
[in]nwNumber of words in array after reallocation
[out]ierrError flag

This subroutine is used for arrays that may contain more than 2^31 words, which is the largest number that can be represented by normal 4-byte integer variables.

Author
Knut Morten Okstad
Date
12 May 2017

◆ reallocatedouble1d()

subroutine allocationmodule::reallocate::reallocatedouble1d ( character(len=*), intent(in)  label,
real(dp), dimension(:), pointer  array,
integer, intent(in), optional  nw,
integer, intent(inout), optional  ierr,
logical, intent(in), optional  preserveContent 
)
private

Allocate, reallocate or deallocate a one-dimensional real array.

Parameters
[in]labelName of calling subroutine (for memory logging)
arrayThe double precision real array to (re)allocate
[in]nwNumber of words in array after reallocation
[out]ierrError flag
[in]preserveContentIf .true., the existing contents is preserved when the array is reallocated

◆ reallocatedouble2d()

subroutine allocationmodule::reallocate::reallocatedouble2d ( character(len=*), intent(in)  label,
real(dp), dimension(:,:), pointer  array,
integer, intent(in), optional  n1,
integer, intent(in), optional  n2,
integer, intent(inout), optional  ierr 
)
private

Allocate, reallocate or deallocate a two-dimensional real array.

Parameters
[in]labelName of calling subroutine (for memory logging)
arrayThe double precision real array to (re)allocate
[in]n1Number of rows in array after reallocation
[in]n2Number of columns in array after reallocation
[out]ierrError flag

◆ reallocatefloat1d()

subroutine allocationmodule::reallocate::reallocatefloat1d ( character(len=*), intent(in)  label,
real(sp), dimension(:), pointer  array,
integer, intent(in), optional  nw,
integer, intent(inout), optional  ierr 
)
private

Allocate, reallocate or deallocate a one-dimensional real array.

Parameters
[in]labelName of calling subroutine (for memory logging)
arrayThe single precision real array to (re)allocate
[in]nwNumber of words in array after reallocation
[out]ierrError flag
Author
Knut Morten Okstad
Date
30 Dec 2004

◆ reallocatefloat2d()

subroutine allocationmodule::reallocate::reallocatefloat2d ( character(len=*), intent(in)  label,
real(sp), dimension(:,:), pointer  array,
integer, intent(in), optional  n1,
integer, intent(in), optional  n2,
integer, intent(inout), optional  ierr 
)
private

Allocate, reallocate or deallocate a two-dimensional real array.

Parameters
[in]labelName of calling subroutine (for memory logging)
arrayThe single precision real array to (re)allocate
[in]n1Number of rows in array after reallocation
[in]n2Number of columns in array after reallocation
[out]ierrError flag

◆ reallocateint()

subroutine allocationmodule::reallocate::reallocateint ( character(len=*), intent(in)  label,
integer, dimension(:), pointer  array,
integer, intent(in), optional  nw,
integer, intent(inout), optional  ierr,
logical, intent(in), optional  preserveContent 
)
private

Allocate, reallocate or deallocate a one-dimensional integer array.

Parameters
[in]labelName of calling subroutine (for memory logging)
arrayThe integer array to (re)allocate
[in]nwNumber of words in array after reallocation
[out]ierrError flag
[in]preserveContentIf .true., the existing contents is preserved when the array is reallocated

◆ reallocateint8()

subroutine allocationmodule::reallocate::reallocateint8 ( character(len=*), intent(in)  label,
integer(i8), dimension(:), pointer  array,
integer, intent(in), optional  nw,
integer, intent(inout), optional  ierr,
logical, intent(in), optional  preserveContent 
)
private

Allocate, reallocate or deallocate a one-dimensional integer array.

Parameters
[in]labelName of calling subroutine (for memory logging)
arrayThe integer*8 array to (re)allocate
[in]nwNumber of words in array after reallocation
[out]ierrError flag
[in]preserveContentIf .true., the existing contents is preserved when the array is reallocated

The documentation for this interface was generated from the following file: