PISM, A Parallel Ice Sheet Model  stable v2.0.6 committed by Constantine Khrulev on 2023-01-23 15:14:38 -0900

◆ compute_interp_weights()

std::vector< double > pism::IceGrid::compute_interp_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 801 of file IceGrid.cc.

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