LALSimulation  5.4.0.1-fe68b98
LALSimIMRPhenomNSBH.h
Go to the documentation of this file.
1 #ifndef _LALSIM_IMR_PHENOMNSBH_H
2 #define _LALSIM_IMR_PHENOMNSBH_H
3 
4 #ifdef __cplusplus
5 extern "C"
6 {
7 #endif
8 
9 /*
10  * Copyright (C) 2019 Jonathan Thompson, Edward Fauchon-Jones, Sebastian Khan
11  *
12  * This program is free software; you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation; either version 2 of the License, or
15  * (at your option) any later version.
16  *
17  * This program is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with with program; see the file COPYING. If not, write to the
24  * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
25  * MA 02110-1301 USA
26  */
27 
28 #include <math.h>
29 #include <lal/LALSimIMR.h>
30 #include <lal/Units.h>
31 #include <lal/LALConstants.h>
32 #include <lal/FrequencySeries.h>
33 #include <lal/Sequence.h>
34 
35 
37 #include "LALSimIMRPhenomUtils.h"
39 
40 typedef enum tagMergerType
41 {
46  BBH
48 
49 typedef struct tagBBHPhenomNSBHParams
50 {
72 
73 static int IMRPhenomNSBH_Core(
74  COMPLEX16FrequencySeries **htilde,
75  REAL8 phiRef,
76  REAL8 fRef,
77  REAL8 distance,
78  REAL8 mBH_SI,
79  REAL8 mNS_SI,
80  REAL8 chi_BH,
81  REAL8 chi_NS,
82  LALDict *extraParams,
83  const REAL8Sequence *freqs_in,
84  REAL8 deltaF
85 );
86 
88  const REAL8 m1,
89  const REAL8 m2,
90  const REAL8 chi,
91  const REAL8 lambda,
92  const BBHPhenomCParams *params);
93 
95 
96 
97 
98 #ifdef __cplusplus
99 }
100 #endif
101 
102 #endif
static REAL8 PhenomNSBHAmplitudeOneFrequency(const REAL8 Mf, const BBHPhenomCParams *params, const BBHPhenomNSBHParams *params_NSBH)
static int IMRPhenomNSBH_Core(COMPLEX16FrequencySeries **htilde, REAL8 phiRef, REAL8 fRef, REAL8 distance, REAL8 mBH_SI, REAL8 mNS_SI, REAL8 chi_BH, REAL8 chi_NS, LALDict *extraParams, const REAL8Sequence *freqs_in, REAL8 deltaF)
@ NON_DISRUPTIVE
@ MILDLY_DISRUPTIVE_NO_TORUS_REMNANT
@ MILDLY_DISRUPTIVE_TORUS_REMNANT
@ DISRUPTIVE
static BBHPhenomNSBHParams * ComputeIMRPhenomNSBHParams(const REAL8 m1, const REAL8 m2, const REAL8 chi, const REAL8 lambda, const BBHPhenomCParams *params)
double REAL8
Definition: burst.c:245