mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-28 22:00:33 +05:00
netgen module fix
This commit is contained in:
parent
1b93743382
commit
ca9078c0d3
@ -1,3 +1,4 @@
|
|||||||
|
import sys
|
||||||
try:
|
try:
|
||||||
# Linux
|
# Linux
|
||||||
from libmesh import meshing
|
from libmesh import meshing
|
||||||
@ -7,3 +8,8 @@ except:
|
|||||||
# Windows
|
# Windows
|
||||||
from nglib import *
|
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