Skip to content

adam_blanes_moan_object

ADAM, Blanes-Moan solver class definition.

Source: src/lib/common/adam_blanes_moan_object.F90

Dependencies

Contents

Variables

NameTypeAttributesDescription
BM_SCHEME4character(len=12)parameterblanes-Moan 4th order scheme name.
BM_SCHEME6character(len=12)parameterblanes-Moan 6th order scheme name.
INI_SECTION_NAMEcharacter(len=11)parameterINI (config) file section name containing configs.

Derived Types

blanesmoan_object

Leapforg class definition.

Components

NameTypeAttributesDescription
mpihtype(mpih_object)MPI handler.
schemecharacter(len=:)allocatableScheme name [blanes-moan4, blanes-moan6].
ncinteger(kind=I4P)Number of coefficients.
areal(kind=R8P)allocatableSplitted residuals coefficients.
breal(kind=R8P)allocatableSplitted residuals coefficients.
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.
nsinteger(kind=I4P)pointerNumber of fluids specie.
nvinteger(kind=I4P)pointerNumber of conservative variables.

Type-Bound Procedures

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

Subroutines

initialize

Initialize class.

fortran
subroutine initialize(self, file_parameters, scheme, grid, field)

Arguments

NameTypeIntentAttributesDescription
selfclass(blanesmoan_object)inoutBlanes-Moan object.
file_parameterstype(file_ini)inoptionalSimulation parameters ini file handler.
schemecharacter(len=*)inoptionalScheme name.
gridtype(grid_object)intargetThe grid.
fieldtype(field_object)intargetThe field.

Call graph

load_from_file

Load config from file.

fortran
subroutine load_from_file(self, file_parameters, go_on_fail)

Arguments

NameTypeIntentAttributesDescription
selfclass(blanesmoan_object)inoutBlanes-Moan object.
file_parameterstype(file_ini)inSimulation parameters ini file handler.
go_on_faillogicalinoptionalGo on if load fails.

Call graph

Functions

description

Return a pretty-formatted object description.

Attributes: pure

Returns: character(len=:)

fortran
function description(self) result(desc)

Arguments

NameTypeIntentAttributesDescription
selfclass(blanesmoan_object)inBlanes-Moan object.

Call graph