netgen module fix

This commit is contained in:
Matthias Hochsteger 2014-09-26 14:20:35 +00:00
parent 1b93743382
commit ca9078c0d3

View File

@ -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