-
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
Non-central periodic operators? #136
Comments
That's already possible by specifying a |
I'm on my phone right now so I can't check whether these give you exactly the same coefficients Ken Mattsson used in the interior but I think they should |
Thanks! Will try it out this afternoon. |
Please come back to me if there are any questions or problems. I should probably mention this feature a bit more prominently in the docs, too... |
The |
Do you use the same number of nodes? To get equivalent results, you need to use one node less for periodic operators since the right boundary node is set by periodicity. Then, you should get the same |
That completely explains it. Thanks! |
Would it be possible to support upwind/downwind stencils for periodic operators? For example, I am hoping to use the interior stencil of
Mattsson2017(:minus/:plus)
but for a periodic domain. I would very much like to take advantage of the specializedmul!
if possible.Thanks!
The text was updated successfully, but these errors were encountered: