You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
def__new__(cls, *args, **kwargs) ->"GmshMesher":
ifcls._instanceisnotNone:
raiseRuntimeError(
"Multiple Delaunay2D instances are not allowed. ""Please use del statement to clean up before creating a new instance."
)
cls._instance=super().__new__(cls)
cls._instance._initialized=Truereturncls._instance
The text was updated successfully, but these errors were encountered:
tkoyama010
changed the title
Inheriting from threading.Thread to manage Gmsh processes
Initialize and finalize Gmsh in Delaunay2D and Delaunay3D classes
Sep 10, 2024
Describe the feature you would like to be added.
Links to Gmsh Documentation, Examples, or Class Definitions.
https://github.com/Deltares/pandamesh/blob/a61664fcc09d66d4d03c6c9a54b6a6d0cc188c28/pandamesh/gmsh_mesher.py#L127-L140
Pseudocode or Screenshots
The text was updated successfully, but these errors were encountered: