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

◆ interp() [2/2]

void pism::array::Forcing::interp ( int  i,
int  j,
std::vector< double > &  result 
)

Compute values of the time-series using precomputed indices (and piece-wise constant or piece-wise linear interpolation).

Parameters
i,jmap-plane grid point
resultpointer to an allocated array of the size matching the one passed to init_interpolation()

Definition at line 811 of file Forcing.cc.

References array3(), pism::array::Forcing::Data::interp, and m_data.