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

◆ checkCompatibility()

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

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

Definition at line 623 of file Array.cc.

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

Referenced by add().