Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
lalsuite
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lscsoft
lalsuite
Commits
84e33fa7
Commit
84e33fa7
authored
2 years ago
by
Jonathan Thompson
Browse files
Options
Downloads
Patches
Plain Diff
removing debug output and fixing memory leak
parent
44210e7e
No related branches found
No related tags found
1 merge request
!2122
Add IMRPhenomXO4a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lalsimulation/lib/LALSimIMRPhenomX_AntisymmetricWaveform.c
+3
-5
3 additions, 5 deletions
lalsimulation/lib/LALSimIMRPhenomX_AntisymmetricWaveform.c
with
3 additions
and
5 deletions
lalsimulation/lib/LALSimIMRPhenomX_AntisymmetricWaveform.c
+
3
−
5
View file @
84e33fa7
...
...
@@ -436,7 +436,7 @@ IMRPhenomX_UsefulPowers powers_of_lalpi;
const
double
eta
=
pWF
->
eta
;
const
double
MfRD
=
pWF
->
fRING
;
// const double MfRD = XLALSimPhenomUtilsHztoMf(fRD, M);
const
double
theta
=
pWF
->
theta_antisymmetric
*
LAL_PI
/
180
;
const
double
theta
=
pWF
->
theta_antisymmetric
*
LAL_PI
/
180
.
0
;
const
double
Chi
=
pPrec
->
chi_singleSpin_antisymmetric
;
/* coefficients for phenemenological fit of amplitude ratio in PN-NR transition*/
...
...
@@ -447,10 +447,6 @@ IMRPhenomX_UsefulPowers powers_of_lalpi;
double
b
=
b0
+
b1
*
eta
+
b2
*
theta
+
b3
*
eta
*
theta
;
FILE
*
fp5
=
fopen
(
"debugfile.txt"
,
"w"
);
fprintf
(
fp5
,
"%f"
,
m2
);
fclose
(
fp5
);
const
double
vRD
=
cbrt
(
LAL_PI
*
MfRD
*
(
2
.
0
/
2
.
0
)
);
const
double
kappaPNRD
=
(
21
*
vRD
*
vRD
*
(
1
+
delta
)
*
Chi
*
sin
(
theta
))
/
(
2
*
(
42
+
vRD
*
vRD
*
(
55
*
eta
-
107
))
+
vRD
*
vRD
*
vRD
*
(
84
*
LAL_PI
-
28
*
(
1
+
delta
-
eta
)
*
Chi
*
cos
(
theta
)));
const
double
kappaRD
=
kappaPNRD
*
(
1
+
b
*
vRD
*
vRD
*
vRD
*
vRD
*
vRD
);
...
...
@@ -581,6 +577,8 @@ IMRPhenomX_UsefulPowers powers_of_lalpi;
*
phi_A0
=
pPrec
->
alpha_offset
;
*
phi_B0
=
alpha_MfT
-
phi_MfT
/
2
+
*
A0
*
MfT
+
*
phi_A0
;
LALFree
(
alphaParams
);
return
XLAL_SUCCESS
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment