Millepede-II V04-17-04
Data Types | Functions/Subroutines | Variables
mpdalc Module Reference

(De)Allocate vectors and arrays. More...

Data Types

interface  mpalloc
 allocate array More...
 
interface  mpdealloc
 deallocate array More...
 

Functions/Subroutines

subroutine mpallocdvec (array, length, text)
 allocate (1D) double precision array More...
 
subroutine mpallocfvec (array, length, text)
 allocate (1D) single precision array More...
 
subroutine mpallocivec (array, length, text)
 allocate (1D) integer array More...
 
subroutine mpalloclvec (array, length, text)
 allocate (1D) large integer array More...
 
subroutine mpallocfarr (array, rows, cols, text)
 allocate (2D) single precision array More...
 
subroutine mpallociarr (array, rows, cols, text)
 allocate (2D) INTEGER(mpi) array More...
 
subroutine mpalloclarr (array, rows, cols, text)
 allocate (2D) large integer array More...
 
subroutine mpalloclist (array, length, text)
 allocate (1D) list item array More...
 
subroutine mpalloclistc (array, length, text)
 allocate (1D) character list item array More...
 
subroutine mpalloclisti (array, length, text)
 allocate (1D) character list item array More...
 
subroutine mpalloccvec (array, length, text)
 allocate (1D) character array More...
 
subroutine mpalloccheck (ifail, numwords, text)
 check allocation More...
 
subroutine mpdeallocdvec (array)
 deallocate (1D) double precision array More...
 
subroutine mpdeallocfvec (array)
 deallocate (1D) single precision array More...
 
subroutine mpdeallocivec (array)
 deallocate (1D) integer array More...
 
subroutine mpdealloclvec (array)
 deallocate (1D) large integer array More...
 
subroutine mpdeallocfarr (array)
 deallocate (2D) single precision array More...
 
subroutine mpdeallociarr (array)
 deallocate (2D) integer array More...
 
subroutine mpdealloclarr (array)
 deallocate (2D) large integer array More...
 
subroutine mpdealloclist (array)
 deallocate (1D) list item array More...
 
subroutine mpdealloclistc (array)
 deallocate (1D) character list item array More...
 
subroutine mpdealloclisti (array)
 deallocate (1D) integer list item array More...
 
subroutine mpdealloccvec (array)
 deallocate (1D) character array More...
 
subroutine mpdealloccheck (ifail, numwords)
 check deallocation More...
 

Variables

integer(mpl) numwordsalloc = 0
 current dynamic memory allocation (words) More...
 
integer(mpl) maxwordsalloc = 0
 peak dynamic memory allocation (words) More...
 
integer(mpi) nummpalloc = 0
 number of dynamic allocations More...
 
integer(mpi) nummpdealloc = 0
 number of dynamic deallocations More...
 
integer(mpi) printflagalloc = 0
 print flag for dynamic allocations More...
 

Detailed Description

(De)Allocate vectors and arrays.

Function/Subroutine Documentation

◆ mpalloccheck()

subroutine mpdalc::mpalloccheck ( integer(mpi), intent(in)  ifail,
integer(mpl), intent(in)  numwords,
character (len=*), intent(in)  text 
)

◆ mpalloccvec()

subroutine mpdalc::mpalloccvec ( character, dimension(:), intent(inout), allocatable  array,
integer(mpl), intent(in)  length,
character (len=*), intent(in)  text 
)

allocate (1D) character array

Definition at line 164 of file mpdalc.f90.

◆ mpallocdvec()

subroutine mpdalc::mpallocdvec ( real(mpd), dimension(:), intent(inout), allocatable  array,
integer(mpl), intent(in)  length,
character (len=*), intent(in)  text 
)

allocate (1D) double precision array

Definition at line 51 of file mpdalc.f90.

◆ mpallocfarr()

subroutine mpdalc::mpallocfarr ( real(mps), dimension(:,:), intent(inout), allocatable  array,
integer(mpl), intent(in)  rows,
integer(mpl), intent(in)  cols,
character (len=*), intent(in)  text 
)

allocate (2D) single precision array

Definition at line 95 of file mpdalc.f90.

◆ mpallocfvec()

subroutine mpdalc::mpallocfvec ( real(mps), dimension(:), intent(inout), allocatable  array,
integer(mpl), intent(in)  length,
character (len=*), intent(in)  text 
)

allocate (1D) single precision array

Definition at line 62 of file mpdalc.f90.

◆ mpallociarr()

subroutine mpdalc::mpallociarr ( integer(mpi), dimension(:,:), intent(inout), allocatable  array,
integer(mpl), intent(in)  rows,
integer(mpl), intent(in)  cols,
character (len=*), intent(in)  text 
)

allocate (2D) INTEGER(mpi) array

Definition at line 107 of file mpdalc.f90.

◆ mpallocivec()

subroutine mpdalc::mpallocivec ( integer(mpi), dimension(:), intent(inout), allocatable  array,
integer(mpl), intent(in)  length,
character (len=*), intent(in)  text 
)

allocate (1D) integer array

Definition at line 73 of file mpdalc.f90.

◆ mpalloclarr()

subroutine mpdalc::mpalloclarr ( integer(mpl), dimension(:,:), intent(inout), allocatable  array,
integer(mpl), intent(in)  rows,
integer(mpl), intent(in)  cols,
character (len=*), intent(in)  text 
)

