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

Derivs: Increase imax by the stencil radius in mask for derivatives #197

Merged
merged 4 commits into from
Aug 11, 2023
Merged

Conversation

lwJi
Copy link
Contributor

@lwJi lwJi commented Aug 7, 2023

No description provided.

@eschnett
Copy link
Collaborator

eschnett commented Aug 7, 2023

Can you add some comments to the code?

@lwJi
Copy link
Contributor Author

lwJi commented Aug 8, 2023

I have added some comments for mask1

@eschnett
Copy link
Collaborator

eschnett commented Aug 8, 2023

Are you using these methods for a physics thorn? If so, can you add a test case there so that this thorn won't break in the future?

@lwJi
Copy link
Contributor Author

lwJi commented Aug 8, 2023

I have a thorn TestDerivs that I haven't pushed it. I will pushed it when everything works and add a unit test to it. The physics thorn is still using their own derivs.hxx for the moment. I will try to modify them to call the functions from Derivs/src/derivs.hxx when I'm pretty sure everything is working here.

@eschnett
Copy link
Collaborator

eschnett commented Aug 8, 2023

You could add the test thorn to this pull request, and also modify scripts/carpetx.th to include TestDerivs so that it gets tested as well.

@lwJi
Copy link
Contributor Author

lwJi commented Aug 8, 2023

I will do that

@eschnett eschnett merged commit 48752b1 into EinsteinToolkit:main Aug 11, 2023
8 checks passed
@lwJi lwJi deleted the new_mask branch August 11, 2023 20:03
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.

2 participants