Crust Equation of state interpolation

Function to connect the crust EoS given by user with the core part by function calls

EOSgenerators.crust_EOS.PolyInterpolate(eps_crust, pressure_crust)[source]

Polytrope connecting crust part of equation of state to core part

Parameters:
  • eps_crust (array) – the energy density of crust EoS in MeV/fm3, times a G/c**2 factor

  • pres_crust (array) – the pressure from crust EoS model in MeV/fm3, times a G/c**4 factor

Returns:

EOS ingredient, combined crust and inter-crust part energy density in MeV/fm3, times a G/c**2 factor pres_combine (float): EOS ingredient, combined crust and inter-crust part pressure in MeV/fm3, times a G/c**2 factor

Return type:

eps_combine (float)