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

Templating GammaCalculator over deriv_t type #252

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

Conversation

the-florist
Copy link
Member

Changes:

  • Made the GammaCalculator class a templated class over deriv_t type, in the style of the MatterCCZ4RHS class.
  • Put the instantiations of the GammaCalculator class in the initialData functions of KerrBHLevel, ScalarFieldLevel and ApparentHorizonFinder3DTestLevel, in logic statements that change the template type based on the requested order of derivatives, as for the MatterCCZ4RHS class.
  • Note that the ApparentHorizonFinder instance of GammaCalculator was commented out, and that although I have altered these lines, I have left them commented out.

the-florist added 12 commits May 1, 2024 13:25
Made the necessary changes to GammaCalculator.hpp to template over
m_deriv, and implemented the choice over max_spatial_derivative_order
in ScalarFieldLevel.cpp/InitialData.
Added the choice over max_spatial_derivative_order and new templated
format for GammaCalculator to the KerrBH example (InitialData) and
ApparentHorizonFinderTest3DLevel.hpp InitialData function (still
commented out).
In GammaCalculator and ScalarFieldLevel, which the auto
tests for pushing to the repo complained about.
In GammaCalculator and ScalarFieldLevel, which the auto
tests for pushing to the repo complained about.
…e-florist/GRC_workspace into bugfix/GammaCalculator_deriv_template
…e-florist/GRC_workspace into bugfix/GammaCalculator_deriv_template
…e-florist/GRC_workspace into bugfix/GammaCalculator_deriv_template
…e-florist/GRC_workspace into bugfix/GammaCalculator_deriv_template
@mirenradia mirenradia linked an issue May 3, 2024 that may be closed by this pull request
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.

4th order derivative stencils hard-coded in GammaCalculator class
1 participant