PISM, A Parallel Ice Sheet Model  stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900

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