vel_contraction_derivation_procedures Submodule

Contains module procedures associated with the velocity contraction derivation class



Module Functions

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

Arguments

Type IntentOptional Attributes Name
class(VelContracDerivation), 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 initContracDeriv(this, h, g, refVSpace, expH)

Initialize velocity contraction derivation object

Arguments

Type IntentOptional 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