-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add functionality to find derivative recurrences from PDE (via Taylor) #202
Conversation
hirish99
commented
Jun 3, 2024
•
edited by inducer
Loading
edited by inducer
- Revised version of I want to check what goes into a pull request for sumpy #197, with better branch name (see review comments there)
|
assert val == 0 | ||
|
||
|
||
def test_recurrence_finder_laplace_three_d(): |
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.
Look into @pytest.mark.parametrize
, generalize test_recurrence_finder_laplace
to do this, too.
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.
I am not sure if it is worth parametrizing these tests since every pde recurrence test requires a different coefficient producing function to check our answers.
sumpy/recurrence.py
Outdated
""" | ||
|
||
|
||
def get_pde_in_recurrence_form(laplace): |
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.
Maybe think about what additional unit tests might make sense (for the constituent functions).
@@ -0,0 +1,348 @@ | |||
""" | |||
.. autofunction:: get_pde_in_recurrence_form |
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.
Maybe add some narrative here on how this works.
Closing, superseded by #204. |