Millepede-II  V04-00-00_preview
 All Classes Files Functions Variables Enumerator Pages
Data Types | Public Member Functions | Public Attributes
mpdalc Module Reference

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

List of all members.

Data Types

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

Public Member Functions

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

Public Attributes

integer(kind=large) numwordsalloc = 0
 current dynamic memory allocation (words)
integer(kind=large) maxwordsalloc = 0
 peak dynamic memory allocation (words)
integer nummpalloc = 0
 number of dynamic allocations
integer nummpdealloc = 0
 number of dynamic deallocations
integer printflagalloc = 0
 print flag for dynamic allocations

Detailed Description

(De)Allocate vectors and arrays.

Definition at line 7 of file mpdalc.f90.


Member Function/Subroutine Documentation

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

check allocation

Definition at line 123 of file mpdalc.f90.

Referenced by mpalloccvec(), mpallocdvec(), mpallocfarr(), mpallocfvec(), mpallociarr(), mpallocivec(), mpalloclarr(), and mpalloclist().

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

allocate (1D) character array

Definition at line 112 of file mpdalc.f90.

References mpalloccheck().

subroutine mpdalc::mpallocdvec ( double precision, dimension(:), intent(inout), allocatable  array,
integer(kind=large), intent(in)  length,
character (len=*), intent(in)  text 
)

allocate (1D) double precision array

Definition at line 32 of file mpdalc.f90.

References mpalloccheck().

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

allocate (2D) single precision array

Definition at line 65 of file mpdalc.f90.

References mpalloccheck().

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

allocate (1D) single precision array

Definition at line 43 of file mpdalc.f90.

References mpalloccheck().

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

allocate (2D) integer array

Definition at line 77 of file mpdalc.f90.

References mpalloccheck().

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

allocate (1D) integer array

Definition at line 54 of file mpdalc.f90.

References mpalloccheck().

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

allocate (2D) large integer array

Definition at line 89 of file mpdalc.f90.

References mpalloccheck().

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

allocate (1D) list item array

Definition at line 101 of file mpdalc.f90.

References mpalloccheck().

subroutine mpdalc::mpdealloccheck ( integer, intent(in)  ifail,
integer(kind=large), intent(in)  numwords 
)
subroutine mpdalc::mpdealloccvec ( character, dimension(:), intent(inout), allocatable  array)

deallocate (1D) character array

Definition at line 221 of file mpdalc.f90.

References mpdealloccheck().

subroutine mpdalc::mpdeallocdvec ( double precision, dimension(:), intent(inout), allocatable  array)

deallocate (1D) double precision array

Definition at line 144 of file mpdalc.f90.

References mpdealloccheck().

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

allocate (2D) single precision array

Definition at line 177 of file mpdalc.f90.

References mpdealloccheck().

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

deallocate (1D) single precision array

Definition at line 155 of file mpdalc.f90.

References mpdealloccheck().

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

allocate (2D) integer array

Definition at line 188 of file mpdalc.f90.

References mpdealloccheck().

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

deallocate (1D) integer array

Definition at line 166 of file mpdalc.f90.

References mpdealloccheck().

subroutine mpdalc::mpdealloclarr ( integer(kind=large), dimension(:,:), intent(inout), allocatable  array)

deallocate (2D) large integer array

Definition at line 199 of file mpdalc.f90.

References mpdealloccheck().

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

deallocate (1D) list item array

Definition at line 210 of file mpdalc.f90.

References mpdealloccheck().


Member Data Documentation

integer(kind=large) mpdalc::maxwordsalloc = 0

peak dynamic memory allocation (words)

Definition at line 13 of file mpdalc.f90.

integer mpdalc::nummpalloc = 0

number of dynamic allocations

Definition at line 14 of file mpdalc.f90.

integer mpdalc::nummpdealloc = 0

number of dynamic deallocations

Definition at line 15 of file mpdalc.f90.

integer(kind=large) mpdalc::numwordsalloc = 0

current dynamic memory allocation (words)

Definition at line 12 of file mpdalc.f90.

integer mpdalc::printflagalloc = 0

print flag for dynamic allocations

Definition at line 16 of file mpdalc.f90.


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