0.6.0
Loading...
Searching...
No Matches
mod_fill_ghost_nodes Module Reference

Specify how ghost cells are filled This depends on the type of boundaries. More...

Functions/Subroutines

subroutine fill_ghost_cells_scalar (scalar, boundary_condition)
 
subroutine fill_ghost_nodes_face_vector (vector, is_vector, boundary_condition)
 
subroutine fill_ghost_nodes_cell_vector_t (cell_vector, boundary_condition)
 Fill the ghost nodes when using vectors defined on cells. require the cell vector be defined on (nx,ny,nz,nd)
 
subroutine fill_ghost_nodes_cell_vector (cell_vector, boundary_condition)
 Fill the ghost nodes when using vectors defined on cells. require the cell vector be defined on (nd,nx,ny,nz)
 

Detailed Description

Specify how ghost cells are filled This depends on the type of boundaries.

Function/Subroutine Documentation

◆ fill_ghost_nodes_cell_vector()

subroutine mod_fill_ghost_nodes::fill_ghost_nodes_cell_vector ( double precision, dimension(spatial_dimension,nx,ny,nz), intent(inout) cell_vector,
type(t_boundary_condition), intent(in), optional boundary_condition )

Fill the ghost nodes when using vectors defined on cells. require the cell vector be defined on (nd,nx,ny,nz)

Note
particularly useful when dealing with symmetric bndc where the normal component of the vector should be mirrored (*-1)
Warning
this is not the version that we recommend to use as the spatial_dimension is the first dimension. However, this can be used in some particular cases.

◆ fill_ghost_nodes_cell_vector_t()

subroutine mod_fill_ghost_nodes::fill_ghost_nodes_cell_vector_t ( double precision, dimension(nx,ny,nz,spatial_dimension), intent(inout) cell_vector,
type(t_boundary_condition), intent(in), optional boundary_condition )

Fill the ghost nodes when using vectors defined on cells. require the cell vector be defined on (nx,ny,nz,nd)

Note
particularly useful when dealing with symmetric bndc where the normal component of the vector should be mirrored (*-1)