Skip to content
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

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

joaorebelo-megum
Copy link
Contributor

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

  • The code is documented and the documentation renders correctly. Run
    make doc to generate the documentation locally into BUILD_DIR/docs/html.
    Then open index.html.
  • The code follows the stylistic and code quality guidelines listed in the
    code review guide.
  • The PR lists upgrade instructions and is labeled bugfix or
    new 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.

@joaorebelo-megum joaorebelo-megum force-pushed the BinaryWithGravitationalWaves_first branch 3 times, most recently from 1ca11ea to 01eac03 Compare January 24, 2025 15:43
- class to implement background data
- superposition of two boosted black holes
- no radiative content is added for now

Additional BoundaryCondition class (Dirichlet): SuperposedBoostedBinary
@joaorebelo-megum joaorebelo-megum force-pushed the BinaryWithGravitationalWaves_first branch from e64e1e9 to 5f85c71 Compare January 26, 2025 18:17
Copy link
Contributor

@hrueter hrueter left a 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?

Comment on lines 185 to 198
@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"
}

Copy link
Contributor

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

Comment on lines 34 to 41
/*!
* \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.
*
*/
Copy link
Contributor

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.

Comment on lines 2674 to 2688
title = "{Binary black hole initial data for numerical general relativity
based on postNewtonian data}",
Copy link
Contributor

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"

@@ -2593,6 +2668,21 @@ @book{ThorneBlandford2017
publisher = "Princeton University Press",
}

@article{Tichy2002ec,
author = "Tichy, Wolfgang and Bruegmann, Bernd and Campanelli, Manuela
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bruegmann -> Br\"ugmann

@@ -1318,6 +1346,21 @@ @Article{Hou2007
url = "https://doi.org/10.1007/s10915-006-9105-9"
}

@article{Jaranowski1997ky,
author = "Jaranowski, Piotr and Schaefer, Gerhard",
Copy link
Contributor

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
Copy link
Contributor

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)

Comment on lines 391 to 394
(turn_off + .5 * tanh(attenuation_parameter *
(get(distance_left_t) - attenuation_radius))) *
(turn_off + .5 * tanh(attenuation_parameter *
(get(distance_right_t) - attenuation_radius)));
Copy link
Contributor

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.

Comment on lines 458 to 461
(turn_off + .5 * tanh(attenuation_parameter *
(get(distance_left_t) - attenuation_radius))) *
(turn_off + .5 * tanh(attenuation_parameter *
(get(distance_right_t) - attenuation_radius)));
Copy link
Contributor

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.
Copy link
Contributor

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;
Copy link
Contributor

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

@hrueter hrueter requested a review from nilsvu February 3, 2025 19:41
@@ -2554,6 +2554,20 @@ @article{Stamm2010
volume = "79",
}

@article{Steinhoff2008zr,
author = "Steinhoff, Jan and Schaefer, Gerhard and Hergt, Steven",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sch\"afer

Comment on lines 172 to 174
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));
Copy link
Contributor

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants