Initialize Moments transformation matrix for LBM compressible and incompressible fluid model. This matrix must be consistent with the relaxation matrix used in compute kernel and interpolation routines
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | ||||
| integer, | intent(in) | :: | cxDir(3,QQ) | |||
| character(len=labelLen) | :: | label | ||||
| type(mus_moment_type), | intent(inout) | :: | me | |||
| real(kind=rk), | intent(inout) | :: | toMoment(me%toMoments%nEntries(1),me%toMoments%nEntries(2)) | |||
| real(kind=rk), | intent(inout) | :: | toPdf(me%toPDF%nEntries(1),me%toPDF%nEntries(2)) |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=rk), | private, | dimension(QQ) | :: | uV | |||
| real(kind=rk), | private, | dimension(QQ) | :: | cx | |||
| real(kind=rk), | private, | dimension(QQ) | :: | cy | |||
| real(kind=rk), | private, | dimension(QQ) | :: | cz | |||
| real(kind=rk), | private, | dimension(QQ) | :: | cxsqr | |||
| real(kind=rk), | private, | dimension(QQ) | :: | cysqr | |||
| real(kind=rk), | private, | dimension(QQ) | :: | czsqr | |||
| real(kind=rk), | private, | dimension(QQ) | :: | csqr | |||
| real(kind=rk), | private | :: | invMat(me%toPDF%nEntries(1),me%toPDF%nEntries(2)) | ||||
| real(kind=rk), | private | :: | transMat(me%toPDF%nEntries(1),me%toPDF%nEntries(2)) |