PISM, A Parallel Ice Sheet Model 2.2.2-d6b3a29ca committed by Constantine Khrulev on 2025-03-28
Loading...
Searching...
No Matches

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