-
Notifications
You must be signed in to change notification settings - Fork 8
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
Unify derivatives between CarpetX and SpacetimeX. #2
base: main
Are you sure you want to change the base?
Conversation
(1) Discard existing derivs.hxx and derivs.cxx (2) Merge z4c and weyl derivs.hxx (3) move epsdiss to Derivs
@@ -695,7 +695,8 @@ Numerical/AEILocalInterp | |||
# CarpetX thorns | |||
!TARGET = $ARR | |||
!TYPE = git | |||
!URL = https://github.com/eschnett/CarpetX.git |
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 convenient for testing, but this shouldn't be merged.
@@ -15,6 +15,10 @@ USES INCLUDE HEADER: ten3.hxx | |||
USES INCLUDE HEADER: vec.hxx | |||
USES INCLUDE HEADER: vect.hxx | |||
|
|||
INHERITS: Derivs |
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.
INHERITS
is for grid functions, but we don't need any grid functions from Derivs
.
To ensure that the derivative operators are actually present, thorn Derivs
needs to provide a capability Derivs
, and thorns Weyl
and Z4c
need to requires that derivative. Both are handled in the respective configuration.ccl
files.
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 already done.
@@ -695,7 +695,8 @@ Numerical/AEILocalInterp | |||
# CarpetX thorns | |||
!TARGET = $ARR | |||
!TYPE = git | |||
!URL = https://github.com/eschnett/CarpetX.git |
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 split this into three pull requests instead of two?
- Add new capabilities (and tests) to thorn
Derivs
- Switch over thorns
Weyl
andZ4c
- Clean up
CarpetX
This will allow the changes to be tested and reviewed independently.
(1) Discard existing derivs.hxx and derivs.cxx
(2) Merge z4c and weyl derivs.hxx
(3) move epsdiss to Derivs