(git:c5411e0)
Loading...
Searching...
No Matches
memory_utilities::reallocate Interface Reference

Public Member Functions

subroutine reallocate_c1 (p, lb1_new, ub1_new)
 (Re)Allocate a 1D vector of type COMPLEX(KIND=dp) with new dimensions (but same shape)
 
subroutine reallocate_c2 (p, lb1_new, ub1_new, lb2_new, ub2_new)
 (Re)Allocate a 2D vector of type COMPLEX(KIND=dp) with new dimensions (but same shape)
 
subroutine reallocate_c3 (p, lb1_new, ub1_new, lb2_new, ub2_new, lb3_new, ub3_new)
 (Re)Allocate a 3D vector of type COMPLEX(KIND=dp) with new dimensions (but same shape)
 
subroutine reallocate_c4 (p, lb1_new, ub1_new, lb2_new, ub2_new, lb3_new, ub3_new, lb4_new, ub4_new)
 (Re)Allocate a 4D vector of type COMPLEX(KIND=dp) with new dimensions (but same shape)
 
subroutine reallocate_i1 (p, lb1_new, ub1_new)
 (Re)Allocate a 1D vector of type INTEGER with new dimensions (but same shape)
 
subroutine reallocate_i2 (p, lb1_new, ub1_new, lb2_new, ub2_new)
 (Re)Allocate a 2D vector of type INTEGER with new dimensions (but same shape)
 
subroutine reallocate_i3 (p, lb1_new, ub1_new, lb2_new, ub2_new, lb3_new, ub3_new)
 (Re)Allocate a 3D vector of type INTEGER with new dimensions (but same shape)
 
subroutine reallocate_i4 (p, lb1_new, ub1_new, lb2_new, ub2_new, lb3_new, ub3_new, lb4_new, ub4_new)
 (Re)Allocate a 4D vector of type INTEGER with new dimensions (but same shape)
 
subroutine reallocate_r1 (p, lb1_new, ub1_new)
 (Re)Allocate a 1D vector of type REAL(KIND=dp) with new dimensions (but same shape)
 
subroutine reallocate_r2 (p, lb1_new, ub1_new, lb2_new, ub2_new)
 (Re)Allocate a 2D vector of type REAL(KIND=dp) with new dimensions (but same shape)
 
subroutine reallocate_r3 (p, lb1_new, ub1_new, lb2_new, ub2_new, lb3_new, ub3_new)
 (Re)Allocate a 3D vector of type REAL(KIND=dp) with new dimensions (but same shape)
 
subroutine reallocate_r4 (p, lb1_new, ub1_new, lb2_new, ub2_new, lb3_new, ub3_new, lb4_new, ub4_new)
 (Re)Allocate a 4D vector of type REAL(KIND=dp) with new dimensions (but same shape)
 
subroutine reallocate_r5 (p, lb1_new, ub1_new, lb2_new, ub2_new, lb3_new, ub3_new, lb4_new, ub4_new, lb5_new, ub5_new)
 (Re)Allocate a 5D vector of type REAL(KIND=dp) with new dimensions (but same shape)
 
subroutine reallocate_s1 (p, lb1_new, ub1_new)
 (Re)Allocate a 1D vector of type CHARACTER(LEN=*) with new dimensions (but same shape)
 
subroutine reallocate_l1 (p, lb1_new, ub1_new)
 (Re)Allocate a 1D vector of type LOGICAL with new dimensions (but same shape)
 
subroutine reallocate_8i1 (p, lb1_new, ub1_new)
 (Re)Allocate a 1D vector of type INTEGER(KIND=int_8) with new dimensions (but same shape)
 
subroutine reallocate_8i2 (p, lb1_new, ub1_new, lb2_new, ub2_new)
 (Re)Allocate a 2D vector of type INTEGER(KIND=int_8) with new dimensions (but same shape)
 

Detailed Description

Definition at line 27 of file memory_utilities.F.

Member Function/Subroutine Documentation

◆ reallocate_c1()

subroutine memory_utilities::reallocate::reallocate_c1 ( complex(kind=dp), dimension(:), intent(inout), pointer  p,
integer, intent(in)  lb1_new,
integer, intent(in)  ub1_new 
)

(Re)Allocate a 1D vector of type COMPLEX(KIND=dp) with new dimensions (but same shape)

Parameters
ppointer to the existing data, if NULL() calling this is equivalent to an ALLOCATE(...)
lb1_newnew lower bound for dimension 1
ub1_newnew upper bound for dimension 1

