marray_base.f90 File Reference

Go to the source code of this file.

Data Types

interface  marray_base_mod::selection_base
 type for selecting parts of an marray More...
 
interface  marray_base_mod::marray_base
 basic mesh array class More...
 
interface  marray_base_mod::marray_base
 basic mesh array class More...
 
interface  marray_base_mod::selection_base
 type for selecting parts of an marray More...
 

Modules

module  marray_base_mod
 base class for mesh arrays
 

Public Attributes

mesh indices

integer, save marray_base_mod::igmin
 
integer, save marray_base_mod::igmax
 1st dim More...
 
integer, save marray_base_mod::jgmin
 
integer, save marray_base_mod::jgmax
 2nd dim More...
 
integer, save marray_base_mod::kgmin
 
integer, save marray_base_mod::kgmax
 3rd dim More...
 
integer, save marray_base_mod::inum
 
integer, save marray_base_mod::jnum
 
integer, save marray_base_mod::knum
 array sizes More...
 
logical, save marray_base_mod::idx_init = .FALSE.
 init status More...
 

Methods

type(marray_base) function marray_base_mod::createmarray (m, n)
 constructor for mesh arrays More...
 
subroutine, public marray_base_mod::initmeshproperties (igmin_, igmax_, jgmin_, jgmax_, kgmin_, kgmax_)
 sets global mesh properties More...
 
subroutine, public marray_base_mod::closemeshproperties
 unsets global mesh properties More...
 
subroutine marray_base_mod::assignpointers (this)
 assign pointers of different shapes to the 1D data More...
 
real function, dimension(:,:,:), pointer marray_base_mod::remapbounds_0 (this, array)
 remap lower bounds in the first 3 dimensions of rank 0 mesh arrays More...
 
real function, dimension(:,:,:,:), pointer marray_base_mod::remapbounds_1 (this, array)
 remap lower bounds in the first 3 dimensions of rank 1 mesh arrays More...
 
real function, dimension(:,:,:,:,:), pointer marray_base_mod::remapbounds_2 (this, array)
 remap lower bounds in the first 3 dimensions of rank 2 mesh arrays More...
 
subroutine marray_base_mod::assignmarray_0 (this, ma)
 assigns one mesh array to another mesh array More...
 
pure subroutine marray_base_mod::assignmarray_1 (this, a)
 assign 1D fortran array to mesh array More...
 
pure subroutine marray_base_mod::assignmarray_2 (this, a)
 assign 2D fortran array to mesh array More...
 
pure subroutine marray_base_mod::assignmarray_3 (this, a)
 assign 3D fortran array to mesh array More...
 
pure subroutine marray_base_mod::assignmarray_4 (this, a)
 assign 4D fortran array to mesh array More...
 
pure subroutine marray_base_mod::assignmarray_5 (this, a)
 assign 5D fortran array to mesh array More...
 
pure real function, dimension(size(a%data1d)) marray_base_mod::addmarray_0 (a, b)
 add 2 mesh arrays More...
 
pure real function, dimension(size(a%data1d)) marray_base_mod::addmarray_1 (a, b)
 add 1D fortran array and mesh array More...
 
pure real function, dimension(size(a%data2d, 1), size(a%data2d, 2)) marray_base_mod::addmarray_2 (a, b)
 add 2D fortran array and mesh array More...
 
pure real function, dimension(size(a%data3d, 1), size(a%data3d, 2), size(a%data3d, 3)) marray_base_mod::addmarray_3 (a, b)
 add 3D fortran array and mesh array More...
 
pure real function, dimension(size(a%data4d, 1), size(a%data4d, 2), size(a%data4d, 3), size(a%data4d, 4)) marray_base_mod::addmarray_4 (a, b)
 add 4D fortran array and mesh array More...
 
pure real function, dimension(size(a%data5d, 1), size(a%data5d, 2), size(a%data5d, 3), size(a%data5d, 4), size(a%data5d, 5)) marray_base_mod::addmarray_5 (a, b)
 add 5D fortran array and mesh array More...
 
pure real function, dimension(size(a%data1d)) marray_base_mod::multmarray_0 (a, b)
 multiply 2 mesh arrays More...
 
pure real function, dimension(size(a%data1d)) marray_base_mod::multmarray_1 (a, b)
 multiply 1D fortran array and mesh arrays More...
 
pure real function, dimension(size(a%data2d, 1), size(a%data2d, 2)) marray_base_mod::multmarray_2 (a, b)
 multiply 2D fortran array and mesh arrays More...
 
pure real function, dimension(size(a%data3d, 1), size(a%data3d, 2), size(a%data3d, 3)) marray_base_mod::multmarray_3 (a, b)
 multiply 3D fortran array and mesh arrays More...
 
pure real function, dimension(size(a%data4d, 1), size(a%data4d, 2), size(a%data4d, 3), size(a%data4d, 4)) marray_base_mod::multmarray_4 (a, b)
 multiply 4D fortran array and mesh arrays More...
 
pure real function, dimension(size(a%data5d, 1), size(a%data5d, 2), size(a%data5d, 3), size(a%data5d, 4), size(a%data5d, 5)) marray_base_mod::multmarray_5 (a, b)
 multiply 5D fortran array and mesh arrays More...
 
subroutine marray_base_mod::destroy (this)
 deconstructor of the mesh array More...
 
type(selection_base) function marray_base_mod::createselection (idx)
 
subroutine marray_base_mod::cuboid (this, imin, imax, jmin, jmax, kmin, kmax)
 
subroutine marray_base_mod::everything (this)
 
subroutine marray_base_mod::destroy_selection (this)
 deconstructor of the mesh array More...