Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

◆ get()

const array::Array * pism::Vars::get ( const std::string &  name) const

Returns a pointer to an array::Array containing variable name or NULL if that variable was not found.

Checks standard_name first, then short name

Definition at line 123 of file Vars.cc.

References pism::RuntimeError::formatted(), get_internal(), and PISM_ERROR_LOCATION.

Referenced by pism::get_().