PISM, A Parallel Ice Sheet Model 2.3.0-79cae578d committed by Constantine Khrulev on 2026-03-22
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 575 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().