Loading [MathJax]/extensions/TeX/AMSsymbols.js
LALSimulation 6.2.0.1-5e288d3
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
LALSimInspiralEOS.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2012 Walter Del Pozzo, Tjonnie Li, Michalis Agathos
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with with program; see the file COPYING. If not, write to the
16 * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
17 * MA 02110-1301 USA
18 */
19
20#ifndef _LALSIMINSPIRALEOS_H /* Double-include protection. */
21#define _LALSIMINSPIRALEOS_H
22
23#ifdef __cplusplus /* C++ protection. */
24extern "C" {
25#endif
26
27#include <math.h>
28#include <lal/LALDatatypes.h>
29#include <lal/LALConstants.h>
30
31/**
32 * The first enum types are available for both lambda and q
33 * From EOS_Lambda_q_Specific, the EOS are only available for either q, or lambda.
34 */
35typedef enum tagLALEquationOfState {
36 /* First set is available for both lambda and q*/
37 LAL_SIM_INSPIRAL_EOS_NONE, /**< A black hole */
38 LAL_SIM_INSPIRAL_EOS_Lambda_q_Specific, /**< From here EOS only available for either lambda or q */
39 LAL_SIM_INSPIRAL_EOS_A, /**< EOS available for q */
40 LAL_SIM_INSPIRAL_EOS_AU, /**< EOS available for q */
41 LAL_SIM_INSPIRAL_EOS_FPS, /**< EOS available for q */
42 LAL_SIM_INSPIRAL_EOS_APR, /**< EOS available for q */
43 LAL_SIM_INSPIRAL_EOS_UU, /**< EOS available for q */
44 LAL_SIM_INSPIRAL_EOS_L, /**< EOS available for q */
45 LAL_SIM_INSPIRAL_EOS_MS1, /**< EOS available for lambda */
46 LAL_SIM_INSPIRAL_EOS_H4, /**< EOS available for lambda */
47 LAL_SIM_INSPIRAL_EOS_SQM3,/**< EOS available for lambda */
48 LAL_SIM_INSPIRAL_EOS_MPA1,/**< EOS available for lambda */
49 LAL_SIM_INSPIRAL_EOS_GNH3,/**< EOS available for lambda */
50 LAL_SIM_INSPIRAL_NumEOS /**< Number of elements in enum, useful for checking bounds */
52
53/*
54typedef enum
55{
56 LAL_SIM_INSPIRAL_EOS_NONE = 0,
57 LAL_SIM_INSPIRAL_EOS_MS1 = 1,
58 LAL_SIM_INSPIRAL_EOS_H4 = 2,
59 LAL_SIM_INSPIRAL_EOS_SQM3 = 3,
60 LAL_SIM_INSPIRAL_EOS_MPA1 = 4,
61 LAL_SIM_INSPIRAL_EOS_GNH3 = 5
62} LALEquationOfState;
63*/
64
66
68
70
72
74
76
77REAL8 XLALSimInspiralContactFrequency(REAL8 m1_intr, REAL8 barlambda1, REAL8 m2_intr, REAL8 barlambda2);
78
79#ifdef __cplusplus
80}
81#endif /* C++ protection. */
82#endif /* Double-include protection. */
const double c1
const double c2
const double c0
REAL8 XLALSimInspiralNSRadiusOfLambdaM(REAL8 m_intr_msun, REAL8 barlambda)
This function estimates the radius of a NS of a given mass and tidal deformability parameter,...
LALEquationOfState
The first enum types are available for both lambda and q From EOS_Lambda_q_Specific,...
@ LAL_SIM_INSPIRAL_EOS_FPS
EOS available for q.
@ LAL_SIM_INSPIRAL_EOS_MPA1
EOS available for lambda.
@ LAL_SIM_INSPIRAL_NumEOS
Number of elements in enum, useful for checking bounds.
@ LAL_SIM_INSPIRAL_EOS_UU
EOS available for q.
@ LAL_SIM_INSPIRAL_EOS_MS1
EOS available for lambda.
@ LAL_SIM_INSPIRAL_EOS_A
EOS available for q.
@ LAL_SIM_INSPIRAL_EOS_L
EOS available for q.
@ LAL_SIM_INSPIRAL_EOS_NONE
A black hole.
@ LAL_SIM_INSPIRAL_EOS_GNH3
EOS available for lambda.
@ LAL_SIM_INSPIRAL_EOS_SQM3
EOS available for lambda.
@ LAL_SIM_INSPIRAL_EOS_H4
EOS available for lambda.
@ LAL_SIM_INSPIRAL_EOS_APR
EOS available for q.
@ LAL_SIM_INSPIRAL_EOS_Lambda_q_Specific
From here EOS only available for either lambda or q.
@ LAL_SIM_INSPIRAL_EOS_AU
EOS available for q.
REAL8 XLALSimInspiralEOSLambda(LALEquationOfState eos_type, REAL8 m_intr_msun)
LALEquationOfState XLALSimEOSfromString(char eos_name[])
REAL8 XLALSimInspiralContactFrequency(REAL8 m1_intr, REAL8 barlambda1, REAL8 m2_intr, REAL8 barlambda2)
This function estimates the radius for a binary of given masses and tidal deformability parameters.
REAL8 XLALSimInspiralEOSQfromLambda(REAL8 lambda)
REAL8 XLALLambdaQuadratic(REAL8 c0, REAL8 c1, REAL8 c2, REAL8 mass)
REAL8 XLALSimInspiralEOSqmparameter(LALEquationOfState eos_type, REAL8 m_intr_msun)
double REAL8