allocate (2D) large integer array

Definition at line 119 of file mpdalc.f90.

◆ mpalloclist()

subroutine mpdalc::mpalloclist ( type(listitem), dimension(:), intent(inout), allocatable  array,
integer(mpl), intent(in)  length,
character (len=*), intent(in)  text 
)

allocate (1D) list item array

Definition at line 131 of file mpdalc.f90.

◆ mpalloclistc()

subroutine mpdalc::mpalloclistc ( type(listitemc), dimension(:), intent(inout), allocatable  array,
integer(mpl), intent(in)  length,
character (len=*), intent(in)  text 
)

allocate (1D) character list item array

Definition at line 142 of file mpdalc.f90.

◆ mpalloclisti()

subroutine mpdalc::mpalloclisti ( type(listitemi), dimension(:), intent(inout), allocatable  array,
integer(mpl), intent(in)  length,
character (len=*), intent(in)  text 
)

allocate (1D) character list item array

Definition at line 153 of file mpdalc.f90.

◆ mpalloclvec()

subroutine mpdalc::mpalloclvec ( integer(mpl), dimension(:), intent(inout), allocatable  array,
integer(mpl), intent(in)  length,
character (len=*), intent(in)  text 
)

allocate (1D) large integer array

Definition at line 84 of file mpdalc.f90.

◆ mpdealloccheck()

subroutine mpdalc::mpdealloccheck ( integer(mpi), intent(in)  ifail,
integer(mpl), intent(in)  numwords 
)

◆ mpdealloccvec()

subroutine mpdalc::mpdealloccvec ( character, dimension(:), intent(inout), allocatable  array)

deallocate (1D) character array

Definition at line 307 of file mpdalc.f90.

◆ mpdeallocdvec()

subroutine mpdalc::mpdeallocdvec ( real(mpd), dimension(:), intent(inout), allocatable  array)

deallocate (1D) double precision array

Definition at line 197 of file mpdalc.f90.

◆ mpdeallocfarr()

subroutine mpdalc::mpdeallocfarr ( real(mps), dimension(:,:), intent(inout), allocatable  array)

deallocate (2D) single precision array

Definition at line 241 of file mpdalc.f90.

◆ mpdeallocfvec()

subroutine mpdalc::mpdeallocfvec ( real(mps), dimension(:), intent(inout), allocatable  array)

deallocate (1D) single precision array

Definition at line 208 of file mpdalc.f90.

◆ mpdeallociarr()

subroutine mpdalc::mpdeallociarr ( integer(mpi), dimension(:,:), intent(inout), allocatable  array)

deallocate (2D) integer array

Definition at line 252 of file mpdalc.f90.

◆ mpdeallocivec()

subroutine mpdalc::mpdeallocivec ( integer(mpi), dimension(:), intent(inout), allocatable  array)

deallocate (1D) integer array

Definition at line 219 of file mpdalc.f90.

◆ mpdealloclarr()

subroutine mpdalc::mpdealloclarr ( integer(mpl), dimension(:,:), intent(inout), allocatable  array)

deallocate (2D) large integer array

Definition at line 263 of file mpdalc.f90.

◆ mpdealloclist()

subroutine mpdalc::mpdealloclist ( type(listitem), dimension(:), intent(inout), allocatable  array)

deallocate (1D) list item array

Definition at line 274 of file mpdalc.f90.

◆ mpdealloclistc()

subroutine mpdalc::mpdealloclistc ( type(listitemc), dimension(:), intent(inout), allocatable  array)

deallocate (1D) character list item array

Definition at line 285 of file mpdalc.f90.

◆ mpdealloclisti()

subroutine mpdalc::mpdealloclisti ( type(listitemi), dimension(:), intent(inout), allocatable  array)

deallocate (1D) integer list item array

Definition at line 296 of file mpdalc.f90.

◆ mpdealloclvec()

subroutine mpdalc::mpdealloclvec ( integer(mpl), dimension(:), intent(inout), allocatable  array)

deallocate (1D) large integer array

Definition at line 230 of file mpdalc.f90.

Variable Documentation

◆ maxwordsalloc

integer(mpl) mpdalc::maxwordsalloc = 0

peak dynamic memory allocation (words)

Definition at line 30 of file mpdalc.f90.

Referenced by mpalloccheck(), mpdealloccheck(), and mptwo().

◆ nummpalloc

integer(mpi) mpdalc::nummpalloc = 0

number of dynamic allocations

Definition at line 31 of file mpdalc.f90.

Referenced by mpalloccheck().

◆ nummpdealloc

integer(mpi) mpdalc::nummpdealloc = 0

number of dynamic deallocations

Definition at line 32 of file mpdalc.f90.

Referenced by mpdealloccheck().

◆ numwordsalloc

integer(mpl) mpdalc::numwordsalloc = 0

current dynamic memory allocation (words)

Definition at line 29 of file mpdalc.f90.

Referenced by mpalloccheck(), and mpdealloccheck().

◆ printflagalloc

integer(mpi) mpdalc::printflagalloc = 0

print flag for dynamic allocations

Definition at line 33 of file mpdalc.f90.

Referenced by mpalloccheck(), mpdealloccheck(), and mptwo().