PISM, A Parallel Ice Sheet Model  stable v2.0.6 committed by Constantine Khrulev on 2023-01-23 15:14:38 -0900

◆ checkCompatibility()

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

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().