PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

◆ 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 631 of file Grid.cc.

References compute_point_neighbors(), m_impl, pism::Grid::Impl::x, and pism::Grid::Impl::y.