PISM, A Parallel Ice Sheet Model

◆ checkCompatibility()

void pism::IceModelVec::checkCompatibility ( const char *  function,
const IceModelVec other 
) const
protected

Checks if two IceModelVecs have compatible sizes, dimensions and numbers of degrees of freedom.

Definition at line 599 of file iceModelVec.cc.

References pism::IceModelVec::Impl::dof, pism::RuntimeError::formatted(), m_impl, pism::IceModelVec::Impl::name, PISM_CHK, PISM_ERROR_LOCATION, and vec().

Referenced by add().