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

◆ flatten()

int pism::fem::ElementIterator::flatten ( int  i,
int  j 
)
inline

Convert an element index (i,j) into a flattened (1-d) array index, with the first element (i, j) to be iterated over corresponding to flattened index 0.

Definition at line 70 of file ElementIterator.hh.

References xm, xs, and ys.