
Houses derivation that extracts single harmonics from distribution variables
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(HExtractorDerivation), | intent(inout) | :: | this | |||
| type(RealArray), | intent(in), | dimension(:) | :: | inputArray | ||
| integer(kind=ik), | intent(in), | dimension(:) | :: | indices |
Initialize harmonic extractor derivation
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(HExtractorDerivation), | intent(inout) | :: | this | |||
| type(VSpace), | intent(in) | :: | vSpaceObj | |||
| integer(kind=ik), | intent(in) | :: | targetH |
Harmonic to extract |
Extracts target harmonic from distribution variable
| 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 |
|||
| integer(kind=ik), | private | :: | numV |
Velocity grid size |
|||
| integer(kind=ik), | private | :: | targetH |
Harmonic to extract |
| procedure, public :: isDefined => isDefinedObject | |
| procedure, public :: makeDefined => makeDefinedObject | |
| procedure, public :: makeUndefined => makeUndefinedObject | |
| procedure, public :: init => initHEDerivation | |
| procedure, public :: calculate => calculateHE |