PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
Loading...
Searching...
No Matches

◆ interpolation_weights()

std::vector< double > pism::Grid::interpolation_weights ( double  x,
double  y 
) const

Compute 4 interpolation weights necessary for linear interpolation from the current grid. See compute_point_neighbors for the ordering of neighbors.

Definition at line 455 of file Grid.cc.

References compute_point_neighbors(), m_impl, pism::grid::GridInfo::x, and pism::grid::GridInfo::y.