RectPartition.has_isotropic_cells

property RectPartition.has_isotropic_cells

True if grid is uniform and cell_sides are all equal.

Always True for 1D partitions.

Examples

>>> part = uniform_partition([0, -1], [1, 1], (5, 10))
>>> part.has_isotropic_cells
True
>>> part = uniform_partition([0, -1], [1, 1], (5, 5))
>>> part.has_isotropic_cells
False