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

◆ m_invalid_dof

const int pism::fem::Element::m_invalid_dof = -1073741824
staticprotected

Constant for marking invalid row/columns.

Has to be negative because MatSetValuesBlockedStencil supposedly ignores negative indexes. Seems like it has to be negative and below the smallest allowed index, i.e. -2 and below with the stencil of width 1 (-1 is an allowed index). We use -2^30 and don't use PETSC_MIN_INT, because PETSC_MIN_INT depends on PETSc's configuration flags.

Definition at line 152 of file Element.hh.

Referenced by pism::fem::Element3::add_contribution(), pism::fem::Element2::add_contribution(), mark_col_invalid(), and mark_row_invalid().