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

◆ allocate()

template<typename T >
std::shared_ptr< T > pism::Diagnostic::allocate ( const std::string &  name) const
inlineprotected

Allocate storage for an array of type T and copy metadata from m_vars.

Definition at line 105 of file Diagnostic.hh.

References pism::k, m_grid, and m_vars.