PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

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