Skip to content

adam_patch_bc_object

ADAM, PATCH Boundary Conditions class definition, CPU backend.

Source: src/app/patch/common/adam_patch_bc_object.F90

Dependencies

Contents

Variables

NameTypeAttributesDescription
INI_SECTION_NAMEScharacter(len=8)parameterINI (config) file section name containing BC configs.
BC_DIRICHLETinteger(kind=I4P)parameterDirichlet, phi = c (0).
BC_DIRICHLET_STRcharacter(len=9)parameterDirichlet, string input.
BC_TYPE_STRcharacter(len=9)parameterBC types list, string cast.

Derived Types

patch_bc_object

Boundary Conditions class definition, CPU backend.

Components

NameTypeAttributesDescription
mpihtype(mpih_object)MPI handler.
bc_typeinteger(kind=I4P)Boundary condition type.
qreal(kind=R8P)allocatablePoisson field variable at BC.

Type-Bound Procedures

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

Subroutines

initialize

Initialize the equation.

fortran
subroutine initialize(self, file_parameters)

Arguments

NameTypeIntentAttributesDescription
selfclass(patch_bc_object)inoutBC.
file_parameterstype(file_ini)inSimulation 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

NameTypeIntentAttributesDescription
selfclass(patch_bc_object)inoutBC.
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(patch_bc_object)inBC.

Call graph