Houses derivation that takes a general contraction in velocity space of a distribution function harmonic
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(VelContracDerivation), | intent(inout) | :: | this | |||
type(RealArray), | intent(in), | dimension(:) | :: | inputArray | ||
integer(kind=ik), | intent(in), | dimension(:) | :: | indices |
Initialize velocity contraction derivation object
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(VelContracDerivation), | intent(inout) | :: | this | |||
integer(kind=ik), | intent(in) | :: | h |
Harmonic to contract with |
||
real(kind=rk), | intent(in), | dimension(:) | :: | g |
Velocity space vector |
|
type(VSpace), | intent(in) | :: | refVSpace |
Reference velocity space |
||
integer(kind=ik), | intent(in), | optional | :: | expH |
Expected number of harmonics (defaults to total number of harmonics) |
Derivation that calculates the contraction of velocity vector g with h'th harmonic of single passed distribution variable
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
logical, | public | :: | userDefined | = | .false. |
True only if user explicitly sets it to true |
|
integer(kind=ik), | private | :: | h |
Harmonic to contract with |
|||
real(kind=rk), | private, | allocatable, dimension(:) | :: | g |
Velocity space vector |
||
integer(kind=ik), | private | :: | numH |
Local copy of number of harmonics |
procedure, public :: isDefined => isDefinedObject | |
procedure, public :: makeDefined => makeDefinedObject | |
procedure, public :: makeUndefined => makeUndefinedObject | |
procedure, public :: init => initContracDeriv | |
procedure, public :: calculate => calculateContracDeriv |