Enums and derived types are defined here to treat domain boundary conditions.
More...
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:
- left and right are respectively inferior and superior faces along the x-axis,
- bottom and top are respectively inferior and superior faces along the y-axis,
- back and front are respectively inferior and superior faces along the z-axis.
◆ 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_condition | boundary condition for cells. |
[in] | default_type | default value for the type of boundary condition. |
[in] | default_coef | default 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_condition | boundary condition for faces. |
[in] | default_type | default value for the type of boundary condition. |
[in] | default_coef | default 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_side | boundary condition structure for one side of the domain. |
[in] | n1,n2 | number of degrees of freedom per direction. |
[in] | default_type | default value for the type of boundary condition. |
[in] | default_coef | default coefficients for the type of boundary condition. |