-
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 heat kernel #185
base: main
Are you sure you want to change the base?
Add heat kernel #185
Conversation
sumpy/kernel.py
Outdated
@@ -933,6 +933,49 @@ def get_pde_as_diff_op(self): | |||
return laplacian(w) | |||
|
|||
|
|||
class GaussTransformKernel(ExpressionKernel): |
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.
Add docstring? Hook into docs?
sumpy/kernel.py
Outdated
class GaussTransformKernel(ExpressionKernel): | ||
init_arg_names = ("dim",) | ||
|
||
def __init__(self, dim, gauss_delta_name="delta"): |
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.
Could you add a P2P test to ensure it satisfies the PDE? (Given that
@inducer, this is ready for a review. I will add more tests as a follow up PR. |
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.
Thx! Two minor things, otherwise ready to go.
Co-authored-by: Andreas Klöckner <[email protected]>
No description provided.