Appearance
adam_prism_parameters
PRISM, general parameters.
Source: src/app/prism/common/adam_prism_parameters.F90
Contents
Variables
| Name | Type | Attributes | Description |
|---|---|---|---|
NV_MAX | integer(kind=I4P) | parameter | Maximum number of variables for static arrays dimensioning. |
MU0 | real(kind=R8P) | parameter | Vacuum magnetic permeability. |
EPS0 | real(kind=R8P) | parameter | Vacuum dielectric constant. |
C0 | real(kind=R8P) | parameter | Vacuum speed of light. |
E_CHARGE | real(kind=R8P) | parameter | Elettron charge value. |
E_MASS | real(kind=R8P) | parameter | Elettron mass value. |
Q_OVER_M | real(kind=R8P) | parameter | Q/m value for elettron. |
ION_MASS | real(kind=R8P) | parameter | Ion mass value (H+, proton, CODATA 2022). |
NEUTRAL_MASS | real(kind=R8P) | parameter | Neutral mass value (ion + electron). |
K_B | real(kind=R8P) | parameter | Boltzmann coefficient. |
T_E | real(kind=R8P) | parameter | Plasma Temperature. |
VTH | real(kind=R8P) | parameter | Thermal Velocity value. |
PI | real(kind=R8P) | parameter | Pi value. |
MU0_SQ | real(kind=R8P) | parameter | Mu0 square root |
MU0_SQ_I2 | real(kind=R8P) | parameter | Half of MU0 square root inverse |
EPS0_SQ | real(kind=R8P) | parameter | EPS0 square root |
EPS0_SQ_I2 | real(kind=R8P) | parameter | Half of EPS0 square root inverse |
EV | real(kind=R8P) | target | Eigenvalues. |
ER | real(kind=R8P) | target | Right eigenvectors. |
EL | real(kind=R8P) | target | Right eigenvectors. |
IEV | real(kind=R8P) | target | Identity eigenvalues. |
IEV_D | real(kind=R8P) | target | Identity eigenvalues with |
IEV_B | real(kind=R8P) | target | Identity eigenvalues with |
IEV_D_B | real(kind=R8P) | target | Identity eigenvalues with |
IERL | real(kind=R8P) | target | Identity eigenvectors. |
IERL_D | real(kind=R8P) | target | Identity eigenvectors, D divergence cleaning. |
IERL_B | real(kind=R8P) | target | Identity eigenvectors, B divergence cleaning. |
IERL_D_B | real(kind=R8P) | target | Identity eigenvectors, D & B divergence cleaning. |
Functions
strip_control
Return string with control characters (CR, TAB, ...) replaced by blanks.
INI files authored on Windows carry a trailing CR that trim/adjustl do not remove, so a value would miss every case and hit the case default error path purely because of its line ending. Blank them first: the subsequent trim/adjustl then yields the intended token.
Attributes: pure
Returns: character(len=len)
fortran
function strip_control(string) result(cleaned)Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
string | character(len=*) | in | Raw value as read from the INI file. |
Call graph