Boundary conditions mechanisms for cell scalars.
More...
This directory contains several types of routines:
- routines to apply explicitly boundary conditions and fill boundary ghost cells.
- routines to compute explicitly quantities on physical boudaries
◆ apply_bc_on_ghost_b_cells()
subroutine mod_apply_bc_on_ghost_b_cells::apply_bc_on_ghost_b_cells |
( |
double precision, dimension(:,:,:), intent(inout) | array, |
|
|
type(t_boundary_condition), intent(in) | boundary_condition ) |
- Parameters
-
[in,out] | array | an array defined on cells |
[in] | boundary_condition | bondary_condition |
◆ compute_uncentered_boundary_cell_gradient()
double precision function mod_compute_uncentered_boundary_cell_gradient::compute_uncentered_boundary_cell_gradient |
( |
double precision, intent(in) | t0, |
|
|
double precision, intent(in) | t1, |
|
|
double precision, intent(in) | t2, |
|
|
integer, intent(in) | boundary ) |
The field gradient at a global physical boundary is computed using second-order accurate Lagrange polynomials. For instance, the following sampling is used at the left boundary:
values: t0 t1 t2
├───×───┼───×───┼──
indices: is is+1
or at the right boundary:
values: t2 t1 t0
──┼───×───┼───×───┤
indices: ie-1 ie
Compute uncentered second order cell gradient on a boundary
◆ exchange_periodic_ghost_cells_rank3_double()
pure subroutine mod_exchange_periodic_ghost_cells::exchange_periodic_ghost_cells_rank3_double |
( |
double precision, dimension(:,:,:), intent(inout) | array | ) |
|
Version for a rank 3 double precision array.
- Parameters
-
[in] | array | cell-based array. |
◆ exchange_periodic_ghost_cells_rank3_integer()
pure subroutine mod_exchange_periodic_ghost_cells::exchange_periodic_ghost_cells_rank3_integer |
( |
integer, dimension(:,:,:), intent(inout) | array | ) |
|
Version for a rank 3 integer array.
- Parameters
-
[in] | array | cell-based array. |
◆ exchange_periodic_ghost_cells_rank3_logical()
pure subroutine mod_exchange_periodic_ghost_cells::exchange_periodic_ghost_cells_rank3_logical |
( |
logical, dimension(:,:,:), intent(inout) | array | ) |
|
Version for a rank 3 logical array.
- Parameters
-
[in] | array | cell-based array. |
◆ exchange_periodic_ghost_cells_rank4_double()
pure subroutine mod_exchange_periodic_ghost_cells::exchange_periodic_ghost_cells_rank4_double |
( |
double precision, dimension(:,:,:,:), intent(inout) | array | ) |
|
Version for a rank 4 double precision array.
- Parameters
-
[in] | array | cell-based array. |
◆ exchange_periodic_ghost_cells_rank4_integer()
pure subroutine mod_exchange_periodic_ghost_cells::exchange_periodic_ghost_cells_rank4_integer |
( |
integer, dimension(:,:,:,:), intent(inout) | array | ) |
|
Version for a rank 4 integer array.
- Parameters
-
[in] | array | cell-based array. |
◆ exchange_periodic_ghost_cells_rank4_logical()
pure subroutine mod_exchange_periodic_ghost_cells::exchange_periodic_ghost_cells_rank4_logical |
( |
logical, dimension(:,:,:,:), intent(inout) | array | ) |
|
Version for a rank 4 logical array.
- Parameters
-
[in] | array | cell-based array. |