PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800

◆ 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.