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

◆ inc_state_counter()

void pism::array::Array::inc_state_counter ( )

Increment the object state counter.

See the documentation of get_state_counter(). This method is the only way to manually increment the state counter. It is also automatically updated by Array methods that are known to change stored values.

Definition at line 151 of file Array.cc.

References m_impl, and pism::array::Array::Impl::state_counter.

Referenced by add(), pism::array::apply_mask(), pism::energy::compute_cts(), pism::energy::compute_enthalpy(), pism::energy::compute_enthalpy_cold(), pism::energy::compute_liquid_water_fraction(), pism::array::compute_magnitude(), pism::energy::compute_temperature(), pism::array::Array3D::copy_from(), pism::array::Staggered::copy_from(), get_from_proc0(), read(), regrid(), scale(), set(), set_dof(), shift(), pism::bed::LingleClark::step(), and pism::bed::PointwiseIsostasy::update_impl().