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

◆ cast()

template<class T >
static std::shared_ptr< T > pism::array::cast ( std::shared_ptr< Array input)
static

std::dynamic_pointer_cast wrapper that checks if the cast succeeded.

Definition at line 316 of file Array.hh.

References PISM_ERROR_LOCATION.