mirror of
https://github.com/NGSolve/netgen.git
synced 2024-11-11 16:49:16 +05:00
netgen module fix
This commit is contained in:
parent
1b93743382
commit
ca9078c0d3
@ -1,3 +1,4 @@
|
||||
import sys
|
||||
try:
|
||||
# Linux
|
||||
from libmesh import meshing
|
||||
@ -7,3 +8,8 @@ except:
|
||||
# Windows
|
||||
from nglib import *
|
||||
|
||||
sys.modules['netgen.meshing'] = meshing
|
||||
sys.modules['netgen.geom2d'] = geom2d
|
||||
sys.modules['netgen.csg'] = csg
|
||||
del sys
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user