Appearance
adam_prism_rk_bc_object
ADAM, RK-BC class definition.
Source: src/app/prism/common/adam_prism_rk_bc_object.F90
Dependencies
Contents
Derived Types
prism_rk_bc_object
RK class definition.
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
mpih | type(mpih_object) | MPI handler. | |
scheme | character(len=:) | pointer | RK scheme. |
nrk | integer(kind=I4P) | Runge-Kutta stages number. | |
ark | real(kind=R8P) | allocatable | Runge-Kutta low storage alpha coefficients. |
brk | real(kind=R8P) | allocatable | Runge-Kutta low storage beta coefficients. |
crk | real(kind=R8P) | allocatable | Runge-Kutta low storage beta coefficients. |
alph | real(kind=R8P) | allocatable | Runge-Kutta SSP alpha coefficients. |
beta | real(kind=R8P) | allocatable | Runge-Kutta SSP beta coefficients. |
gamm | real(kind=R8P) | allocatable | Runge-Kutta SSP gamma coefficients. |
ssa | real(kind=R8P) | allocatable | Runge-Kutta sympletic-splitting part A coefficients. |
ssb | real(kind=R8P) | allocatable | Runge-Kutta sympletic-splitting part B coefficients. |
q_bc_rk | real(kind=R8P) | allocatable | |
dq_bc_rk | real(kind=R8P) | allocatable | |
field | type(field_object) | pointer | The field. |
grid | type(grid_object) | pointer | The grid. |
ngc | integer(kind=I4P) | pointer | Number of ghost cells. |
ni | integer(kind=I4P) | pointer | Number of cells in i direction. |
nj | integer(kind=I4P) | pointer | Number of cells in j direction. |
nk | integer(kind=I4P) | pointer | Number of cells in k direction. |
nb | integer(kind=I4P) | pointer | Total blocks number for MPI. |
blocks_number | integer(kind=I4P) | pointer | Actual blocks number. |
nv | integer(kind=I4P) | pointer | Number of variables. |
nv_c | integer(kind=I4P) | pointer | Number of variables. |
Type-Bound Procedures
| Name | Attributes | Description |
|---|---|---|
assign_stage | pass(self) | Assign q to RK stage. |
compute_stage | pass(self) | Compute RK stage. |
description | pass(self) | Return pretty-printed object description. |
initialize | pass(self) | Initialize class. |
initialize_stages | pass(self) | Initialize RK stages. |
Subroutines
initialize
Initialize class.
fortran
subroutine initialize(self, file_parameters, grid, field, rk, physics)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(prism_rk_bc_object) | inout | RK object. | |
file_parameters | type(file_ini) | in | optional | Simulation parameters ini file handler. |
grid | type(grid_object) | in | target | The grid. |
field | type(field_object) | in | target | The field. |
rk | type(rk_object) | in | target | RK scheme |
physics | type(prism_physics_object) | in | target | Physics object |
Call graph
initialize_stages
Initialize RK_bc stages.
fortran
subroutine initialize_stages(self, q)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(prism_rk_bc_object) | inout | RK object. | |
q | real(kind=R8P) | in | Conservative variables. |
Call graph
compute_stage
Compute RK stage.
fortran
subroutine compute_stage(self, s, dt, phi)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(prism_rk_bc_object) | inout | RK object. | |
s | integer(kind=I4P) | in | Current stage number. | |
dt | real(kind=R8P) | in | Current time step. | |
phi | real(kind=R8P) | in | optional | IB distance. |
Call graph
assign_stage
Assign q to RK stage.
fortran
subroutine assign_stage(self, s, phi)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(prism_rk_bc_object) | inout | RK object. | |
s | integer(kind=I4P) | in | Current stage number. | |
phi | real(kind=R8P) | in | optional | IB distance. |
Call graph
Functions
description
Return a pretty-formatted object description.
Attributes: pure
Returns: character(len=:)
fortran
function description(self) result(desc)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(prism_rk_bc_object) | in | RK object. |
Call graph