version 0.6.0
Loading...
Searching...
No Matches

Boundary condition treatment of a vectorial equation defined on faces. More...

Functions

subroutine mod_apply_bc_on_ghost_b_faces::apply_bc_on_ghost_b_faces (field, boundary_condition)
 Apply boundary conditions on ghost boundary faces.
 
pure subroutine mod_exchange_periodic_ghost_faces::exchange_periodic_ghost_faces_integer (face_field)
 Copy the values in the ghost faces in the periodic directions when the number of processes in the same direction is equal to one.
 
pure subroutine mod_exchange_periodic_ghost_faces::exchange_periodic_ghost_faces_double (face_field)
 Copy the values in the ghost faces in the periodic directions when the number of processes in the same direction is equal to one.
 
pure subroutine mod_exchange_periodic_ghost_faces::exchange_periodic_ghost_faces_logical (face_field)
 Copy the values in the ghost faces in the periodic directions when the number of processes in the same direction is equal to one.
 
subroutine mod_add_face_bc_normal::add_face_bc_normal (matrix, rhs, boundary_condition, face_equation_stencil, face_equation_ls_map, face_equation_has_ghost_boundary_cells)
 Discretize the Dirichlet or Neumann boundary conditions on faces normal to the physical boundaries.
 
subroutine mod_add_face_bc_tangent::add_face_bc_tangent (matrix, rhs, boundary_condition, face_equation_stencil, face_equation_ls_map)
 Discretize the Dirichlet or Neumann boundary conditions on faces tangent to the physical boundaries.
 
subroutine mod_add_face_bc_tangent_noghost::add_face_bc_tangent_noghost (matrix, rhs, boundary_condition, face_equation_stencil, face_equation_ls_map)
 Discretize the Dirichlet or Neumann boundary conditions on faces tangent to the physical boundaries.
 

Detailed Description

Function Documentation

◆ add_face_bc_normal()

subroutine mod_add_face_bc_normal::add_face_bc_normal ( double precision, dimension(:), intent(inout) matrix,
double precision, dimension(:), intent(inout) rhs,
type(t_boundary_condition_face), intent(in) boundary_condition,
type(t_face_stencil), intent(in) face_equation_stencil,
type(t_face_ls_map), intent(in) face_equation_ls_map,
logical, intent(in) face_equation_has_ghost_boundary_cells )
  • faces are located on the boundaries

◆ add_face_bc_tangent()

subroutine mod_add_face_bc_tangent::add_face_bc_tangent ( double precision, dimension(:), intent(inout) matrix,
double precision, dimension(:), intent(inout) rhs,
type(t_boundary_condition_face), intent(inout) boundary_condition,
type(t_face_stencil), intent(in) face_equation_stencil,
type(t_face_ls_map), intent(in) face_equation_ls_map )
  • faces are not located on the boundaries
  • extra ghost faces are used
  • centered scheme is used for Dirichlet or Neumann boundary conditions on the first range of ghost cells
  • second order extrapolation is used on the second range of ghost cells (if stencil_type = 2)
Todo
check for irregular mesh

◆ add_face_bc_tangent_noghost()

subroutine mod_add_face_bc_tangent_noghost::add_face_bc_tangent_noghost ( double precision, dimension(:), intent(inout) matrix,
double precision, dimension(:), intent(inout) rhs,
type(t_boundary_condition_face), intent(inout) boundary_condition,
type(t_face_stencil), intent(in) face_equation_stencil,
type(t_face_ls_map), intent(in) face_equation_ls_map )
Todo
check for irregular mesh

◆ exchange_periodic_ghost_faces_double()

pure subroutine mod_exchange_periodic_ghost_faces::exchange_periodic_ghost_faces_double ( type(t_face_field), intent(inout) face_field)
Parameters
[in]face_fieldface field

◆ exchange_periodic_ghost_faces_integer()

pure subroutine mod_exchange_periodic_ghost_faces::exchange_periodic_ghost_faces_integer ( type(t_integer_face_field), intent(inout) face_field)
Parameters
[in]face_fieldinteger face field

◆ exchange_periodic_ghost_faces_logical()

pure subroutine mod_exchange_periodic_ghost_faces::exchange_periodic_ghost_faces_logical ( type(t_logical_face_field), intent(inout) face_field)
Parameters
[in]face_fieldlogical face field