Definition at line 44 of file memory_utilities.F.

◆ reallocate_c2()

subroutine memory_utilities::reallocate::reallocate_c2 ( complex(kind=dp), dimension(:,:), intent(inout), pointer  p,
integer, intent(in)  lb1_new,
integer, intent(in)  ub1_new,
integer, intent(in)  lb2_new,
integer, intent(in)  ub2_new 
)

(Re)Allocate a 2D vector of type COMPLEX(KIND=dp) with new dimensions (but same shape)

Parameters
ppointer to the existing data, if NULL() calling this is equivalent to an ALLOCATE(...)
lb1_newnew lower bound for dimension 1
ub1_newnew upper bound for dimension 1
lb2_newnew lower bound for dimension 2
ub2_newnew upper bound for dimension 2

Definition at line 85 of file memory_utilities.F.

◆ reallocate_c3()

subroutine memory_utilities::reallocate::reallocate_c3 ( complex(kind=dp), dimension(:,:,:), intent(inout), pointer  p,
integer, intent(in)  lb1_new,
integer, intent(in)  ub1_new,
integer, intent(in)  lb2_new,
integer, intent(in)  ub2_new,
integer, intent(in)  lb3_new,
integer, intent(in)  ub3_new 
)

(Re)Allocate a 3D vector of type COMPLEX(KIND=dp) with new dimensions (but same shape)

Parameters
ppointer to the existing data, if NULL() calling this is equivalent to an ALLOCATE(...)
lb1_newnew lower bound for dimension 1
ub1_newnew upper bound for dimension 1
lb2_newnew lower bound for dimension 2
ub2_newnew upper bound for dimension 2
lb3_newnew lower bound for dimension 3
ub3_newnew upper bound for dimension 3

Definition at line 133 of file memory_utilities.F.

◆ reallocate_c4()

subroutine memory_utilities::reallocate::reallocate_c4 ( complex(kind=dp), dimension(:,:,:,:), intent(inout), pointer  p,
integer, intent(in)  lb1_new,
integer, intent(in)  ub1_new,
integer, intent(in)  lb2_new,
integer, intent(in)  ub2_new,
integer, intent(in)  lb3_new,
integer, intent(in)  ub3_new,
integer, intent(in)  lb4_new,
integer, intent(in)  ub4_new 
)

(Re)Allocate a 4D vector of type COMPLEX(KIND=dp) with new dimensions (but same shape)

Parameters
ppointer to the existing data, if NULL() calling this is equivalent to an ALLOCATE(...)
lb1_newnew lower bound for dimension 1
ub1_newnew upper bound for dimension 1
lb2_newnew lower bound for dimension 2
ub2_newnew upper bound for dimension 2
lb3_newnew lower bound for dimension 3
ub3_newnew upper bound for dimension 3
lb4_newnew lower bound for dimension 4
ub4_newnew upper bound for dimension 4

Definition at line 188 of file memory_utilities.F.

◆ reallocate_i1()

subroutine memory_utilities::reallocate::reallocate_i1 ( integer, dimension(:), intent(inout), pointer  p,
integer, intent(in)  lb1_new,
integer, intent(in)  ub1_new 
)

(Re)Allocate a 1D vector of type INTEGER with new dimensions (but same shape)

Parameters
ppointer to the existing data, if NULL() calling this is equivalent to an ALLOCATE(...)
lb1_newnew lower bound for dimension 1
ub1_newnew upper bound for dimension 1

Definition at line 242 of file memory_utilities.F.

◆ reallocate_i2()

subroutine memory_utilities::reallocate::reallocate_i2 ( integer, dimension(:,:), intent(inout), pointer  p,
integer, intent(in)  lb1_new,
integer, intent(in)  ub1_new,
integer, intent(in)  lb2_new,
integer, intent(in)  ub2_new 
)

(Re)Allocate a 2D vector of type INTEGER with new dimensions (but same shape)

Parameters
ppointer to the existing data, if NULL() calling this is equivalent to an ALLOCATE(...)
lb1_newnew lower bound for dimension 1
ub1_newnew upper bound for dimension 1
lb2_newnew lower bound for dimension 2
ub2_newnew upper bound for dimension 2

Definition at line 283 of file memory_utilities.F.

◆ reallocate_i3()

subroutine memory_utilities::reallocate::reallocate_i3 ( integer, dimension(:,:,:), intent(inout), pointer  p,
integer, intent(in)  lb1_new,
integer, intent(in)  ub1_new,
integer, intent(in)  lb2_new,
integer, intent(in)  ub2_new,
integer, intent(in)  lb3_new,
integer, intent(in)  ub3_new 
)

