CP2K 2.4 (Revision 12889)
Private Member Functions

memory_utilities::reallocate Interface Reference

List of all members.

Private Member Functions

subroutine reallocate_c1 (p, lb1_new, ub1_new)
 (Re)Allocate a complex vector with a new dimension
subroutine reallocate_c2 (p, lb1_new, ub1_new, lb2_new, ub2_new)
 (Re)Allocate a complex array 2D with a new dimension
subroutine reallocate_c3 (p, lb1_new, ub1_new, lb2_new, ub2_new, lb3_new, ub3_new)
 (Re)Allocate a complex array 3D with a new dimension
subroutine reallocate_c4 (p, lb1_new, ub1_new, lb2_new, ub2_new, lb3_new, ub3_new, lb4_new, ub4_new)
 (Re)Allocate a complex array 4D with a new dimension
subroutine reallocate_i1 (p, lb1_new, ub1_new)
 (Re)Allocate an integer vector with a new dimension.
subroutine reallocate_i2 (p, lb1_new, ub1_new, lb2_new, ub2_new)
 (Re)Allocate an integer array with a new dimension.
subroutine reallocate_i3 (p, lb1_new, ub1_new, lb2_new, ub2_new, lb3_new, ub3_new)
 (Re)Allocate an integer array 3D with a new dimension.
subroutine reallocate_i4 (p, lb1_new, ub1_new, lb2_new, ub2_new, lb3_new, ub3_new, lb4_new, ub4_new)
 (Re)Allocate an integer array 3D with a new dimension.
subroutine reallocate_r1 (p, lb1_new, ub1_new)
 (Re)Allocate an real vector with a new dimension.
subroutine reallocate_r2 (p, lb1_new, ub1_new, lb2_new, ub2_new)
 (Re)Allocate an real array with new dimensions.
subroutine reallocate_r3 (p, lb1_new, ub1_new, lb2_new, ub2_new, lb3_new, ub3_new)
 (Re)Allocate an real array 3D with new dimensions.
subroutine reallocate_r4 (p, lb1_new, ub1_new, lb2_new, ub2_new, lb3_new, ub3_new, lb4_new, ub4_new)
 (Re)Allocate an real array 4D with new dimensions.
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 an real array 5D with new dimensions.
subroutine reallocate_s1 (p_short, lb_new, ub_new, p_long)
 (Re)Allocate a vector of string variables
subroutine reallocate_l1 (p, lb1_new, ub1_new)
 (Re)Allocate a logical vector with a new dimension.
subroutine reallocate_8i1 (p, lb1_new, ub1_new)
 (Re)Allocate an integer (int_8) vector with a new dimension.
subroutine reallocate_8i2 (p, lb1_new, ub1_new, lb2_new, ub2_new)
 (Re)Allocate an integer (int_8) array with a new dimension.

Detailed Description

Definition at line 34 of file memory_utilities.f90.


Member Function Documentation

subroutine memory_utilities::reallocate::reallocate_8i1 ( INTEGER(KIND=int_8),dimension(:),pointer  p,
INTEGER,intent(in)  lb1_new,
INTEGER,intent(in)  ub1_new 
) [private]

(Re)Allocate an integer (int_8) vector with a new dimension.

History
none
Author:
Matthias Krack (18.07.2002,MK)

Definition at line 236 of file memory_utilities.f90.

subroutine memory_utilities::reallocate::reallocate_8i2 ( INTEGER(kind=int_8),dimension(:, :),pointer  p,
INTEGER,intent(in)  lb1_new,
INTEGER,intent(in)  ub1_new,
INTEGER,intent(in)  lb2_new,
INTEGER,intent(in)  ub2_new 
) [private]

(Re)Allocate an integer (int_8) array with a new dimension.

History
none
Author:
Matthias Krack (18.07.2002,MK)

Definition at line 259 of file memory_utilities.f90.

subroutine memory_utilities::reallocate::reallocate_c1 ( COMPLEX(KIND=dp),dimension(:),pointer  p,
INTEGER,intent(in)  lb1_new,
INTEGER,intent(in)  ub1_new 
) [private]

(Re)Allocate a complex vector with a new dimension

History
none
Author:
Matthias Krack (28.11.2005,MK)

Definition at line 50 of file memory_utilities.f90.

subroutine memory_utilities::reallocate::reallocate_c2 ( COMPLEX(KIND=dp),dimension(:, :),pointer  p,
INTEGER,intent(in)  lb1_new,
INTEGER,intent(in)  ub1_new,
INTEGER,intent(in)  lb2_new,
INTEGER,intent(in)  ub2_new 
) [private]

(Re)Allocate a complex array 2D with a new dimension

History
none
Author:
Matthias Krack (28.11.2005,MK)

Definition at line 72 of file memory_utilities.f90.

subroutine memory_utilities::reallocate::reallocate_c3 ( COMPLEX(KIND=dp),dimension(:, :, :),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 
) [private]

