Appearance
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
| Name | Type | Attributes | Description |
|---|---|---|---|
INI_SECTION_NAME | character(len=8) | parameter | INI file section name containing fluid numerics. |
NUM_SCHEME_TIME_BLANES_MOAN | character(len=11) | parameter | Blanes-Moan numerical scheme for time operator. |
NUM_SCHEME_TIME_CFM | character(len=22) | parameter | Commutator-Free Magnus scheme for time operator. |
NUM_SCHEME_TIME_LEAPFROG | character(len=8) | parameter | Leapfrog numerical scheme for time operator. |
NUM_SCHEME_TIME_RUNGE_KUTTA | character(len=11) | parameter | Runge-Kutta numerical scheme for time operator. |
NUM_SCHEME_SPACE_FD_CENTERED | character(len=11) | parameter | FD centered scheme for space operator. |
NUM_SCHEME_SPACE_FV_CENTERED | character(len=11) | parameter | FV centered scheme for space operator. |
NUM_SCHEME_SPACE_WENO | character(len=4) | parameter | WENO numerical scheme for space operator. |
RECONSTRUCTION_VARS_CONS | character(len=12) | parameter | High-order reconstruction on conservative vars. |
RECONSTRUCTION_VARS_CHAR | character(len=15) | parameter | High-order reconstruction on charact. vars. |
DIV_CORR_VAR_POISS | character(len=7) | parameter | Poisson divergence correction. |
DIV_CORR_VAR_HYPER | character(len=10) | parameter | Hyperbolic divergence correction. |
Derived Types
prism_numerics_object
PRISM numerics class definition.
Components
| Name | Type | Attributes | Description |
|---|---|---|---|
mpih | type(mpih_object) | MPI handler. | |
scheme_time | character(len=:) | allocatable | Numerical scheme for time operator [runge_kutta, leapfrog,...]. |
scheme_space | character(len=:) | allocatable | Numerical scheme for space operator [weno, centered]. |
fdv_order | integer(kind=I4P) | Order of finite difference/volume schemes, general order. | |
fdv_half_stencil | integer(kind=I4P) | Half stencil length of finite difference/volume schemes. | |
fdv_half_stencils | integer(kind=I4P) | Half stencil length of fdv schemes for each derivative up to 6. | |
reconstruction_vars | character(len=:) | allocatable | Type of WENO reconstruction variables (cons., charct.,...). |
constrained_transport_D | logical | Enable Constrained Transport Correction on D. | |
constrained_transport_B | logical | Enable Constrained Transport Correction on D. | |
div_corr_var | character(len=:) | allocatable | Type of divergence correction variables (poisson, hyperbolic,...). |
Type-Bound Procedures
| Name | Attributes | Description |
|---|---|---|
description | pass(self) | Return pretty-printed object description. |
initialize | pass(self) | Initialize numerics. |
load_from_file | pass(self) | Load config from file. |
Subroutines
initialize
Initialize the equation.
fortran
subroutine initialize(self, file_parameters)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(prism_numerics_object) | inout | numerics. | |
file_parameters | type(file_ini) | in | Simulation 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
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(prism_numerics_object) | inout | numerics. | |
file_parameters | type(file_ini) | in | Simulation parameters ini file handler. | |
go_on_fail | logical | in | optional | Go 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
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
self | class(prism_numerics_object) | in | numerics. |
Call graph