Calculate second moments of some quantity where Q is number of discrete velocity.\n The output is 1 dimentional array which has 6 componenents.\n Specifically, This function is used by shear stress and strain rate. 1=xx, 2=yy, 3=zz, 4=xy, 5=yz, 6=xz in 2D: 1=xx, 2=yy, 3=xy
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=rk), | intent(in) | :: | cxcx(6,QQ) | |||
real(kind=rk), | intent(in) | :: | f(QQ) |
quantity to which second moment is applied |
||
integer, | intent(in) | :: |