OpenPisco.ExtractConnexPart module
- class OpenPisco.ExtractConnexPart.ConnexPart(support)[source]
Bases:
object
- Apply(phi, fix, fillField=None)[source]
Get the maximal connected subset from a subdomain.
- Parameters
phi (np.ndarray) – A levelset function defining the original subdomain.
fix (np.ndarray) – A field with nonpositive values identifying a set of points included in the result.
- Returns
A field with nonpositive values identifying the points located in maximal connected subset.
- Return type
np.ndarray