secondMom_minus_cs2_3D Function

public pure function secondMom_minus_cs2_3D(cxcx, f, QQ) result(m)

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

Arguments

Type IntentOptional 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) :: QQ

Return Value real(kind=rk), (6)