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
pres_crust (array) – the pressure from crust EoS model
- Returns:
EOS ingredient, combined crust and inter-crust part energy density pres_combine (float): EOS ingredient, combined crust and inter-crust part pressure
- Return type:
eps_combine (float)