Skip to content

adam_prism_numerics_object

ADAM, PRISM (Plasma Research usIng Simulation Methods) numerics class definition, common backend.

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

Dependencies

Contents

Variables

NameTypeAttributesDescription
INI_SECTION_NAMEcharacter(len=8)parameterINI file section name containing fluid numerics.
NUM_SCHEME_TIME_BLANES_MOANcharacter(len=11)parameterBlanes-Moan numerical scheme for time operator.
NUM_SCHEME_TIME_CFMcharacter(len=22)parameterCommutator-Free Magnus scheme for time operator.
NUM_SCHEME_TIME_LEAPFROGcharacter(len=8)parameterLeapfrog numerical scheme for time operator.
NUM_SCHEME_TIME_RUNGE_KUTTAcharacter(len=11)parameterRunge-Kutta numerical scheme for time operator.
NUM_SCHEME_SPACE_FD_CENTEREDcharacter(len=11)parameterFD centered scheme for space operator.
NUM_SCHEME_SPACE_FV_CENTEREDcharacter(len=11)parameterFV centered scheme for space operator.
NUM_SCHEME_SPACE_WENOcharacter(len=4)parameterWENO numerical scheme for space operator.
RECONSTRUCTION_VARS_CONScharacter(len=12)parameterHigh-order reconstruction on conservative vars.
RECONSTRUCTION_VARS_CHARcharacter(len=15)parameterHigh-order reconstruction on charact. vars.
DIV_CORR_VAR_POISScharacter(len=7)parameterPoisson divergence correction.
DIV_CORR_VAR_HYPERcharacter(len=10)parameterHyperbolic divergence correction.

Derived Types

prism_numerics_object

PRISM numerics class definition.

Components

NameTypeAttributesDescription
mpihtype(mpih_object)MPI handler.
scheme_timecharacter(len=:)allocatableNumerical scheme for time operator [runge_kutta, leapfrog,...].
scheme_spacecharacter(len=:)allocatableNumerical scheme for space operator [weno, centered].
fdv_orderinteger(kind=I4P)Order of finite difference/volume schemes, general order.
fdv_half_stencilinteger(kind=I4P)Half stencil length of finite difference/volume schemes.
fdv_half_stencilsinteger(kind=I4P)Half stencil length of fdv schemes for each derivative up to 6.
reconstruction_varscharacter(len=:)allocatableType of WENO reconstruction variables (cons., charct.,...).
constrained_transport_DlogicalEnable Constrained Transport Correction on D.
constrained_transport_BlogicalEnable Constrained Transport Correction on D.
div_corr_varcharacter(len=:)allocatableType of divergence correction variables (poisson, hyperbolic,...).

Type-Bound Procedures

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

Subroutines

initialize

Initialize the equation.

fortran
subroutine initialize(self, file_parameters)

Arguments

NameTypeIntentAttributesDescription
selfclass(prism_numerics_object)inoutnumerics.
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_numerics_object)inoutnumerics.
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(prism_numerics_object)innumerics.

Call graph