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

◆ 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 318 of file Array.hh.

References PISM_ERROR_LOCATION.