(Re)Allocate a complex array 3D with a new dimension

History
none
Author:
Matthias Krack (28.11.2005,MK)

Definition at line 96 of file memory_utilities.f90.

subroutine memory_utilities::reallocate::reallocate_c4 ( COMPLEX(KIND=dp),dimension(:, :, :, :),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 
) [private]

(Re)Allocate a complex array 4D with a new dimension

History
none
Author:
Matthias Krack (28.11.2005,MK)

Definition at line 120 of file memory_utilities.f90.

subroutine memory_utilities::reallocate::reallocate_i1 ( INTEGER,dimension(:),pointer  p,
INTEGER,intent(in)  lb1_new,
INTEGER,intent(in)  ub1_new 
) [private]

(Re)Allocate an integer vector with a new dimension.

History
none
Author:
Matthias Krack (18.07.2002,MK)

Definition at line 146 of file memory_utilities.f90.

subroutine memory_utilities::reallocate::reallocate_i2 ( INTEGER,dimension(:, :),pointer  p,
INTEGER,intent(in)  lb1_new,
INTEGER,intent(in)  ub1_new,
INTEGER,intent(in)  lb2_new,
INTEGER,intent(in)  ub2_new 
) [private]

(Re)Allocate an integer array with a new dimension.

History
none
Author:
Matthias Krack (18.07.2002,MK)

Definition at line 167 of file memory_utilities.f90.

subroutine memory_utilities::reallocate::reallocate_i3 ( INTEGER,dimension(:, :, :),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 
) [private]

(Re)Allocate an integer array 3D with a new dimension.

History
none
Author:
Matthias Krack (18.07.2002,MK)

Definition at line 189 of file memory_utilities.f90.

subroutine memory_utilities::reallocate::reallocate_i4 ( INTEGER,dimension(:, :, :, :),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 
) [private]

(Re)Allocate an integer array 3D with a new dimension.

History
none
Author:
Matthias Krack (04.10.2002,MK)

Definition at line 211 of file memory_utilities.f90.

subroutine memory_utilities::reallocate::reallocate_l1 ( LOGICAL,dimension(:),pointer  p,
INTEGER,intent(in)  lb1_new,
INTEGER,intent(in)  ub1_new 
) [private]

(Re)Allocate a logical vector with a new dimension.

History
none
Author:
Matthias Krack (18.07.2002,MK)

Definition at line 404 of file memory_utilities.f90.

subroutine memory_utilities::reallocate::reallocate_r1 ( REAL(KIND=dp),dimension(:),pointer  p,
INTEGER,intent(in)  lb1_new,
INTEGER,intent(in)  ub1_new 
) [private]

(Re)Allocate an real vector with a new dimension.

History
none
Author:
Matthias Krack (18.07.2002,MK)

Definition at line 283 of file memory_utilities.f90.

subroutine memory_utilities::reallocate::reallocate_r2 ( REAL(KIND=dp),dimension(:, :),pointer  p,
INTEGER,intent(in)  lb1_new,
INTEGER,intent(in)  ub1_new,
INTEGER,intent(in)  lb2_new,
INTEGER,intent(in)  ub2_new 
) [private]

(Re)Allocate an real array with new dimensions.

History
none
Author:
Matthias Krack (18.07.2002,MK)

Definition at line 304 of file memory_utilities.f90.

subroutine memory_utilities::reallocate::reallocate_r3 ( REAL(KIND=dp),dimension(:, :, :),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 
) [private]

(Re)Allocate an real array 3D with new dimensions.

History
none
Author:
Matthias Krack (18.07.2002,MK)

Definition at line 327 of file memory_utilities.f90.

subroutine memory_utilities::reallocate::reallocate_r4 ( REAL(KIND=dp),dimension(:, :, :, :),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 
) [private]

(Re)Allocate an real array 4D with new dimensions.

History
none
Author:
Matthias Krack (04.10.2002,MK)

Definition at line 351 of file memory_utilities.f90.

subroutine memory_utilities::reallocate::reallocate_r5 ( REAL(KIND=dp),dimension(:, :, :, :, :),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 
) [private]

(Re)Allocate an real array 5D with new dimensions.

History
none
Author:
Matthias Krack (04.10.2002,MK)

Definition at line 377 of file memory_utilities.f90.

subroutine memory_utilities::reallocate::reallocate_s1 ( CHARACTER(LEN=default_string_length),dimension(:),optional,pointer  p_short,
INTEGER,intent(in)  lb_new,
INTEGER,intent(in)  ub_new,
CHARACTER(LEN=default_path_length),dimension(:),optional,pointer  p_long 
) [private]

(Re)Allocate a vector of string variables

Note:
(Maybe outdated) This routine doesnt work on SUN/Solaris!!! It should probably not be used. (Thomas Chassaing)
History
none
Author:
Matthias Krack (18.07.2002,MK)

Definition at line 428 of file memory_utilities.f90.


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