Calculate the equilibrium distribution function in all directions

The equilibrim distribution function is:\n \n where is the weight in each direction,\n is the macroscopic value of density,\n is the speed of sound,\n is the lattice unit velocity in each direction,\n is the macroscopic value of velocity.

Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|

real(kind=rk), | intent(in) | :: | state(:) | |||

integer, | intent(in) | :: | elem | |||

type(mus_scheme_layout_type), | intent(in) | :: | layout | |||

integer, | intent(in) | :: | varPos(:) | |||

integer, | intent(in) | :: | nScalars | |||

integer, | intent(in) | :: | neigh(:) |

Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|

real(kind=rk), | private | :: | rho | ||||

real(kind=rk), | private | :: | vel(3) | ||||

real(kind=rk), | private | :: | ucx | ||||

real(kind=rk), | private | :: | usq | ||||

integer, | private | :: | iDir |