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

Add interpolations #16

Merged
merged 8 commits into from
Mar 27, 2024
Merged

Add interpolations #16

merged 8 commits into from
Mar 27, 2024

Conversation

utkinis
Copy link
Member

@utkinis utkinis commented Mar 27, 2024

This PR adds functionality to interpolate between different staggered grid locations. At current stage, only weighted arithmetic and weighted harmonic interpolation rules are defined. All interpolation functionality is exposed through itp function. Shortcuts for linear and harmonic linear interpolations are provided (lerp and hlerp functions, respectively).

@utkinis utkinis merged commit f7a5415 into main Mar 27, 2024
9 checks passed
@utkinis utkinis deleted the iu/interpolations branch March 27, 2024 15:35
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.

2 participants