Appearance
adam_prism_bc_object
ADAM, PRISM Boundary Conditions class definition, CPU backend.
Source: src/app/prism/common/adam_prism_bc_object.F90
Dependencies
Contents
Variables
| Name | Type | Attributes | Description |
|---|---|---|---|
INI_SECTION_NAMES | character(len=8) | parameter | INI (config) file section name containing BC configs. |
BC_EXTRAPOLATION | integer(kind=I4P) | parameter | Extrapolation. |
BC_NEUMANN | integer(kind=I4P) | parameter | Neumann BC. |
BC_DIRICHLET | integer(kind=I4P) | parameter | Dirichlet BC. |
BC_Silver_Muller | integer(kind=I4P) | parameter | Silver-Muller BC. |
BC_PERIOD | integer(kind=I4P) | parameter | Periodic BC. |
BC_radiative | integer(kind=I4P) | parameter | Radiative BC. |
Derived Types
prism_bc_object
Boundary Conditions class definition, CPU backend.
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
mpih | type(mpih_object) | MPI handler. | |
bc_type | integer(kind=I4P) | Boundary condition type. | |
q | real(kind=R8P) | allocatable | Primitive variables (Dx,Dy,Dz,Bx,By,Bz,Jx,Jy,Jz) at BC. |
Type-Bound Procedures
| Name | Attributes | Description |
|---|---|---|
initialize | pass(self) | Initialize BC. |
load_from_file | pass(self) | Load config from file. |
Subroutines
initialize
Initialize the equation.
fortran
subroutine initialize(self, file_parameters)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(prism_bc_object) | inout | BC. | |
file_parameters | type(file_ini) | in | Simulation parameters ini file handler. |
Call graph
load_from_file
Load config from file.
fortran
subroutine load_from_file(self, file_parameters, go_on_fail)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(prism_bc_object) | inout | BC. | |
file_parameters | type(file_ini) | in | Simulation parameters ini file handler. | |
go_on_fail | logical | in | optional | Go on if load fails. |
Call graph