Class ex_eos_had_skyrme ()

O2scl : Class List

class ex_eos_had_skyrme

Class to analyze Skyrme EOSs and output the results [Example class].

Public Functions

inline ex_eos_had_skyrme()
inline void compare_neut_nstar()

Generate a table comparing neutron matter and neutron star matter.

inline int check_pressure()

Check if the pressure of neutron matter is positive.

inline int low_neutron_mat()

Check low-density neutron matter.

I’m not sure where the data originally came from, but it was based on something similar to the left panel of Fig. 1 in Gandolfi et al. (2015).

Todo:

AWS 12/21/2020: I need to document here what “quality” values are reasonable. I should probably make this optional as well, as many Skyrme interactions are not intended to be used at this density.

inline int saturation_prop()

Test saturation density.

inline int mvsr()

Compute the M vs. R curve.

inline int json(vector<string> &sv, bool itive_com)

Summarize the results of one model.

inline int summary(vector<string> &sv, bool itive_com)

Summarize the results of one model.

inline int test(vector<string> &sv, bool itive_com)

Test the code.

inline int store(vector<string> &sv, bool itive_com)

Write to a file.

inline int unedf(vector<string> &sv, bool itive_com)

Create data files for the UNEDF forces.

inline int load(vector<string> &sv, bool itive_com)

Load internally stored model.

inline int run_all(vector<string> &sv, bool itive_com)

Run all the models.

Public Members

eos_had_skyrme sk

Base EOS model.

string name

Model name.

double t0hc

Parameter t0 in MeV.

double t1hc

Parameter t1 in MeV.

double t2hc

Parameter t2 in MeV.

double t3hc

Parameter t3 in MeV.

double W0hc

Parameter W0 in MeV.

double b4hc

Parameter b4.

double b4phc

Parameter b4p.

int verbose

Verbose parameter.

bool output_files

If true, create output files for individual EOSs.

string file_prefix

Prefix for output files.

bool json_mode

If true, output JSON.

Protected Attributes

nstar_cold nst

To compute cold neutron stars.

nstar_hot nh

To compute hot neutron stars.

fermion n

Neutron.

fermion p

Proton.

fermion_deriv nd

Neutron.

fermion_deriv pd

Proton.

thermo th

Thermodynamics.

hdf_file hf

File for I/O.

ex_skyrme_data res

Results.

format_float fd

Formatting output.

table_units tneut

Neutron matter.

table_units tneut2

Neutron matter.