Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adding adaptive moving puncture. The initial request contains 3 commits:
Passing cell coordinate to CCZ4RHS and MovingPunctureGauge
This commit passes the cell coordinate object to the CCZ4RHS and subsequently the gauge. It is expected to be compatible with the original main branch (commit #a48c11813e861578deeb27c289c1583987442c69) since no actual change is made in the computation.
Change MovingPunctureGauge class to use adaptive gaussian around each puncture
Add gaussian smoothing to advection coefficient according to the puncture masses. This commit is not expected to be compatible with the default behaviour, which assumes eta to be constant throughout the whole simulation domain. I think there should be a way to switch on and off this adaptive behaviour. A better way to define this will be making a new gauge class, however, I failed to compile the code when I create a new gauge class and try to pass it to
CCZ4RHS<>{}
in BinaryBHLevel.cpp. It complains about the need to use the original MovingPunctureGauge params, which is not defined in the new gauge class.Update MovingPunctureGauge adaptive parameters in BinaryBHLevel.cpp
Make corresponding changes in BinaryBHLevel.cpp to update the puncture location in the gauge during the simulation.