is_exist (method)¶
-
is_exist
(self, connectivity)[source]¶ Check the existence of a cell defined by a connectivity (vector of points indices). The order of points indices does not matter.
- Parameters
self (CellMat) – an CellMat object
connectivity (ndarray) – an array of node tags
- Returns
True if the element already exist
- Return type
bool