Skip to content

adam_amr_object

ADAM, AMR markers class definition, CPU backend.

Source: src/lib/common/adam_amr_object.F90

Dependencies

Contents

Variables

NameTypeAttributesDescription
INI_SECTION_NAMEcharacter(len=3)parameterINI (config) file section name containing AMR markers configs.
AMR_GEOinteger(kind=I4P)parameterGeometrical marker.
AMR_GRADinteger(kind=I4P)parameterField gradient marker.
AMR_DELTA_T_Xcharacter(len=1)parameterDelta criterion type, dx.
AMR_DELTA_T_Ycharacter(len=1)parameterDelta criterion type, dy.
AMR_DELTA_T_Zcharacter(len=1)parameterDelta criterion type, dz.
AMR_DELTA_T_MAXcharacter(len=3)parameterDelta criterion type, max(dx,dy,dz).

Derived Types

amr_marker_object

AMR marker object.

Components

NameTypeAttributesDescription
modeinteger(kind=I4P)Marker mode.
delta_typecharacter(len=:)allocatableType of delta criterion: 'x','y','z','max' (max=> max(x,y,z)).
delta_finereal(kind=R8P)Fine cell space step.
delta_coarsereal(kind=R8P)Coarse cell space step.
fieldinteger(kind=I4P)Field array containing the marker variable, 1=q, 2=q_aux.
ivarinteger(kind=I4P)Array index of variable used by refinement criterion.
tolreal(kind=R8P)Tolerance.
solidinteger(kind=I4P)Solid number.

amr_object

AMR markers class definition, CPU backend.

Components

NameTypeAttributesDescription
mpihtype(mpih_object)MPI handler.
itersinteger(kind=I4P)AMR updates iterations number.
frequencyinteger(kind=I4P)AMR update time step frequency.
markers_numberinteger(kind=I4P)AMR number of markers.
markerstype(amr_marker_object)allocatableAMR array of marker objects.

Type-Bound Procedures

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

Subroutines

initialize

Initialize the equation.

fortran
subroutine initialize(self, file_parameters)

Arguments

NameTypeIntentAttributesDescription
selfclass(amr_object)inoutAMR.
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(amr_object)inoutAMR.
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(amr_object)inThe tree.

Call graph