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

◆ 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 115 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().