Skip to content

adam_prism_fWLayer_object

Source: src/app/prism/common/adam_prism_fWLayer_object.F90

Dependencies

Contents

Variables

NameTypeAttributesDescription
INI_SECTION_NAMEcharacter(len=7)parameterINI file section name containing flWLayer datas.

Derived Types

prism_fWLayer_object

PRISM fWLayer class definition.

Components

NameTypeAttributesDescription
mpihtype(mpih_object)MPI handler.
layerlogicalLayer flags for each side (-x, +x, -y, +y, -z, +z).
Cinteger(kind=I4P)Layer cell width.
ni_fWLinteger(kind=I4P)Dimensions of FWL domain.
nj_fWLinteger(kind=I4P)Dimensions of FWL domain.
nk_fWLinteger(kind=I4P)Dimensions of FWL domain.
s2real(kind=R8P)Side coefficient.
ninteger(kind=I4P)FWL f function index.
alfa_Dinteger(kind=I4P)Corrected var index of D (Barbas' notation).
beta_Dinteger(kind=I4P)Corrected var index of D (Barbas' notation).
alfa_Binteger(kind=I4P)Corrected var index of B (Barbas' notation).
beta_Binteger(kind=I4P)Corrected var index of B (Barbas' notation).
freal(kind=R8P)allocatablefWLayer function values.

Type-Bound Procedures

NameAttributesDescription
descriptionpass(self)Return pretty-printed object description.
initializepass(self)Initialize physics.
load_from_filepass(self)Load config from file.

Subroutines

initialize

Initialize the fWLayer.

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

Arguments

NameTypeIntentAttributesDescription
selfclass(prism_fWLayer_object)inoutfWLayer.
file_parameterstype(file_ini)inSimulation parameters ini file handler.
physicstype(prism_physics_object)inPhysics.
fieldtype(field_object)inField.

Call graph

load_from_file

Load config from file.

fortran
subroutine load_from_file(self, file_parameters, go_on_fail)

Arguments

NameTypeIntentAttributesDescription
selfclass(prism_fWLayer_object)inoutPhysics.
file_parameterstype(file_ini)inSimulation parameters ini file handler.
go_on_faillogicalinoptionalGo on if load fails.

Call graph

apply_fWL_correction_fun

Applay FWL correction, direction agnostic.

fortran
subroutine apply_fWL_correction_fun(blocks_number, ngc, ni1, ni2, nj1, nj2, nk1, nk2, n, s2, alfa_D, beta_D, alfa_B, beta_B, f, q)

Arguments

NameTypeIntentAttributesDescription
blocks_numberinteger(kind=I4P)inBlocks number.
ngcinteger(kind=I4P)inNumber of ghost cells.
ni1integer(kind=I4P)inDimensions of FWL domain.
ni2integer(kind=I4P)inDimensions of FWL domain.
nj1integer(kind=I4P)inDimensions of FWL domain.
nj2integer(kind=I4P)inDimensions of FWL domain.
nk1integer(kind=I4P)inDimensions of FWL domain.
nk2integer(kind=I4P)inDimensions of FWL domain.
ninteger(kind=I4P)inf component.
s2real(kind=R8P)inSide coefficient.
alfa_Dinteger(kind=I4P)inCorrected var index of D (Barbas' notation).
beta_Dinteger(kind=I4P)inCorrected var index of D (Barbas' notation).
alfa_Binteger(kind=I4P)inCorrected var index of D (Barbas' notation).
beta_Binteger(kind=I4P)inCorrected var index of D (Barbas' notation).
freal(kind=R8P)infWLayer function values.
qreal(kind=R8P)inoutField variables.

Call graph

Functions

description

Return a pretty-formatted object description.

Returns: character(len=:)

fortran
function description(self) result(desc)

Arguments

NameTypeIntentAttributesDescription
selfclass(prism_fWLayer_object)inPhysics.

Call graph