Skip to content

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

NameTypeAttributesDescription
mpihtype(mpih_object)MPI handler.
schemecharacter(len=:)pointerRK scheme.
nrkinteger(kind=I4P)Runge-Kutta stages number.
arkreal(kind=R8P)allocatableRunge-Kutta low storage alpha coefficients.
brkreal(kind=R8P)allocatableRunge-Kutta low storage beta coefficients.
crkreal(kind=R8P)allocatableRunge-Kutta low storage beta coefficients.
alphreal(kind=R8P)allocatableRunge-Kutta SSP alpha coefficients.
betareal(kind=R8P)allocatableRunge-Kutta SSP beta coefficients.
gammreal(kind=R8P)allocatableRunge-Kutta SSP gamma coefficients.
ssareal(kind=R8P)allocatableRunge-Kutta sympletic-splitting part A coefficients.
ssbreal(kind=R8P)allocatableRunge-Kutta sympletic-splitting part B coefficients.
q_bc_rkreal(kind=R8P)allocatable
dq_bc_rkreal(kind=R8P)allocatable
fieldtype(field_object)pointerThe field.
gridtype(grid_object)pointerThe grid.
ngcinteger(kind=I4P)pointerNumber of ghost cells.
niinteger(kind=I4P)pointerNumber of cells in i direction.
njinteger(kind=I4P)pointerNumber of cells in j direction.
nkinteger(kind=I4P)pointerNumber of cells in k direction.
nbinteger(kind=I4P)pointerTotal blocks number for MPI.
blocks_numberinteger(kind=I4P)pointerActual blocks number.
nvinteger(kind=I4P)pointerNumber of variables.
nv_cinteger(kind=I4P)pointerNumber of variables.

Type-Bound Procedures

NameAttributesDescription
assign_stagepass(self)Assign q to RK stage.
compute_stagepass(self)Compute RK stage.
descriptionpass(self)Return pretty-printed object description.
initializepass(self)Initialize class.
initialize_stagespass(self)Initialize RK stages.

Subroutines

initialize

Initialize class.

fortran
subroutine initialize(self, file_parameters, grid, field, rk, physics)

Arguments

NameTypeIntentAttributesDescription
selfclass(prism_rk_bc_object)inoutRK object.
file_parameterstype(file_ini)inoptionalSimulation parameters ini file handler.
gridtype(grid_object)intargetThe grid.
fieldtype(field_object)intargetThe field.
rktype(rk_object)intargetRK scheme
physicstype(prism_physics_object)intargetPhysics object

Call graph

initialize_stages

Initialize RK_bc stages.

fortran
subroutine initialize_stages(self, q)

Arguments

NameTypeIntentAttributesDescription
selfclass(prism_rk_bc_object)inoutRK object.
qreal(kind=R8P)inConservative variables.

Call graph

compute_stage

Compute RK stage.

fortran
subroutine compute_stage(self, s, dt, phi)

Arguments

NameTypeIntentAttributesDescription
selfclass(prism_rk_bc_object)inoutRK object.
sinteger(kind=I4P)inCurrent stage number.
dtreal(kind=R8P)inCurrent time step.
phireal(kind=R8P)inoptionalIB distance.

Call graph

assign_stage

Assign q to RK stage.

fortran
subroutine assign_stage(self, s, phi)

Arguments

NameTypeIntentAttributesDescription
selfclass(prism_rk_bc_object)inoutRK object.
sinteger(kind=I4P)inCurrent stage number.
phireal(kind=R8P)inoptionalIB distance.

Call graph

Functions

description

Return a pretty-formatted object description.

Attributes: pure

Returns: character(len=:)

fortran
function description(self) result(desc)

Arguments

NameTypeIntentAttributesDescription
selfclass(prism_rk_bc_object)inRK object.

Call graph