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

Find derivative recurrences from PDE (via parametric derivative taking) #204

Open
wants to merge 143 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
143 commits
Select commit Hold shift + click to select a range
ebdc6c0
Create recurrence.py - Feedback requested
hirish99 Jun 3, 2024
d5aac5e
Hackin with Andreas
inducer Jun 3, 2024
da538df
Fix all flake8 issues
hirish99 Jun 4, 2024
a172fb9
Flake8 Issues
hirish99 Jun 4, 2024
1ef4f3c
Flake8 Docstring Issue
hirish99 Jun 7, 2024
75be400
Fix pylint issues
hirish99 Jun 7, 2024
5116612
Add test for Laplace2D
hirish99 Jun 17, 2024
63531c0
Add test Laplace3D
hirish99 Jun 18, 2024
a85dade
Flake8
hirish99 Jun 18, 2024
412e1fe
Work on improving docs
inducer Jun 24, 2024
6476f0b
Make function for producing recurrence from pde
hirish99 Jun 25, 2024
19b5a39
Update documentation
hirish99 Jun 26, 2024
3417a8d
List comprehension
hirish99 Jun 27, 2024
2195ed0
From hardcode to loop
hirish99 Jun 27, 2024
c0e3f30
Added get_recurrence_order
hirish99 Jul 1, 2024
a814284
Unit test for order
hirish99 Jul 1, 2024
c4dd7c9
Flake8
hirish99 Jul 1, 2024
f095401
Update get_recurrence_order
hirish99 Jul 1, 2024
77776f9
Add parametric recurrence finder
hirish99 Jul 10, 2024
ba6d408
Update recurrence.py
hirish99 Jul 10, 2024
01a4d06
Added tests for parametric
hirish99 Jul 10, 2024
2c912b9
Add function skeletons
hirish99 Jul 10, 2024
92d3bec
Remove all documentation
hirish99 Jul 10, 2024
8f6e248
Added documentation
hirish99 Jul 10, 2024
d9b6777
Update recurrence.py
hirish99 Jul 10, 2024
7102511
Update recurrence.py
hirish99 Jul 10, 2024
b3d74f8
Update recurrence.py
hirish99 Jul 10, 2024
c2432dd
Slight mistake in documentation
hirish99 Jul 12, 2024
a174f46
Added narrative
hirish99 Jul 14, 2024
0d3728b
Flake - narrative
hirish99 Jul 14, 2024
175cbe9
Added helmholtz unit test
hirish99 Jul 15, 2024
d35e381
Documentation tweaks
inducer Jul 15, 2024
c0ffbf7
Documentation
hirish99 Jul 15, 2024
c13027c
Code clarity fixes
inducer Jul 17, 2024
c7e2ac7
Replaced n_derivs with ode_order
hirish99 Jul 17, 2024
99a658f
Update documentation for sphinx
hirish99 Jul 17, 2024
a6b03af
Format documentation for ode_in_x_to_coeff_array
hirish99 Jul 18, 2024
66ce160
Re-request tmrw mrning
hirish99 Jul 18, 2024
471342b
Flake 8/pylint
hirish99 Jul 19, 2024
ffff865
Typos and clarification to docs
hirish99 Jul 22, 2024
4e09ed0
Review: code quality, denominator clearing
inducer Jul 22, 2024
bfa8372
Check if ode_in_x is truly cleared
hirish99 Jul 24, 2024
e363248
Hacking during meeting
inducer Jul 29, 2024
1f30567
Flake8
hirish99 Aug 6, 2024
eef4e78
Pylint/Flake8
hirish99 Aug 6, 2024
52b3852
Update recurrence.py
hirish99 Aug 7, 2024
ee23f65
Update recurrence.py
hirish99 Aug 7, 2024
6df8870
Added function to process recurrence relation
hirish99 Aug 12, 2024
05a46ab
Shift recurrence so origin at expansion center
hirish99 Sep 2, 2024
8469835
Added flag to process_recurrence_relation, removed hardcode
hirish99 Sep 9, 2024
aa1b651
Added 2 additional functions for generating hardcoded expressions
hirish99 Sep 9, 2024
4ded696
sp.cancel
hirish99 Sep 12, 2024
2e615f0
Added recurrence+qbx code
hirish99 Oct 28, 2024
ab46c10
Separate file/move to test file
hirish99 Oct 30, 2024
aa1dab0
Remove outdated code recurrence
hirish99 Oct 31, 2024
52a859d
Renamed function for clarity
hirish99 Oct 31, 2024
473d714
Update recurrence.py
hirish99 Nov 1, 2024
cdd85ad
Added 1 test
hirish99 Nov 3, 2024
8beb851
Update playground.ipynb
hirish99 Nov 3, 2024
4784475
Added helmholtz3d test
hirish99 Nov 3, 2024
c7f7be7
Laplace3D test
hirish99 Nov 3, 2024
3bbd2f3
Check Helmholtz2D
hirish99 Nov 3, 2024
a33bd51
Added helmholtz2D test
hirish99 Nov 4, 2024
310df00
Make recurrenceqbx general
hirish99 Nov 4, 2024
e08fd82
Helmholtz not checked
hirish99 Nov 4, 2024
dcd96e7
Ruff formatting
hirish99 Nov 4, 2024
f79b6d9
Formatting
hirish99 Nov 4, 2024
b0a6c0f
Delete playground.ipynb
hirish99 Nov 4, 2024
e4627fd
Updated helmholtz2d to deal with inefficiecy
hirish99 Nov 4, 2024
81e1fb6
Update recurrence.py
hirish99 Nov 4, 2024
b3d17eb
Update test_recurrenceqbx.py
hirish99 Nov 4, 2024
044bede
Update test_recurrenceqbx.py
hirish99 Nov 4, 2024
ebb2422
Update test_recurrenceqbx.py
hirish99 Nov 4, 2024
60fc51d
Minor style fixes
inducer Nov 4, 2024
a7e685e
Remove function invocations from test
inducer Nov 4, 2024
e1a1c03
Added license/copyright
hirish99 Nov 4, 2024
e52b79a
Remove looping helmholtz3d
hirish99 Nov 4, 2024
a1f011f
Looped all test code
hirish99 Nov 4, 2024
233d3e7
Error
hirish99 Nov 7, 2024
2abe998
Update playground.ipynb
hirish99 Nov 7, 2024
d7fd6ba
Added normals, need center
hirish99 Nov 9, 2024
f0e9102
Added 3d code for sphere generation
hirish99 Nov 9, 2024
99c48fc
Delete playground.ipynb
hirish99 Nov 9, 2024
5c0c45b
Formatted code
hirish99 Nov 9, 2024
4249d8b
Debug why laplace3d doesn't agree past order 0
hirish99 Nov 9, 2024
16a2b17
Damn bug still persists
hirish99 Nov 9, 2024
df49970
Issue is not with my code
hirish99 Nov 10, 2024
db67135
Passing Laplace3D
hirish99 Nov 11, 2024
6364e53
Added helmholtz3d tests, formatted
hirish99 Nov 11, 2024
3c4845b
Update based on suggestions
hirish99 Nov 13, 2024
2f34622
Experiments show the recurrence falls apart when the source is close …
hirish99 Nov 17, 2024
1970304
Push source away from center
hirish99 Nov 17, 2024
b06d2dc
Recurrence by itself is fine
hirish99 Nov 21, 2024
efc4793
Recurrence doesn't perform poorly when r->0, but rather ratio. of co…
hirish99 Nov 21, 2024
0ffef66
Extremely odd error behavior for close source-target points
hirish99 Nov 21, 2024
9768c90
Update modified_recur.ipynb
hirish99 Nov 21, 2024
f6a31f6
Isolated floating point computation that leads to steep error
hirish99 Nov 22, 2024
eb2eb65
Catastrophic cancellation source of error
hirish99 Nov 22, 2024
ef8f0f6
Lambdification not the issue
hirish99 Nov 23, 2024
39d6c84
Much more error in recurrence+qbx vs recurrence only???
hirish99 Nov 23, 2024
25b1edc
Cone of innacuracy
hirish99 Nov 24, 2024
8cc1124
possible tarylor exp in x0 could avoid cat can
hirish99 Nov 24, 2024
3f667e0
Update modified_recur.ipynb
hirish99 Nov 25, 2024
af5a170
spec formula no go
hirish99 Nov 25, 2024
d4d818e
Odd-Even Recurrence
hirish99 Nov 29, 2024
20d7071
Try with dictionary first
hirish99 Nov 30, 2024
cd2096e
Odd-Even Ideas
hirish99 Nov 30, 2024
cfdc52d
Use new subs recur
hirish99 Nov 30, 2024
f317bf3
Heat map for error
hirish99 Dec 1, 2024
0f94ee4
Heat map updated
hirish99 Dec 1, 2024
6f86adc
Helmholtz Recurrence Error
hirish99 Dec 2, 2024
c0965cd
Created notebook to perform recurrence on taylor series
hirish99 Dec 6, 2024
0a23e4f
Create function that gives recurrence expression equal to 0
hirish99 Dec 14, 2024
6461214
Poly in s(n) and x_0
hirish99 Dec 16, 2024
71274c4
Code to produce general recurrence done
hirish99 Dec 16, 2024
d16b900
Remove all failed attempts
hirish99 Dec 20, 2024
427cf03
Want higher order
hirish99 Dec 20, 2024
576993d
Make evaluate_recurrence_lamb take n_initial, n_order
hirish99 Dec 21, 2024
adaf9c0
Why are the Laplace/Helmhotlz errors so similar?
hirish99 Dec 22, 2024
ea51a1b
hirish99 Dec 22, 2024
68cf84f
Plot Odd/Even Error
hirish99 Dec 23, 2024
080bcfe
Update plot_normal_recurrence.ipynb
hirish99 Dec 23, 2024
11f0e31
Stickw grid
hirish99 Dec 23, 2024
587504d
Produce plots next time
hirish99 Dec 28, 2024
bc24ab2
Code up evaluation of grid_recurrence
hirish99 Dec 29, 2024
c0cf35c
Update plot_taylor_recurrence.ipynb
hirish99 Jan 1, 2025
ca86b25
Added code to compute taylor lp. Need plot now
hirish99 Jan 1, 2025
f74e8ed
Produced plot
hirish99 Jan 1, 2025
b3364f8
Plot working
hirish99 Jan 2, 2025
b48fffc
More does not equal better for taylor recurrence
hirish99 Jan 2, 2025
de7a390
Bug in create_subs_grid
hirish99 Jan 3, 2025
c5b598b
Debugged, now investigate k!=1
hirish99 Jan 3, 2025
56041c1
Improve naming
hirish99 Jan 3, 2025
899fb43
Added recurrence_grid
hirish99 Jan 3, 2025
35ae5c1
Fix up documentation
hirish99 Jan 3, 2025
c75adeb
Added more documentation to grid_recurrence
hirish99 Jan 7, 2025
edb8547
Don't know how to rigoroulsly check
hirish99 Jan 7, 2025
12dfa17
Problematic error increasing as order increases
hirish99 Jan 8, 2025
46335f8
Plot changes
hirish99 Jan 14, 2025
24262ea
Added additional notebook
hirish99 Jan 25, 2025
e33c5c3
Update testing_pde_to_ode.ipynb
hirish99 Jan 26, 2025
9ab8efd
Update testing_pde_to_ode.ipynb
hirish99 Jan 27, 2025
21bb2e4
Update testing_pde_to_ode.ipynb
hirish99 Feb 6, 2025
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
5 changes: 5 additions & 0 deletions doc/expansion.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@ Estimating Expansion Orders
---------------------------

.. automodule:: sumpy.expansion.level_to_order

Recurrences
-----------

.. automodule:: sumpy.recurrence
Loading
Loading