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

◆ define_variable()

void pism::File::define_variable ( const std::string &  name,
io::Type  nctype,
const std::vector< std::string > &  dims 
) const

Define a variable.

Definition at line 548 of file File.cc.

References pism::RuntimeError::add_context(), m_impl, name(), pism::File::Impl::nc, and variable_name().

Referenced by pism::stressbalance::details::write(), and pism::write().