|
DL_MG
|
collection of subroutines that allocate/deallocate memory for grid arrays More...
Data Types | |
| interface | mg_allocate |
| interface | mg_deallocate |
Functions/Subroutines | |
| subroutine, private | mg_allocate_s (mg, nonlinear, have_steric) |
| subroutine, private | mg_allocate_a (mg, nonlinear, have_steric) |
| subroutine, private | mg_deallocate_s (mg) |
| subroutine, private | mg_deallocate_a (mg) |
| subroutine | galloc (mg, a, type, ierr) |
| allocates 3d real array with halos according to the type an global indices the type is irrelevant becase all type have a halo of size 1 most probable this won't change in the forseable future More... | |
| subroutine | gdealloc (a, ierr) |
| subroutine | get_lbound (mg, vtype, si) |
Variables | |
| integer, parameter | p_vtype = 201 |
| flags for the array types the vector type are practically identical becase all 3d array use for multgrid have a halo of size 1 most probable this won't change in the forseable future More... | |
| integer, parameter | r_vtype = 202 |
| integer, parameter | f_vtype = 203 |
| integer, parameter | c_vtype = 204 |
| integer, parameter | z_vtype = 999 |
| integer, parameter | y_vtype = 666 |
collection of subroutines that allocate/deallocate memory for grid arrays
| subroutine dl_mg_alloc::galloc | ( | type(mg_t), intent(inout) | mg, |
| real(wp), dimension(:,:,:), intent(out), allocatable | a, | ||
| integer, intent(in), optional | type, | ||
| integer, intent(out), optional | ierr | ||
| ) |
allocates 3d real array with halos according to the type an global indices the type is irrelevant becase all type have a halo of size 1 most probable this won't change in the forseable future
| subroutine dl_mg_alloc::gdealloc | ( | real(wp), dimension(:,:,:), intent(inout), allocatable | a, |
| integer, intent(out), optional | ierr | ||
| ) |
| subroutine dl_mg_alloc::get_lbound | ( | type(mg_t), intent(in) | mg, |
| integer, intent(in) | vtype, | ||
| integer, dimension(3), intent(out) | si | ||
| ) |
|
private |
|
private |
Attention: this subroutine allocates mgw at top level were is not needed. The aray version avoid this
|
private |
|
private |
| integer, parameter dl_mg_alloc::c_vtype = 204 |
| integer, parameter dl_mg_alloc::f_vtype = 203 |
| integer, parameter dl_mg_alloc::p_vtype = 201 |
flags for the array types the vector type are practically identical becase all 3d array use for multgrid have a halo of size 1 most probable this won't change in the forseable future
| integer, parameter dl_mg_alloc::r_vtype = 202 |
| integer, parameter dl_mg_alloc::y_vtype = 666 |
| integer, parameter dl_mg_alloc::z_vtype = 999 |