Appearance
adam_flume_bc_object
ADAM, FLUME boundary conditions class definition.
periodic is the library BC_PERIODIC, so the tree builds true periodic neighbors and the ghost exchange fills periodic ghosts across blocks and ranks (verified by src/tests/amr/test_periodic_ghost); the other kinds are filled by the backends on the boundary crown maps.
Source: src/app/flume/common/adam_flume_bc_object.F90
Dependencies
Contents
Variables
| Name | Type | Attributes | Description |
|---|---|---|---|
BC_EXTRAPOLATION | integer(kind=I4P) | parameter | Zeroth-order extrapolation. |
BC_INFLOW | integer(kind=I4P) | parameter | Prescribed state. |
BC_WALL_INVISCID | integer(kind=I4P) | parameter | Inviscid (slip) wall: mirror with normal momentum negated. |
BC_EXTRAPOLATION_STR | character(len=13) | parameter | Accepted spelling of BC_EXTRAPOLATION. |
BC_INFLOW_STR | character(len=6) | parameter | Accepted spelling of BC_INFLOW. |
BC_WALL_INVISCID_STR | character(len=13) | parameter | Accepted spelling of BC_WALL_INVISCID. |
BC_PERIODIC_STR | character(len=8) | parameter | Accepted spelling of BC_PERIODIC. |
INFLOW_KEY | character(len=2) | parameter | Inflow primitive state keys (MHD: all 8). |
SECTION_NAME | character(len=8) | parameter | INI section names of the 6 faces. |
Derived Types
flume_bc_object
FLUME boundary conditions class definition.
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
bc_type | integer(kind=I4P) | Boundary condition type of each face. | |
q_inflow | real(kind=R8P) | allocatable | Conservative inflow state of each face [nv, 6]. |
wall_sign | real(kind=R8P) | allocatable | Wall mirror sign of each variable per direction [nv, 3] (+1 or -1). |
Type-Bound Procedures
| Name | Attributes | Description |
|---|---|---|
description | pass(self) | Return pretty-printed object description. |
initialize | pass(self) | Initialize boundary conditions. |
load_from_file | pass(self) | Load config from file. |
Subroutines
initialize
Initialize boundary conditions.
fortran
subroutine initialize(self, file_parameters, physics)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(flume_bc_object) | inout | Boundary conditions. | |
file_parameters | type(file_ini) | in | Simulation parameters ini file handler. | |
physics | type(flume_physics_object) | in | Physics (for the inflow state conversion). |
Call graph
load_from_file
Load config from file; type is required on every face and an unknown value is fatal.
fortran
subroutine load_from_file(self, file_parameters, physics)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(flume_bc_object) | inout | Boundary conditions. | |
file_parameters | type(file_ini) | in | Simulation parameters ini file handler. | |
physics | type(flume_physics_object) | in | Physics (for the inflow state conversion). |
Call graph
Functions
description
Return a pretty-formatted object description.
Returns: character(len=:)
fortran
function description(self) result(desc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(flume_bc_object) | in | Boundary conditions. |
Call graph