RMF EOS solver

Functions to compute RMF Equation of state from given parameters.

EOSgenerators.RMF_EOS.Energy_density_Pressure(x, rho, theta)[source]

Generate pressure and energy density two EOS ingredient from given RMF term and given parameters,

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.RMF_EOS.compute_EOS(eps_crust, pres_crust, theta)[source]

Generate core part equation of state, main function, from RMF model,

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.RMF_EOS.functie(x, args)[source]

iterate the the sigma, omega, rho term and chemical potential of electron and neutron at any given density

Parameters:
  • x (array) – initial sigma omega rho and chemical potential from initial_values function

  • args (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)

EOSgenerators.RMF_EOS.initial_values(rho, theta)[source]

Outputs the the sigma, omega, rho term and chemical potential of electron and neutron at given initial density

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)