eos_mesa

Module

Description

None

References:

None

Owner:

Mike Lau

Runtime parameters:

None

Dependencies:

mesa_microphysics, physcon

Quick access

Variables:

mesa_initialised

Routines:

finish_eos_mesa(), get_eos_1overmu_mesa(), get_eos_et_from_rhop_mesa(), get_eos_kappa_mesa(), get_eos_pressure_temp_gamma1_mesa(), get_eos_pressure_temp_mesa(), get_eos_u_from_rhot_mesa(), get_eos_various_mesa(), init_eos_mesa()

Needed modules

  • mesa_microphysics

Variables

  • eos_mesa/mesa_initialised [logical,private/optional/default=.false.]

Subroutines and functions

subroutine  eos_mesa/init_eos_mesa(x, z, ierr)
Parameters:
  • x [real,in]

  • z [real,in]

  • ierr [integer,out]

subroutine  eos_mesa/finish_eos_mesa()
subroutine  eos_mesa/get_eos_pressure_temp_gamma1_mesa(den, eint, pres, temp, gam1, ierr)
Parameters:
  • den [real,in]

  • eint [real,in]

  • pres [real,out]

  • temp [real,out]

  • gam1 [real,out]

  • ierr [integer,out]

subroutine  eos_mesa/get_eos_kappa_mesa(den, temp, kappa, kappat, kappar)
Parameters:
  • den [real,in]

  • temp [real,in]

  • kappa [real,out]

  • kappat [real,out]

  • kappar [real,out]

function  eos_mesa/get_eos_1overmu_mesa(den, u)
Parameters:
  • den [real,in]

  • u [real,in]

Return:

rmu [real]

subroutine  eos_mesa/get_eos_pressure_temp_mesa(den, eint, pres, temp)
Parameters:
  • den [real,in]

  • eint [real,in]

  • pres [real,out]

  • temp [real,out]

subroutine  eos_mesa/get_eos_et_from_rhop_mesa(rho, pres, eint, temp[, guesseint])
Parameters:
  • rho [real,in]

  • pres [real,in]

  • eint [real,out]

  • temp [real,out]

  • guesseint [real,in,]

subroutine  eos_mesa/get_eos_u_from_rhot_mesa(rho, temp, eint[, guesseint])
Parameters:
  • rho [real,in]

  • temp [real,in]

  • eint [real,out]

  • guesseint [real,in,]

Use :

physcon (kb_on_mh())

subroutine  eos_mesa/get_eos_various_mesa(den, eint, pres, proint, peint, temp, troint, teint, entrop, abad, gamma1, gam)
Parameters:
  • den [real,in]

  • eint [real,in]

  • pres [real,out]

  • proint [real,out]

  • peint [real,out]

  • temp [real,out]

  • troint [real,out]

  • teint [real,out]

  • entrop [real,out]

  • abad [real,out]

  • gamma1 [real,out]

  • gam [real,out]