-
Notifications
You must be signed in to change notification settings - Fork 50
Grid Spline
Sam Reeve edited this page Sep 12, 2024
·
2 revisions
Cabana::Grid provides the B-Spline related interfaces for interpolation with uniform grids. The supported orders are:
- 0 — Nearest Grid Point Interpolation
- 1 — Linear
- 2 — Quadratic
- 3 — Cubic
using value_type = double;
constexpr int order = 2;
Cabana::Grid::SplineData<value_type, order, Cabana::Grid::Node> sd_n;
Cabana::Grid::evaluateSpline(local_mesh, x, sd_n);
This is part of the Programming Guide series
Cabana - A Co-Designed Library for Exascale Particle Simulations