moment_derivation_procedures Submodule

Contains module procedures associated with the moment derivation class


Uses


Module Functions

module function calculateMomentDeriv(this, inputArray, indices) result(output)

Arguments

Type IntentOptional Attributes Name
class(MomentDerivation), intent(inout) :: this
type(RealArray), intent(in), dimension(:) :: inputArray
integer(kind=ik), intent(in), dimension(:) :: indices

Return Value real(kind=rk), allocatable, dimension(:)


Module Subroutines

module subroutine initMomentDeriv(this, mOrder, h, refVSpace, varPowers, g, multConst)

Initialize moment derivation object

Arguments

Type IntentOptional Attributes Name
class(MomentDerivation), intent(inout) :: this
integer(kind=ik), intent(in) :: mOrder

Moment order

integer(kind=ik), intent(in) :: h

Harmonic to take moment of

type(VSpace), intent(in) :: refVSpace

Velocity space object to make copy of

real(kind=rk), intent(in), optional, dimension(:) :: varPowers

Optional fluid variable powers

real(kind=rk), intent(in), optional, dimension(:) :: g

Optional velocity space vector

real(kind=rk), intent(in), optional :: multConst

Optional multiplicative constant - default 1