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

Now can choose number of interpolation points #621

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mh-guo
Copy link
Collaborator

@mh-guo mh-guo commented Dec 6, 2024

The SphericalGrid uses 2*ng as the number of interpolation points along each dimension. When the ng is large and the interpolated variable is not smooth, this may cause Runge's phenomenon. This PR sets the number of interpolation points as a free parameter. User can set it by calling, say, SphericalGrid(pmbp, nlevel, radius, ninterp)

@mh-guo mh-guo marked this pull request as draft December 6, 2024 18:07
@mh-guo mh-guo requested a review from HengruiZhu99 December 6, 2024 18:07
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.

1 participant