(Re)Allocate a 3D vector of type INTEGER with new dimensions (but same shape)

Parameters
ppointer to the existing data, if NULL() calling this is equivalent to an ALLOCATE(...)
lb1_newnew lower bound for dimension 1
ub1_newnew upper bound for dimension 1
lb2_newnew lower bound for dimension 2
ub2_newnew upper bound for dimension 2
lb3_newnew lower bound for dimension 3
ub3_newnew upper bound for dimension 3

Definition at line 331 of file memory_utilities.F.

◆ reallocate_i4()

subroutine memory_utilities::reallocate::reallocate_i4 ( integer, dimension(:,:,:,:), intent(inout), pointer  p,
integer, intent(in)  lb1_new,
integer, intent(in)  ub1_new,
integer, intent(in)  lb2_new,
integer, intent(in)  ub2_new,
integer, intent(in)  lb3_new,
integer, intent(in)  ub3_new,
integer, intent(in)  lb4_new,
integer, intent(in)  ub4_new 
)

(Re)Allocate a 4D vector of type INTEGER with new dimensions (but same shape)

Parameters
ppointer to the existing data, if NULL() calling this is equivalent to an ALLOCATE(...)
lb1_newnew lower bound for dimension 1
ub1_newnew upper bound for dimension 1
lb2_newnew lower bound for dimension 2
ub2_newnew upper bound for dimension 2
lb3_newnew lower bound for dimension 3
ub3_newnew upper bound for dimension 3
lb4_newnew lower bound for dimension 4
ub4_newnew upper bound for dimension 4

Definition at line 386 of file memory_utilities.F.

◆ reallocate_r1()

subroutine memory_utilities::reallocate::reallocate_r1 ( real(kind=dp), dimension(:), intent(inout), pointer  p,
integer, intent(in)  lb1_new,
integer, intent(in)  ub1_new 
)

(Re)Allocate a 1D vector of type REAL(KIND=dp) with new dimensions (but same shape)

Parameters
ppointer to the existing data, if NULL() calling this is equivalent to an ALLOCATE(...)
lb1_newnew lower bound for dimension 1
ub1_newnew upper bound for dimension 1

Definition at line 525 of file memory_utilities.F.

◆ reallocate_r2()

subroutine memory_utilities::reallocate::reallocate_r2 ( real(kind=dp), dimension(:,:), intent(inout), pointer  p,
integer, intent(in)  lb1_new,
integer, intent(in)  ub1_new,
integer, intent(in)  lb2_new,
integer, intent(in)  ub2_new 
)

(Re)Allocate a 2D vector of type REAL(KIND=dp) with new dimensions (but same shape)

Parameters
ppointer to the existing data, if NULL() calling this is equivalent to an ALLOCATE(...)
lb1_newnew lower bound for dimension 1
ub1_newnew upper bound for dimension 1
lb2_newnew lower bound for dimension 2
ub2_newnew upper bound for dimension 2

Definition at line 566 of file memory_utilities.F.

◆ reallocate_r3()

subroutine memory_utilities::reallocate::reallocate_r3 ( real(kind=dp), dimension(:,:,:), intent(inout), pointer  p,
integer, intent(in)  lb1_new,
integer, intent(in)  ub1_new,
integer, intent(in)  lb2_new,
integer, intent(in)  ub2_new,
integer, intent(in)  lb3_new,
integer, intent(in)  ub3_new 
)

(Re)Allocate a 3D vector of type REAL(KIND=dp) with new dimensions (but same shape)

Parameters
ppointer to the existing data, if NULL() calling this is equivalent to an ALLOCATE(...)
lb1_newnew lower bound for dimension 1
ub1_newnew upper bound for dimension 1
lb2_newnew lower bound for dimension 2
ub2_newnew upper bound for dimension 2
lb3_newnew lower bound for dimension 3
ub3_newnew upper bound for dimension 3

Definition at line 614 of file memory_utilities.F.

◆ reallocate_r4()

subroutine memory_utilities::reallocate::reallocate_r4 ( real(kind=dp), dimension(:,:,:,:), intent(inout), pointer  p,
integer, intent(in)  lb1_new,
integer, intent(in)  ub1_new,
integer, intent(in)  lb2_new,
integer, intent(in)  ub2_new,
integer, intent(in)  lb3_new,
integer, intent(in)  ub3_new,
integer, intent(in)  lb4_new,
integer, intent(in)  ub4_new 
)

