Cell-integral or cell-average of over grid, using Simpson's 1/3 rule.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
procedure(fx) | :: | fnc |
function to integrate/average over grid cells |
|||
type(grid1), | intent(in) | :: | grid |
|
||
logical, | intent(in), | optional | :: | average |
flag to compute cell-average instead of cell-integral |
-th order moment of :
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in) | :: | u(:) |
cell-average number density, |
||
type(grid1), | intent(in) | :: | grid |
|
||
integer, | intent(in) | :: | order |
order of the moment |
||
logical, | intent(in), | optional | :: | normalize |
if |