PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ 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.