(Re)Allocate a 4D vector of type REAL(KIND=dp) with new dimensions (but same shape)

Parameters
ppointer to the existing data, if NULL() calling this is equivalent to an ALLOCATE(...)
lb1_newnew lower bound for dimension 1
ub1_newnew upper bound for dimension 1
lb2_newnew lower bound for dimension 2
ub2_newnew upper bound for dimension 2
lb3_newnew lower bound for dimension 3
ub3_newnew upper bound for dimension 3
lb4_newnew lower bound for dimension 4
ub4_newnew upper bound for dimension 4

Definition at line 669 of file memory_utilities.F.

◆ reallocate_r5()

subroutine memory_utilities::reallocate::reallocate_r5 ( real(kind=dp), dimension(:,:,:,:,:), intent(inout), pointer  p,
integer, intent(in)  lb1_new,
integer, intent(in)  ub1_new,
integer, intent(in)  lb2_new,
integer, intent(in)  ub2_new,
integer, intent(in)  lb3_new,
integer, intent(in)  ub3_new,
integer, intent(in)  lb4_new,
integer, intent(in)  ub4_new,
integer, intent(in)  lb5_new,
integer, intent(in)  ub5_new 
)

(Re)Allocate a 5D vector of type REAL(KIND=dp) with new dimensions (but same shape)

Parameters
ppointer to the existing data, if NULL() calling this is equivalent to an ALLOCATE(...)
lb1_newnew lower bound for dimension 1
ub1_newnew upper bound for dimension 1
lb2_newnew lower bound for dimension 2
ub2_newnew upper bound for dimension 2
lb3_newnew lower bound for dimension 3
ub3_newnew upper bound for dimension 3
lb4_newnew lower bound for dimension 4
ub4_newnew upper bound for dimension 4
lb5_newnew lower bound for dimension 5
ub5_newnew upper bound for dimension 5

Definition at line 731 of file memory_utilities.F.

◆ reallocate_s1()

subroutine memory_utilities::reallocate::reallocate_s1 ( character(len=*), dimension(:), intent(inout), pointer  p,
integer, intent(in)  lb1_new,
integer, intent(in)  ub1_new 
)

(Re)Allocate a 1D vector of type CHARACTER(LEN=*) with new dimensions (but same shape)

Parameters
ppointer to the existing data, if NULL() calling this is equivalent to an ALLOCATE(...)
lb1_newnew lower bound for dimension 1
ub1_newnew upper bound for dimension 1

Definition at line 829 of file memory_utilities.F.

◆ reallocate_l1()

subroutine memory_utilities::reallocate::reallocate_l1 ( logical, dimension(:), intent(inout), pointer  p,
integer, intent(in)  lb1_new,
integer, intent(in)  ub1_new 
)

(Re)Allocate a 1D vector of type LOGICAL with new dimensions (but same shape)

Parameters
ppointer to the existing data, if NULL() calling this is equivalent to an ALLOCATE(...)
lb1_newnew lower bound for dimension 1
ub1_newnew upper bound for dimension 1

Definition at line 790 of file memory_utilities.F.

◆ reallocate_8i1()

subroutine memory_utilities::reallocate::reallocate_8i1 ( integer(kind=int_8), dimension(:), intent(inout), pointer  p,
integer, intent(in)  lb1_new,
integer, intent(in)  ub1_new 
)

(Re)Allocate a 1D vector of type INTEGER(KIND=int_8) with new dimensions (but same shape)

Parameters
ppointer to the existing data, if NULL() calling this is equivalent to an ALLOCATE(...)
lb1_newnew lower bound for dimension 1
ub1_newnew upper bound for dimension 1

Definition at line 440 of file memory_utilities.F.

◆ reallocate_8i2()

subroutine memory_utilities::reallocate::reallocate_8i2 ( integer(kind=int_8), dimension(:,:), intent(inout), pointer  p,
integer, intent(in)  lb1_new,
integer, intent(in)  ub1_new,
integer, intent(in)  lb2_new,
integer, intent(in)  ub2_new 
)

(Re)Allocate a 2D vector of type INTEGER(KIND=int_8) with new dimensions (but same shape)

Parameters
ppointer to the existing data, if NULL() calling this is equivalent to an ALLOCATE(...)
lb1_newnew lower bound for dimension 1
ub1_newnew upper bound for dimension 1
lb2_newnew lower bound for dimension 2
ub2_newnew upper bound for dimension 2

Definition at line 481 of file memory_utilities.F.


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