All Classes Files Functions Variables Pages
mod_init_memory Module Reference

This module contains subroutines to allocate arrays and to compute an approximation of the total RAM used by EFISPEC3D.

Data Types

interface  init_array_int
 Interface init_array_int to redirect allocation to n-rank arrays. More...
 
interface  init_array_real
 Interface init_array_real to redirect allocation to n-rank arrays. More...
 
interface  init_array_real_dp
 Interface init_array_real_dp to redirect allocation to n-rank arrays. More...
 

Public Member Functions

integer function init_array_rank2_real_dp (t, n1, n2, tname)
 This subroutine allocates real-double-precision-value array of rank 2. More...
 
integer function init_array_rank1_real (t, n1, tname)
 This subroutine allocates real-value array of rank 1. More...
 
integer function init_array_rank2_real (t, n1, n2, tname)
 This subroutine allocates real-value array of rank 2. More...
 
integer function init_array_rank3_real (t, n1, n2, n3, tname)
 This subroutine allocates real-value array of rank 3. More...
 
integer function init_array_rank4_real (t, n1, n2, n3, n4, tname)
 This subroutine allocates real-value array of order 4. More...
 
integer function init_array_rank5_real (t, n1, n2, n3, n4, n5, tname)
 This subroutine allocates real-value array of order 5. More...
 
integer function init_array_rank1_int (t, n1, tname)
 This subroutine allocates integer-value array of rank 1. More...
 
integer function init_array_rank2_int (t, n1, n2, tname)
 This subroutine allocates integer-value array of rank 2. More...
 
integer function init_array_rank3_int (t, n1, n2, n3, tname)
 This subroutine allocates int-value array of rank 3. More...
 
integer function init_array_rank4_int (t, n1, n2, n3, n4, tname)
 This subroutine allocates int-value array of order 4. More...
 
subroutine, public memory_consumption ()
 Subroutine to compute an approximation of total RAM used by global variables of EFISPEC3D. See module mod_global_variables. More...
 

Private Member Functions

integer function init_array_rank1_real_dp (t, n1, tname)
 This subroutine allocates real-double-precision-value array of rank 1. More...
 

Detailed Description

Definition at line 126 of file module_init_memory.f90.

Member Function/Subroutine Documentation

integer function mod_init_memory::init_array_rank1_int ( integer, dimension(:), intent(out), allocatable  t,
integer, intent(in)  n1,
character(len=*), intent(in)  tname 
)
Parameters
t: integer-value array to be allocated
n1: size of the array
tname: name of the array

Definition at line 515 of file module_init_memory.f90.

integer function mod_init_memory::init_array_rank1_real ( real, dimension(:), intent(out), allocatable  t,
integer, intent(in)  n1,
character(len=*), intent(in)  tname 
)
Parameters
t: real-value array to be allocated
n1: size of the array
tname: name of the array

Definition at line 265 of file module_init_memory.f90.

integer function mod_init_memory::init_array_rank1_real_dp ( double precision, dimension(:), intent(out), allocatable  t,
integer, intent(in)  n1,
character(len=*), intent(in)  tname 
)
private
Parameters
t: real-double-precision-value array to be allocated
n1: size of the array
tname: name of the array

Definition at line 178 of file module_init_memory.f90.

integer function mod_init_memory::init_array_rank2_int ( integer, dimension(:,:), intent(out), allocatable  t,
integer, intent(in)  n1,
integer, intent(in)  n2,
character(len=*), intent(in)  tname 
)
Parameters
t: integer-value array to be allocated
n1: size of dimension 1 of the array
n2: size of dimension 2 of the array
tname: name of the array

Definition at line 556 of file module_init_memory.f90.

integer function mod_init_memory::init_array_rank2_real ( real, dimension(:,:), intent(out), allocatable  t,
integer, intent(in)  n1,
integer, intent(in)  n2,
character(len=*), intent(in)  tname 
)
Parameters
t: real-value array to be allocated –> t(n2,n1)
n1: size of the dimension 1 of the array
n2: size of the dimension 2 of the array
tname: name of the array

Definition at line 306 of file module_init_memory.f90.

integer function mod_init_memory::init_array_rank2_real_dp ( double precision, dimension(:,:), intent(out), allocatable  t,
integer, intent(in)  n1,
integer, intent(in)  n2,
character(len=*), intent(in)  tname 
)
Parameters
t: real-double-precision-value array to be allocated –> t(n2,n1)
n1: size of the dimension 1 of the array
n2: size of the dimension 2 of the array
tname: name of the array

Definition at line 220 of file module_init_memory.f90.

integer function mod_init_memory::init_array_rank3_int ( integer, dimension(:,:,:), intent(out), allocatable  t,
integer, intent(in)  n1,
integer, intent(in)  n2,
integer, intent(in)  n3,
character(len=*), intent(in)  tname 
)
Parameters
t: int-value array to be allocated –> t(n3,n2,n1)
n1: size of the dimension 1 of the array
n2: size of the dimension 2 of the array
n3: size of the dimension 3 of the array
tname: name of the array

Definition at line 602 of file module_init_memory.f90.

integer function mod_init_memory::init_array_rank3_real ( real, dimension(:,:,:), intent(out), allocatable  t,
integer, intent(in)  n1,
integer, intent(in)  n2,
integer, intent(in)  n3,
character(len=*), intent(in)  tname 
)
Parameters
t: real-value array to be allocated –> t(n3,n2,n1)
n1: size of the dimension 1 of the array
n2: size of the dimension 2 of the array
n3: size of the dimension 3 of the array
tname: name of the array

Definition at line 352 of file module_init_memory.f90.

integer function mod_init_memory::init_array_rank4_int ( integer, dimension(:,:,:,:), intent(out), allocatable  t,
integer, intent(in)  n1,
integer, intent(in)  n2,
integer, intent(in)  n3,
integer, intent(in)  n4,
character(len=*), intent(in)  tname 
)
Parameters
t: int-value array to be allocated
n1: size of the dimension 1 of the array
n2: size of the dimension 2 of the array
n3: size of the dimension 3 of the array
n4: size of the dimension 4 of the array
tname: name of the array

Definition at line 653 of file module_init_memory.f90.

integer function mod_init_memory::init_array_rank4_real ( real, dimension(:,:,:,:), intent(out), allocatable  t,
integer, intent(in)  n1,
integer, intent(in)  n2,
integer, intent(in)  n3,
integer, intent(in)  n4,
character(len=*), intent(in)  tname 
)
Parameters
t: real-value array to be allocated
n1: size of the dimension 1 of the array
n2: size of the dimension 2 of the array
n3: size of the dimension 3 of the array
n4: size of the dimension 4 of the array
tname: name of the array

Definition at line 403 of file module_init_memory.f90.

integer function mod_init_memory::init_array_rank5_real ( real, dimension(:,:,:,:,:), intent(out), allocatable  t,
integer, intent(in)  n1,
integer, intent(in)  n2,
integer, intent(in)  n3,
integer, intent(in)  n4,
integer, intent(in)  n5,
character(len=*), intent(in)  tname 
)
Parameters
t: real-value array to be allocated
n1: size of the dimension 1 of the array
n2: size of the dimension 2 of the array
n3: size of the dimension 3 of the array
n4: size of the dimension 4 of the array
n5: size of the dimension 5 of the array
tname: name of the array

Definition at line 459 of file module_init_memory.f90.

subroutine, public mod_init_memory::memory_consumption ( )
Returns
approximation of total RAM used by global variables in listing file *.lst

Definition at line 704 of file module_init_memory.f90.

Referenced by efispec3d().


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