Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ 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 798 of file Forcing.cc.

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