RectPartition.has_isotropic_cells¶
-
property
RectPartition.
has_isotropic_cells
¶ True
ifgrid
is uniform andcell_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