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

◆ prune_diagnostics()

void pism::IceModel::prune_diagnostics ( )
protectedvirtual

De-allocate diagnostics that were not requested.

Checks viewers, -extra_vars, -checkpoint, -save_vars, and regular output.

FIXME: I need to make sure that these reporting mechanisms are active. It is possible that variables are on a list, but that list is not actually used.

Definition at line 990 of file IceModel.cc.

References pism::combine(), pism::RuntimeError::formatted(), pism::join(), m_checkpoint_vars, m_config, m_diagnostics, m_extra_vars, m_log, m_output_vars, m_snapshot_vars, m_ts_diagnostics, m_ts_filename, m_ts_vars, PISM_ERROR_LOCATION, pism::set_split(), and pism::warn_about_missing().

Referenced by run().