RMF EOS solver (numba speed up version)
Functions to compute RMF Equation of state from given parameters. (numba speed up)
- EOSgenerators.fastRMF_EoS.Energy_density_Pressure(x, rho, theta)[source]
Generate pressure and energy density two EOS ingredient from given RMF term and given parameters, (fast version)
- Parameters:
x (array) – An array that consists of the initial values of sigma, omega, rho, and chemical
function. (potential obtained from the initial_values)
rho (float) – The central density from which the computation of the equation of state begins.
theta (array) – An array representing the parameters used to determine a RMF model in the
case (Lagrangian. In this)
parameters. (the RMF model is defined by 10)
- Returns:
EOS ingredient, energy density in g/cm3 pressure (float): EOS ingredient, pressure in dyn/cm3
- Return type:
energy_density (float)
- EOSgenerators.fastRMF_EoS.compute_EOS(eps_crust, pres_crust, theta)[source]
Generate core part equation of state, main function, from RMF model (fast version)
- 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
theta (array) – An array representing the parameters used to determine a RMF model in the
case (Lagrangian. In this)
parameters. (the RMF model is defined by 10)
- Returns:
EOS ingredient, energy density in g/cm3 pressure (float): EOS ingredient, pressure in dyn/cm3
- Return type:
energy_density (float)
- EOSgenerators.fastRMF_EoS.initial_values(rho, theta)[source]
Outputs the the sigma, omega, rho term and chemical potential of electron and neutron at given initial density (fast version)
- Parameters:
rho (float) – given nuclear density
theta (array) – paramters of determine a RMF model in lagrangian, here we have 10 parameters.
- Returns:
sigma term in lagrangian omega (float): omega term in lagrangian rho_03 (float): rho term in lagrangian mu_n (float): chemical potential of neutron matter mu_e (float): chemical potential of electron portion
- Return type:
sigma (float)