version 0.6.0
Memory manager

Namespaces

module  mod_generic_initialize
 Generic initialization routines for arrays of various type.
 
module  mod_generic_unalloc
 Generic unallocation of integer, double, character arrays.
 
module  mod_memory_manager
 Module containing all the memory manager routines.
 
module  mod_reallocate
 Generic routines to reallocate arrays.
 

Detailed Description

Contains initialization and unallocation routines for integer, double precision and logical arrays of rank 1 to 5.

Usage

Initialize to 0 an array of dimension (nx, ny, nz):

call initialize(array, nx, ny, nz)

To initialize the array to another value, provide the optional arguement 'val':

call initialize(array, nx, ny, nz, val=1.0d0)

Release the memory:

call unalloc(array)