Returns the intersection of two bases.
All blocks which are contained in both bases are added to the result basis. The two bases have to have the same direction and, if a block is contained in both, that block needs to have the same size in both.
References syten::STensorImpl::SBasis::add(), syten::STensorImpl::SBasis::dir(), and SYTEN_ASSERT.
Referenced by project().