pysdic.Connectivity.has_higher_than#

Connectivity.has_higher_than(value)[source]#

Check which elements have at least one vertex index strictly higher than value.

Note

To find the elements referring to missing vertices, use connectivity.has_higher_than(n_vertices - 1): an index equal to n_vertices is already invalid.

Parameters:

value (Real) – The threshold.

Returns:

A boolean array of shape \((N_e,)\), True for the elements with an index \(>\) value.

Return type:

numpy.ndarray