PISM, A Parallel Ice Sheet Model

◆ cast()

template<class T >
static T::Ptr pism::IceModelVec::cast ( IceModelVec::Ptr  input)
inlinestatic

dynamic_pointer_cast wrapper that checks if the cast succeeded.

Definition at line 211 of file iceModelVec.hh.

References PISM_ERROR_LOCATION.