def _cellN(self, p):
        p = self._asPointer(p)
        return [hi[:p[ii]].sum() for ii, hi in enumerate(self.h)]
Override match() to insist on a leaf node.
dataset/ETHPy150Open simpeg/simpeg/SimPEG/Mesh/TreeMesh.py/TreeMesh._cellN--crossover with--dataset/ETHPy150Open ctxis/canape/CANAPE.Scripting/Lib/lib2to3/pytree.py/LeafPattern.match