Loading [MathJax]/extensions/tex2jax.js
PISM, A Parallel Ice Sheet Model 2.2.1-cd005eec8 committed by Constantine Khrulev on 2025-03-07
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages

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