vSonic Interface

interface
public pure module function vSonic(Te, Ti, mi, ePolytropic, iPolytropic) result(res)

Arguments

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

Electron temperature in eV

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

Ion temperature in eV

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

Ion mass

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

Electron polytropic coefficient

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

Ion polytropic coefficient

Return Value real(kind=rk)

Description

Sonic speed caclulated as sqrt((ePolyTe + iPolyTi)/mi)