getEquilibrium_forPdfSubset Function

private pure function getEquilibrium_forPdfSubset(subset, layout, varPos) result(equil)

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.

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: subset(:)
type(mus_scheme_layout_type), intent(in) :: layout
integer, intent(in) :: varPos(:)

Return Value real(kind=rk), (layout%fStencil%QQ)


Calls

proc~~getequilibrium_forpdfsubset~~CallsGraph proc~getequilibrium_forpdfsubset getEquilibrium_forPdfSubset cxdirrk cxdirrk proc~getequilibrium_forpdfsubset->cxdirrk proc~getdensity_forpdfsubset getDensity_forPdfSubset proc~getequilibrium_forpdfsubset->proc~getdensity_forpdfsubset proc~getvelocity_forpdfsubset getVelocity_forPdfSubset proc~getequilibrium_forpdfsubset->proc~getvelocity_forpdfsubset

Called by

proc~~getequilibrium_forpdfsubset~~CalledByGraph proc~getequilibrium_forpdfsubset getEquilibrium_forPdfSubset interface~getequilibrium getEquilibrium interface~getequilibrium->proc~getequilibrium_forpdfsubset proc~mus_turbvisc_smagorinsky_fromprecolpdf_2d mus_turbVisc_Smagorinsky_fromPreColPDF_2D proc~mus_turbvisc_smagorinsky_fromprecolpdf_2d->interface~getequilibrium proc~mus_turbvisc_smagorinsky_fromprecolpdf_3d mus_turbVisc_Smagorinsky_fromPreColPDF_3D proc~mus_turbvisc_smagorinsky_fromprecolpdf_3d->interface~getequilibrium