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

Unify derivatives between CarpetX and SpacetimeX. #2

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions Weyl/interface.ccl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ USES INCLUDE HEADER: ten3.hxx
USES INCLUDE HEADER: vec.hxx
USES INCLUDE HEADER: vect.hxx

INHERITS: Derivs
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is already done.


USES INCLUDE HEADER: derivs.hxx



# TODO: Declare these variables without ghost zones?
Expand Down
358 changes: 0 additions & 358 deletions Weyl/src/derivs.hxx

This file was deleted.

4 changes: 4 additions & 0 deletions Z4c/interface.ccl
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ USES INCLUDE HEADER: sum.hxx
USES INCLUDE HEADER: vec.hxx
USES INCLUDE HEADER: vect.hxx

INHERITS: Derivs

USES INCLUDE HEADER: derivs.hxx



CCTK_INT FUNCTION GetCallFunctionCount()
Expand Down
5 changes: 0 additions & 5 deletions Z4c/param.ccl
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,3 @@ CCTK_REAL alphaG_floor "Floor for alphaG" STEERABLE=always
{
(0:* :: ""
} 1.0e-10

CCTK_REAL epsdiss "Dissipation coefficient <arXiv:gr-qc/0610128>" STEERABLE=always
{
0.0:* :: ""
} 0.32
Loading