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

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