Calculate moment of the h-th harmonic of passed local distribution function f, optionally multiplied by g(v). If gDependsOnX is .true. assumes that g is given as a strided array with stride numV, and it is used to allocate the result - this allows g to not have a halo while f does. The moment is of order mOrder.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(VSpace), | intent(in) | :: | this | |||
real(kind=rk), | intent(in), | dimension(:) | :: | f | ||
integer(kind=ik), | intent(in) | :: | h | |||
integer(kind=ik), | intent(in) | :: | mOrder | |||
real(kind=rk), | intent(in), | optional, | dimension(:) | :: | g | |
logical, | intent(in), | optional | :: | gDependsOnX |