get_vel_from_pdf_compressible Function

private pure function get_vel_from_pdf_compressible(pdf, dens, cxDirRK) result(vel)

function pointer to get pdf equilibrium from vel and density for any stencil

Arguments

Type IntentOptional Attributes Name
real(kind=rk), intent(in) :: pdf(:)

pdf

real(kind=rk), intent(in) :: dens

density

real(kind=rk), intent(in), optional :: cxDirRK(:,:)

velocity streaming normal along iDir

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

velocity