OpenPisco.ExtractConnexPart module

OpenPisco.ExtractConnexPart.CheckIntegrity()[source]
OpenPisco.ExtractConnexPart.CheckIntegrity_2D()[source]
OpenPisco.ExtractConnexPart.CheckIntegrity_3D()[source]
OpenPisco.ExtractConnexPart.CheckIntegrity_NodeToElementContainer()[source]
OpenPisco.ExtractConnexPart.CheckIntegrity_Unstructured_3D()[source]
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

OpenPisco.ExtractConnexPart.FunctionInit(dim, i)[source]
OpenPisco.ExtractConnexPart.GetConnexPart_OLD(support, phi, fix, fillField=None)[source]
OpenPisco.ExtractConnexPart.GetDualGraphElementContainer(elementcontainer, output)[source]
OpenPisco.ExtractConnexPart.GetMaxNumConnectionsRecommanded(support)[source]
OpenPisco.ExtractConnexPart.GetNodeToElementContainerConnectivity(mesh, elements, maxNumConnections: Optional[int] = None)[source]
OpenPisco.ExtractConnexPart.RunAndCheck(support, ls, fix)[source]