| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ro_from_pT_obj_t), | intent(in) | :: | me | |||
| real(kind=dp), | intent(in) | :: | x |
x is ro (Arp units) |
function funct_ro_from_pT(me,x) class(ro_from_pT_obj_t), intent(in) :: me real(dp), intent(in) :: x !! x is ro (Arp units) real(dp) :: funct_ro_from_pT type(ThArrays_t) :: ThAr call eos_pT_terms(x, me%T, ThAr) funct_ro_from_pT = me%p - x*R_cte_gaz_Arp*me%T - sum(ThAr%f*ThAr%g) end function funct_ro_from_pT