mus_intp_convertMomToPDF2D Function

public pure function mus_intp_convertMomToPDF2D(moments, nonEqScalingFacs, layout) result(PDF)

This function computes converts moments to pdf by computing equilibrium from dens and vel and use it to compute higher moments and transform moments to PDF

Arguments

TypeIntentOptionalAttributesName
real(kind=rk), intent(in) :: moments(layout%fStencil%QQ)

All moments

real(kind=rk), intent(in) :: nonEqScalingFacs(layout%fStencil%QQ)

nonEquilibrium scaling factor

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

Scheme layout

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

output pdf


Calls

proc~~mus_intp_convertmomtopdf2d~~CallsGraph proc~mus_intp_convertmomtopdf2d mus_intp_convertMomToPDF2D proc~mus_intp_eq_d2q9_a mus_intp_eq_d2q9_a proc~mus_intp_convertmomtopdf2d->proc~mus_intp_eq_d2q9_a

Called by

proc~~mus_intp_convertmomtopdf2d~~CalledByGraph proc~mus_intp_convertmomtopdf2d mus_intp_convertMomToPDF2D proc~fillmyghostsfromfiner_avg2d fillMyGhostsFromFiner_avg2D proc~fillmyghostsfromfiner_avg2d->proc~mus_intp_convertmomtopdf2d proc~fillfinerghostsfromme_weighavg2d fillFinerGhostsFromMe_weighAvg2D proc~fillfinerghostsfromme_weighavg2d->proc~mus_intp_convertmomtopdf2d proc~fillfinerghostsfromme_linear2d fillFinerGhostsFromMe_linear2D proc~fillfinerghostsfromme_linear2d->proc~mus_intp_convertmomtopdf2d proc~fillfinerghostsfromme_quad2d fillFinerGhostsFromMe_quad2D proc~fillfinerghostsfromme_quad2d->proc~mus_intp_convertmomtopdf2d

Contents


Variables

TypeVisibilityAttributesNameInitial
integer, private :: QQ
real(kind=rk), private :: rho
real(kind=rk), private :: vel(2)
real(kind=rk), private :: tmpMom(layout%fStencil%QQ)
real(kind=rk), private :: mEq(layout%fStencil%QQ)