mosaic.Descriptor.cell_patches

mosaic.Descriptor.cell_patches#

property Descriptor.cell_patches#

ndarray of patch coordinates for cell centered values

Dimensions: (nCells, maxEdges)

Notes

The second dimension of the patch array is length maxEdges, even if nEdgesOnCell for the i-th cell is less than maxEdges. We’ve chosen to deal with ragged indices (i.e. nodes indices greater than nEdgesOnCell for the given cell) by repeating the first node of the patch. Nodes are ordered counter clockwise around the cell center.