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

◆ add_variable()

void pism::OutputWriter::add_variable ( const VariableMetadata metadata)
protected

Add a variable to the list of variables that can be written to output files.

This has to be done before a spatial variable is defined in an output file.

Parameters
[in]metadatavariable metadata (name, attributes, grid info, etc)

Definition at line 281 of file OutputWriter.cc.

References m_impl, and pism::OutputWriter::Impl::variables.

Referenced by define_variable(), and initialize().