Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ prepend_history()

void pism::IceModel::prepend_history ( const std::string &  string)
protectedvirtual

Get time and user/host name and add it to the given string.

Definition at line 114 of file utilities.cc.

References pism::VariableMetadata::get_string(), m_grid, m_output_global_attributes, pism::VariableMetadata::set_string(), and pism::username_prefix().

Referenced by model_state_setup(), process_signals(), and save_results().