Provides routines for one-parameter families of neutron stars of a given equation of state.
Prototypes | |
void | XLALDestroySimNeutronStarFamily (LALSimNeutronStarFamily *fam) |
Frees the memory associated with a pointer to a neutron star family. More... | |
LALSimNeutronStarFamily * | XLALCreateSimNeutronStarFamily (LALSimNeutronStarEOS *eos) |
Creates a neutron star family structure for a given equation of state. More... | |
double | XLALSimNeutronStarFamMinimumMass (LALSimNeutronStarFamily *fam) |
Returns the minimum mass of a neutron star family. More... | |
double | XLALSimNeutronStarMaximumMass (LALSimNeutronStarFamily *fam) |
Returns the maximum mass of a neutron star family. More... | |
double | XLALSimNeutronStarCentralPressure (double m, LALSimNeutronStarFamily *fam) |
Returns the central pressure of a neutron star of mass m. More... | |
double | XLALSimNeutronStarRadius (double m, LALSimNeutronStarFamily *fam) |
Returns the radius of a neutron star of mass m. More... | |
double | XLALSimNeutronStarLoveNumberK2 (double m, LALSimNeutronStarFamily *fam) |
Returns the tidal Love number k2 of a neutron star of mass m. More... | |
Variables | |
GSL_VAR const gsl_interp_type * | lal_gsl_interp_steffen |
void XLALDestroySimNeutronStarFamily | ( | LALSimNeutronStarFamily * | fam | ) |
Frees the memory associated with a pointer to a neutron star family.
fam | Pointer to the neutron star family structure to be freed. |
Definition at line 69 of file LALSimNeutronStarFamily.c.
LALSimNeutronStarFamily* XLALCreateSimNeutronStarFamily | ( | LALSimNeutronStarEOS * | eos | ) |
Creates a neutron star family structure for a given equation of state.
A neutron star family is a one-parameter family of neturon stars for a fixed equation of state. The one parameter is the neutron star central pressure, or, equivalently, the mass of the neutron star. The family is terminated at the maximum neutron star mass for the specified equation of state, so the mass can be used as the family parameter.
eos | Pointer to the Equation of State structure. |
Definition at line 98 of file LALSimNeutronStarFamily.c.
double XLALSimNeutronStarFamMinimumMass | ( | LALSimNeutronStarFamily * | fam | ) |
Returns the minimum mass of a neutron star family.
fam | Pointer to the neutron star family structure. |
Definition at line 198 of file LALSimNeutronStarFamily.c.
double XLALSimNeutronStarMaximumMass | ( | LALSimNeutronStarFamily * | fam | ) |
Returns the maximum mass of a neutron star family.
fam | Pointer to the neutron star family structure. |
Definition at line 208 of file LALSimNeutronStarFamily.c.
double XLALSimNeutronStarCentralPressure | ( | double | m, |
LALSimNeutronStarFamily * | fam | ||
) |
Returns the central pressure of a neutron star of mass m.
m | The mass of the neutron star (kg). |
fam | Pointer to the neutron star family structure. |
Definition at line 219 of file LALSimNeutronStarFamily.c.
double XLALSimNeutronStarRadius | ( | double | m, |
LALSimNeutronStarFamily * | fam | ||
) |
Returns the radius of a neutron star of mass m.
m | The mass of the neutron star (kg). |
fam | Pointer to the neutron star family structure. |
Definition at line 234 of file LALSimNeutronStarFamily.c.
double XLALSimNeutronStarLoveNumberK2 | ( | double | m, |
LALSimNeutronStarFamily * | fam | ||
) |
Returns the tidal Love number k2 of a neutron star of mass m.
m | The mass of the neutron star (kg). |
fam | Pointer to the neutron star family structure. |
Definition at line 248 of file LALSimNeutronStarFamily.c.
GSL_VAR const gsl_interp_type* lal_gsl_interp_steffen |
Definition at line 31 of file LALSimNeutronStarFamily.c.