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

Add functionality to find derivative recurrences from PDE (via Taylor) #202

Closed
wants to merge 22 commits into from

Conversation

hirish99
Copy link
Contributor

@hirish99 hirish99 commented Jun 3, 2024

@inducer
Copy link
Owner

inducer commented Jun 3, 2024

@hirish99 hirish99 closed this Jun 3, 2024
@hirish99 hirish99 reopened this Jun 3, 2024
@inducer inducer changed the title Create recurrence.py - Feedback requested Add functionality to find derivative recurrences from PDE Jun 3, 2024
assert val == 0


def test_recurrence_finder_laplace_three_d():
Copy link
Owner

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.

Copy link
Contributor Author

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 Show resolved Hide resolved
sumpy/recurrence.py Show resolved Hide resolved
sumpy/recurrence.py Show resolved Hide resolved
"""


def get_pde_in_recurrence_form(laplace):
Copy link
Owner

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).

sumpy/recurrence.py Outdated Show resolved Hide resolved
@@ -0,0 +1,348 @@
"""
.. autofunction:: get_pde_in_recurrence_form
Copy link
Owner

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.

sumpy/recurrence.py Outdated Show resolved Hide resolved
@hirish99 hirish99 requested a review from inducer July 10, 2024 04:15
@inducer inducer changed the title Add functionality to find derivative recurrences from PDE Add functionality to find derivative recurrences from PDE (via Taylor) Jul 15, 2024
@inducer
Copy link
Owner

inducer commented Jul 15, 2024

Closing, superseded by #204.

@inducer inducer closed this Jul 15, 2024
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