PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
Loading...
Searching...
No Matches

◆ deallocate_unused_diagnostics()

void pism::IceModel::deallocate_unused_diagnostics ( )
protected

De-allocate diagnostics that were not requested.

Checks viewers, -spatial_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 3810 of file diagnostics.cc.

References pism::combine(), m_available_spatial_diagnostics, m_checkpoint_vars, m_config, m_log, m_output_vars, m_snapshot_vars, m_spatial_vars, pism::set_split(), and pism::warn_about_missing().

Referenced by init_outputs().