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 |
Getter for userDefined
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Object), | intent(in) | :: | this |
Set userDefined to .true.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Object), | intent(inout) | :: | this |
Set userDefined to .false.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Object), | intent(inout) | :: | this |
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) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(VelContracDerivation), | intent(inout) | :: | this | |||
type(RealArray), | intent(in), | dimension(:) | :: | inputArray | ||
integer(kind=ik), | intent(in), | dimension(:) | :: | indices |