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

Added "Nearest" interp method for AMR grid, both in regular and irreg… #278

Merged
merged 6 commits into from
Sep 19, 2024

Conversation

alhom
Copy link
Contributor

@alhom alhom commented Sep 18, 2024

…ular cases; returns containing AMR grid cell piecewise constant value. "Nearest" is a slight misnomer for irregular grid, though, but this is more intuitive.

…ular cases; returns containing AMR grid cell piecewise constant value. "Nearest" is a slight misnomer for irregular grid, though, but this is more intuitive.
@alhom
Copy link
Contributor Author

alhom commented Sep 18, 2024

Quick check with
read_interpolated_variable("proton/vg_rho",crds,method="Linear")
vs
read_interpolated_variable("proton/vg_rho",crds,method="Nearest")

image

@alhom alhom marked this pull request as ready for review September 19, 2024 07:51
@alhom alhom merged commit 16b388f into fmihpc:master Sep 19, 2024
6 checks passed
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