Loading [MathJax]/jax/input/TeX/config.js
PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ set_name()

void pism::array::Array::set_name ( const std::string &  name)

Sets the variable name to name.

This is the "overall" name of a field. This is not the same as the NetCDF variable name. Use metadata(...).set_name(...) to set that.

Definition at line 342 of file Array.cc.

References m_impl, and pism::array::Array::Impl::name.

Referenced by pism::energy::CHSystem::CHSystem(), pism::energy::compute_cts(), pism::energy::compute_liquid_water_fraction(), pism::energy::EnergyModel::init_enthalpy(), pism::array::Vector::Vector(), and pism::array::Vector::Vector().