version 0.6.0
Loading...
Searching...
No Matches
Grid indices

Compute various grid indices. More...

Functions

subroutine mod_grid_initialization::grid_initialization ()
 This routine does the partitioning of the domain and initializes grid indices.
 
subroutine mod_set_local_grid_indices::set_local_grid_indices ()
 Set index description of the local grid.
 
subroutine mod_staggered_indice_links::staggered_indice_links ()
 Set arrays that link indices of each staggered grid.
 
subroutine mod_set_local_refined_grid_indices::set_local_refined_grid_indices ()
 Set index description of the local refined grid.
 

Detailed Description

Function Documentation

◆ set_local_grid_indices()

subroutine mod_set_local_grid_indices::set_local_grid_indices
  • start and end grid index per direction and per each grid (staggered or not). The physical, domain is considered (no ghost cells) as well as the numerical one (with boundary ghost cells) and the overlapping numerical domain (with boundary and overlapping ghost cells)
  • number of cells of each grid is computed

◆ set_local_refined_grid_indices()

subroutine mod_set_local_refined_grid_indices::set_local_refined_grid_indices
  • start and end grid index per direction and per each grid (staggered or not). The physical, domain is considered (no ghost cells) as well as the numerical one (with boundary ghost cells) and the overlapping numerical domain (with boundary and overlapping ghost cells)
  • number of cells of each grid is computed

◆ staggered_indice_links()

subroutine mod_staggered_indice_links::staggered_indice_links

For each (i,j,k) node of u,v or w staggered grid, the routine set arrays that help to switch to the 4 neighbor nodes of another grid.

Todo
finish documentation