PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
Loading...
Searching...
No Matches

◆ 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 109 of file Diagnostic.hh.

References pism::k, m_grid, and m_vars.