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

◆ already_written()

bool & pism::OutputWriter::already_written ( const std::string &  file_name,
const std::string &  variable_name,
bool  time_dependent 
)
protected

Return true if variable variable_name was already written to the file file_name. Used to avoid writing coordinate variables and time-independent 2D and 3D arrays more than once.

Definition at line 146 of file OutputWriter.cc.

References m_impl, pism::OutputWriter::Impl::written_time_dependent, and pism::OutputWriter::Impl::written_time_independent.

Referenced by write_dimensions(), write_distributed_array(), and write_experiment_id().