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

◆ keys()

std::set< std::string > pism::Vars::keys ( ) const

Returns the set of keys (variable names) in the dictionary.

Provides one (short) name per variable.

This means that one can safely iterate over these keys, reading, writing, displaying or de-allocating variables (without worrying that a variable will get written or de-allocated twice).

Definition at line 200 of file Vars.cc.

References m_variables, and m_variables_shared.