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

◆ initialize()

void pism::OutputWriter::initialize ( const std::set< VariableMetadata > &  array_variables,
bool  relaxed_mode = false 
)

Initialize the output writer. The set array_variables contains all array variables that may be written to output files (not necessarily to the same output file).

This initialization step allows an OutputWriter implementation to use grid information for all distributed arrays to setup up communication between "computational" and "I/O" MPI ranks.

Definition at line 164 of file OutputWriter.cc.

References add_variable(), initialize_impl(), m_impl, and pism::OutputWriter::Impl::relaxed_mode.