PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

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