weights_ijg Function

public pure function weights_ijg(ii, jj, ig, w) result(weight)

Calculating central moment weights This follows equation 3 in cumulent paper (Geier .et al 2017)

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: ii

indeces of the pdf

integer, intent(in) :: jj

indeces of the pdf

integer, intent(in) :: ig

order gamma of moments

real(kind=rk), intent(in) :: w(-1:1,-1:1,-1:1)

cumulant ordered weights

Return Value real(kind=rk)