version 0.6.0
Loading...
Searching...
No Matches
Boundary condition enums and types

Enums and derived types are defined here to treat domain boundary conditions. More...

Namespaces

module  enum_cell_bc_type
 Enumeration of the different type of boundary condition.
 
module  enum_face_bc_type
 Boundary condition types for a face-centered vector field.
 

Classes

type  type_boundary_condition::t_boundary_condition_side
 Definition of boundary conditions for a side of the domain. The coef(n,m,p) field relates to the equation: More...
 
type  type_boundary_condition::t_boundary_condition_base
 Boundary conditions for any equations defined on cells. More...
 
type  type_boundary_condition::t_boundary_condition
 Boundary conditions for any equations defined on cells. More...
 
type  type_boundary_condition::t_boundary_condition_face
 Boundary conditions for any equations defined on faces. More...
 
interface  type_boundary_condition::initialize
 Generic interface to initialize boundary conditions. More...
 

Functions

subroutine type_boundary_condition::initialize_boundary_condition_side (boundary_condition_side, n1, n2, default_type, default_coef)
 Initialize the boundary conditions on one side of the domain.
 
subroutine type_boundary_condition::initialize_boundary_condition (boundary_condition, default_type, default_coef)
 Initialize boundary conditions for equations defined on cells.
 
subroutine type_boundary_condition::initialize_boundary_condition_face (boundary_condition, default_type, default_coef)
 Initialize boundary conditions for equations defined on faces.
 

Detailed Description

Any domain is a rectangular cuboid whose boundaries are its six faces. Each face is identified with respect to the directions given by the frame of reference; the keywords thus defined are:

Function Documentation

◆ initialize_boundary_condition()

subroutine type_boundary_condition::initialize_boundary_condition ( type(t_boundary_condition), intent(out) boundary_condition,
integer, intent(in) default_type,
double precision, dimension(bc_coef_size), intent(in), optional default_coef )
Parameters
[out]boundary_conditionboundary condition for cells.
[in]default_typedefault value for the type of boundary condition.
[in]default_coefdefault coefficients for the type of boundary condition.

◆ initialize_boundary_condition_face()

subroutine type_boundary_condition::initialize_boundary_condition_face ( type(t_boundary_condition_face), intent(out) boundary_condition,
integer, intent(in) default_type,
double precision, dimension(bc_coef_size), intent(in), optional default_coef )
Parameters
[out]boundary_conditionboundary condition for faces.
[in]default_typedefault value for the type of boundary condition.
[in]default_coefdefault coefficient for the type of boundary condition.

◆ initialize_boundary_condition_side()

subroutine type_boundary_condition::initialize_boundary_condition_side ( type(t_boundary_condition_side), intent(out) boundary_condition_side,
integer, intent(in) n1,
integer, intent(in) n2,
integer, intent(in) default_type,
double precision, dimension(bc_coef_size), intent(in) default_coef )
Parameters
[out]boundary_condition_sideboundary condition structure for one side of the domain.
[in]n1,n2number of degrees of freedom per direction.
[in]default_typedefault value for the type of boundary condition.
[in]default_coefdefault coefficients for the type of boundary condition.