Skip to content

adam_prism_bc_object

ADAM, PRISM Boundary Conditions class definition, CPU backend.

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

Dependencies

Contents

Variables

NameTypeAttributesDescription
INI_SECTION_NAMEScharacter(len=8)parameterINI (config) file section name containing BC configs.
BC_EXTRAPOLATIONinteger(kind=I4P)parameterExtrapolation.
BC_NEUMANNinteger(kind=I4P)parameterNeumann BC.
BC_DIRICHLETinteger(kind=I4P)parameterDirichlet BC.
BC_Silver_Mullerinteger(kind=I4P)parameterSilver-Muller BC.
BC_PERIODinteger(kind=I4P)parameterPeriodic BC.
BC_radiativeinteger(kind=I4P)parameterRadiative BC.

Derived Types

prism_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)allocatablePrimitive variables (Dx,Dy,Dz,Bx,By,Bz,Jx,Jy,Jz) at BC.

Type-Bound Procedures

NameAttributesDescription
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(prism_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(prism_bc_object)inoutBC.
file_parameterstype(file_ini)inSimulation parameters ini file handler.
go_on_faillogicalinoptionalGo on if load fails.

Call graph