pass
# Types of algorithms
-GMSH = "GMSH"
-GMSH_2D = "GMSH_2D"
+GMSH = "GMSH"
+GMSH_3D = "GMSH_3D"
+GMSH_2D = "GMSH_2D"
## Base of all GMSH algorithms.
#
hypType = "GMSH_Parameters_2D"
elif self.algoType == GMSH:
hypType = "GMSH_Parameters"
+ elif self.algoType == GMSH_3D:
+ hypType = "GMSH_Parameters_3D"
if self.params and self.params.GetName() != hypType:
self.mesh.RemoveHypothesis( self.params, self.geom )
## Private constructor.
def __init__(self, mesh, geom=0):
GMSH_Algorithm.__init__(self, mesh, geom)
+
+class GMSH_3D_Algorithm(GMSH_Algorithm):
+
+ meshMethod = "Tetrahedron"
+ algoType = GMSH_3D
+
+ ## Private constructor.
+ def __init__(self, mesh, geom=0):
+ GMSH_Algorithm.__init__(self, mesh, geom)