Houses derivation that calculates a Maxwellian based on temperature and density and the velocity grid
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(MaxwellianDerivation), | intent(inout) | :: | this | |||
type(RealArray), | intent(in), | dimension(:) | :: | inputArray | ||
integer(kind=ik), | intent(in), | dimension(:) | :: | indices |
Initialize Maxwellian derivation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(MaxwellianDerivation), | intent(inout) | :: | this | |||
type(VSpace), | intent(in) | :: | vSpaceObj |
Calculates Maxwellian distribution. Expects temperature and density indices (in that order), and assumes velocity is normalized to electron thermal speed.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | public | :: | userDefined | = | .false. |
True only if user explicitly sets it to true |
|
integer(kind=ik), | private | :: | numH |
Total number of harmonics |
|||
real(kind=rk), | private, | allocatable, dimension(:) | :: | vGridCopy |
Local copy of velocity grid for easier calculations |
procedure, public :: isDefined => isDefinedObject | |
procedure, public :: makeDefined => makeDefinedObject | |
procedure, public :: makeUndefined => makeUndefinedObject | |
procedure, public :: init => initMaxwellianDeriv | |
procedure, public :: calculate => calculateMaxwellian |