-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start of BinaryWithGravitationalWaves class for XCTS #6428
base: develop
Are you sure you want to change the base?
Start of BinaryWithGravitationalWaves class for XCTS #6428
Conversation
1ca11ea
to
01eac03
Compare
- class to implement background data - superposition of two boosted black holes - no radiative content is added for now Additional BoundaryCondition class (Dirichlet): SuperposedBoostedBinary
e64e1e9
to
5f85c71
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add an example options input file for this?
docs/References.bib
Outdated
@article{Baumgarte2007ht, | ||
author = "Baumgarte, Thomas W. and Naculich, Stephen G.", | ||
title = "{Analytical representation of a black hole puncture solution}", | ||
eprint = "gr-qc/0701037", | ||
archivePrefix = "arXiv", | ||
reportNumber = "BOW-PH-138", | ||
doi = "10.1103/PhysRevD.75.067502", | ||
url = {https://doi.org/10.1103/PhysRevD.75.067502}, | ||
journal = "Phys. Rev. D", | ||
volume = "75", | ||
pages = "067502", | ||
year = "2007" | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This article is not referenced in this PR and probably a leftover from PR #6427
/*! | ||
* \brief Impose supperposed boosted binary system on the boundary. | ||
* | ||
* This takes two isolated objects and after applying a boost to each of them, | ||
* superposes them. The superposed system is then imposed on the boundary, with | ||
* Dirichlet or Neumann boundary conditions. | ||
* | ||
* \warning The Neumann boundary conditions is not yet implemented. | ||
* | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add some formulas how the superposition is carried out in practice or reference the functions that are used.
docs/References.bib
Outdated
title = "{Binary black hole initial data for numerical general relativity | ||
based on postNewtonian data}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please correct the title: "post-Newtonian"
docs/References.bib
Outdated
@@ -2593,6 +2668,21 @@ @book{ThorneBlandford2017 | |||
publisher = "Princeton University Press", | |||
} | |||
|
|||
@article{Tichy2002ec, | |||
author = "Tichy, Wolfgang and Bruegmann, Bernd and Campanelli, Manuela |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bruegmann
-> Br\"ugmann
docs/References.bib
Outdated
@@ -1318,6 +1346,21 @@ @Article{Hou2007 | |||
url = "https://doi.org/10.1007/s10915-006-9105-9" | |||
} | |||
|
|||
@article{Jaranowski1997ky, | |||
author = "Jaranowski, Piotr and Schaefer, Gerhard", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Schaefer
-> Sch\"afer
|
||
for (size_t i = 0; i < 3; ++i) { | ||
for (size_t j = 0; j <= i; ++j) { | ||
// Third order |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
comment: "Third order backwards finite difference" (over -2 alpha)
(turn_off + .5 * tanh(attenuation_parameter * | ||
(get(distance_left_t) - attenuation_radius))) * | ||
(turn_off + .5 * tanh(attenuation_parameter * | ||
(get(distance_right_t) - attenuation_radius))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
store the attenuation function so that you don't have to recompute it 20 lines below.
(turn_off + .5 * tanh(attenuation_parameter * | ||
(get(distance_left_t) - attenuation_radius))) * | ||
(turn_off + .5 * tanh(attenuation_parameter * | ||
(get(distance_right_t) - attenuation_radius))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
store the attenuation function
* The main goal of this implementation is to improve the extracted | ||
* wave forms, for example, by minimizing junk radiation. | ||
* The data is only valid for black holes without spin. Even so, there is some | ||
* work done to describe such systems that could later be implemented. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you cite this work?
} | ||
|
||
BinaryWithGravitationalWaves<IsolatedObjectBase, IsolatedObjectClasses>* | ||
BinaryWithGravitationalWaves_ptr; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here you are using Hungarian notation.
Instead
BinaryWithGravitationalWaves_ptr
-> binary_with_gravitational_waves
docs/References.bib
Outdated
@@ -2554,6 +2554,20 @@ @article{Stamm2010 | |||
volume = "79", | |||
} | |||
|
|||
@article{Steinhoff2008zr, | |||
author = "Steinhoff, Jan and Schaefer, Gerhard and Hergt, Steven", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sch\"afer
const auto auxiliar_two = tenex::evaluate<ti::I, ti::J>( | ||
inv_conformal_metric(ti::I, ti::K) * inv_conformal_metric(ti::J, ti::L) * | ||
conformal_metric(ti::k, ti::l)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is unnecessary. The result is the inverse conformal metric, which you already have!
Proposed changes
Creation of the class BinaryWithGravitationalWaves for XCTS solver, that computes initial data for binary black hole with realistic wave content.
The conformal data is obtained from a superposition of two boosted objects plus radiative content computed from Post-Newtonian Theory.
Code review checklist
make doc
to generate the documentation locally intoBUILD_DIR/docs/html
.Then open
index.html
.code review guide.
bugfix
ornew feature
if appropriate.Further comments
The radiative terms are still not computed (set to zero), they will be added in a later PR.
Supersedes past PR #5799.