-
Notifications
You must be signed in to change notification settings - Fork 191
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
Update CCE tutorial #6029
Update CCE tutorial #6029
Conversation
e97e4f8
to
f062058
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.
overall LGTM! A few small suggestions!
docs/Tutorials/CCE.md
Outdated
### Initial data on the null hypersurface | ||
|
||
Choosing initial data on the initial null hypersurface is a non-trivial task and | ||
is an active are of research. We want initial data that will reduce the amount |
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.
active are
-> active area
docs/Tutorials/CCE.md
Outdated
|
||
This is even more apparent if you plot the amplitude of the two waveforms. It's | ||
pretty clear which waveform is the more "physical" one. Notice that there are | ||
still some oscillations in the strain produced from sci towards the beginning |
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.
sci
-> scri
?
docs/Tutorials/CCE.md
Outdated
\image html im_h22.png "Imaginary part of 2,2 component of the strain" | ||
|
||
This is even more apparent if you plot the amplitude of the two waveforms. It's | ||
pretty clear which waveform is the more "physical" one. Notice that there are |
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.
pretty clear which waveform is the more "physical" one. Notice that there are | |
pretty clear which waveform is the more "physical" one. | |
\image html amp_im_h22.png "Amplitude of imaginary part of 2,2 component of the strain" | |
Notice that there are still some oscillations in the strain produced from scri towards | |
the beginning of the waveform (up to ~1500M). |
docs/Tutorials/CCE.md
Outdated
`Cce.Evolution.StepChoosers.Constant` option set to 0.1 for an accurate time | ||
evolution. However, if you're just testing, this can be increased to 0.5 to | ||
speed things up. | ||
- We do not recommend extracting at 100M or less due to the junk radiation |
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.
which junk radiation? CCE or Cauchy/initial 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.
Yeah 100M can be fine for certain simulation. Do we want to say something about how it might be best to run CCE for various worldtubes and then check which one is best via, e.g., bianchi identity violations?
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.
I like that suggestion! We could maybe do both? Give a estimate like "Generally, using a worldtube radius of 200M is a reasonable choice, but you should check the Bianchi identity violations to test." Do we have a scri tutorial on how to do that?
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.
Not currently! But I’ll make a PR to add it to the tutorial
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.
Cool! Thanks!
docs/Tutorials/CCE.md
Outdated
|
||
Choosing initial data on the initial null hypersurface is a non-trivial task and | ||
is an active are of research. We want initial data that will reduce the amount | ||
of junk radiation as much as possible, while also having the initial data work |
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.
of junk radiation as much as possible, while also having the initial data work | |
of CCE junk radiation as much as possible, while also having the initial data work |
docs/Tutorials/CCE.md
Outdated
This will work for many cases, but not all. But will produce the best initial | ||
data when it does work. | ||
- `InverseCubic`: Ansatz where \f$J = A/r + B/r^3\f$. This is very robust and | ||
almost never fails, but contains a lot of junk. |
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.
almost never fails, but contains a lot of junk. | |
almost never fails, but contains a lot of CCE junk radiation compare to `ConformalFactor`. |
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.
*compare -> compared
docs/Tutorials/CCE.md
Outdated
This is even more apparent if you plot the amplitude of the two waveforms. It's | ||
pretty clear which waveform is the more "physical" one. Notice that there are | ||
still some oscillations in the strain produced from sci towards the beginning | ||
of the waveform. This is caused by junk radiation from imperfect initial data on |
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.
of the waveform. This is caused by junk radiation from imperfect initial data on | |
of the waveform. This is caused by CCE junk radiation from imperfect initial data on |
docs/Tutorials/CCE.md
Outdated
pretty clear which waveform is the more "physical" one. Notice that there are | ||
still some oscillations in the strain produced from sci towards the beginning | ||
of the waveform. This is caused by junk radiation from imperfect initial data on | ||
the null hypersurface. In order to use this waveform in analysis, the junk must |
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.
the null hypersurface. In order to use this waveform in analysis, the junk must | |
the null hypersurface. In order to use this waveform in analysis, the CCE junk radiation must |
docs/Tutorials/CCE.md
Outdated
improper BMS frame that the SpECTRE CCE waveform is in. A supertranslation must | ||
be applied go transform the waveform into the correct BMS frame. See | ||
\cite Mitman2024review for a review of BMS transformations and gravitational | ||
memory. |
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.
memory. | |
memory. The plot below shows the output of SpECTRE CCE as well as the output after using scri to do | |
the BMS frame transformation (see LINK KEEFE's TUTORIAL for help with how to perform the frame fixing). |
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.
Do we want to include the example code in the scri
abd
tutorial for plotting a waveform? Or just link to it?
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.
I'm fine just linking to it but have no preference either way :)
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.
I already mention that the plot is raw CCE vs scri in the first sentence of this paragraph. I'll add the link to Keefe's tutorial here
@@ -6,152 +6,59 @@ See LICENSE.txt for details. | |||
|
|||
\tableofcontents |
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.
Maybe it's just on my end, but if I view this .md file on Kyle's branch then a lot of the commands seem broken? Like the table of contents doesn't actually load...
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.
For looking at docs, go to the checks and download the docs-html
artifact. Then I just open the html in a local browser
docs/Tutorials/CCE.md
Outdated
`Cce.Evolution.StepChoosers.Constant` option set to 0.1 for an accurate time | ||
evolution. However, if you're just testing, this can be increased to 0.5 to | ||
speed things up. | ||
- We do not recommend extracting at 100M or less due to the junk radiation |
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.
Yeah 100M can be fine for certain simulation. Do we want to say something about how it might be best to run CCE for various worldtubes and then check which one is best via, e.g., bianchi identity violations?
docs/Tutorials/CCE.md
Outdated
This will work for many cases, but not all. But will produce the best initial | ||
data when it does work. | ||
- `InverseCubic`: Ansatz where \f$J = A/r + B/r^3\f$. This is very robust and | ||
almost never fails, but contains a lot of junk. |
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.
*compare -> compared
docs/Tutorials/CCE.md
Outdated
|
||
The `Strain` represents the asymptotic transverse-traceless contribution | ||
to the metric scaled by the Bondi radius (to give the asymptotically leading | ||
part), the `News` represents the first derivative of the strain, and each |
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.
first derivative -> first time derivative
docs/Tutorials/CCE.md
Outdated
improper BMS frame that the SpECTRE CCE waveform is in. A supertranslation must | ||
be applied go transform the waveform into the correct BMS frame. See | ||
\cite Mitman2024review for a review of BMS transformations and gravitational | ||
memory. |
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.
Do we want to include the example code in the scri
abd
tutorial for plotting a waveform? Or just link to it?
docs/Tutorials/CCE.md
Outdated
|
||
This is even more apparent if you plot the amplitude of the two waveforms. It's | ||
pretty clear which waveform is the more "physical" one. Notice that there are | ||
still some oscillations in the strain produced from sci towards the beginning |
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.
produced from -> output by
docs/Tutorials/CCE.md
Outdated
still some oscillations in the strain produced from sci towards the beginning | ||
of the waveform. This is caused by junk radiation from imperfect initial data on | ||
the null hypersurface. In order to use this waveform in analysis, the junk must | ||
be cut off from the end. |
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.
end -> beginning
docs/Tutorials/CCE.md
Outdated
You are also able to see gravitational memory effects with SpECTRE CCE! This | ||
shows up in the real part of the 2,0 mode of the strain. Though you can see the | ||
memory effects in the SpECTRE CCE waveform, in order to do any analysis, you | ||
must also transform the waveform into the correct BMS frame. |
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.
into the correct -> to a more physically motivated
@keefemitman @nilsdeppe pushed a fixup |
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.
LGTM! A few minor suggestions. I'm happy for you to squash once Keefe's happy :)
The SpEC simulation is running now!
docs/Tutorials/CCE.md
Outdated
being much worse at these smaller worldtube radii. | ||
- We generally do not recommend extracting at less than 100M due to the CCE junk | ||
radiation being much worse at these smaller worldtube radii. That being said, | ||
we also recommend running CCE for several worldtube radii and check which on |
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.
and check
-> and checking
remove on
at the end
docs/Tutorials/CCE.md
Outdated
- We generally do not recommend extracting at less than 100M due to the CCE junk | ||
radiation being much worse at these smaller worldtube radii. That being said, | ||
we also recommend running CCE for several worldtube radii and check which on | ||
is the best based on the bianchi identity violations. There isn't necessarily |
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.
bianchi
-> Bianchi
?
10993f4
to
290eadc
Compare
I'm happy! |
290eadc
to
6a586c4
Compare
Proposed changes
Update the CCE tutorial to be a bit more comprehensive.
Upgrade instructions
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