mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-05 06:10:33 +05:00
Restore some lost modifications.
This commit is contained in:
parent
7c27b84895
commit
3cae17f2a8
@ -717,6 +717,7 @@ class Mesh_Triangle(Mesh_Algorithm):
|
|||||||
def __init__(self, mesh, algoType, geom=0):
|
def __init__(self, mesh, algoType, geom=0):
|
||||||
Mesh_Algorithm.__init__(self)
|
Mesh_Algorithm.__init__(self)
|
||||||
|
|
||||||
|
self.algoType = algoType
|
||||||
if algoType == MEFISTO:
|
if algoType == MEFISTO:
|
||||||
#17908#if not Mesh_Triangle.algoMEF:
|
#17908#if not Mesh_Triangle.algoMEF:
|
||||||
#17908# Mesh_Triangle.algoMEF = self.Create(mesh, geom, "MEFISTO_2D")
|
#17908# Mesh_Triangle.algoMEF = self.Create(mesh, geom, "MEFISTO_2D")
|
||||||
@ -728,6 +729,7 @@ class Mesh_Triangle(Mesh_Algorithm):
|
|||||||
elif algoType == BLSURF:
|
elif algoType == BLSURF:
|
||||||
import BLSURFPlugin
|
import BLSURFPlugin
|
||||||
self.Create(mesh, geom, "BLSURF", "libBLSURFEngine.so")
|
self.Create(mesh, geom, "BLSURF", "libBLSURFEngine.so")
|
||||||
|
self.SetPhysicalMesh()
|
||||||
elif algoType == NETGEN:
|
elif algoType == NETGEN:
|
||||||
if noNETGENPlugin:
|
if noNETGENPlugin:
|
||||||
print "Warning: NETGENPlugin module unavailable"
|
print "Warning: NETGENPlugin module unavailable"
|
||||||
@ -752,8 +754,6 @@ class Mesh_Triangle(Mesh_Algorithm):
|
|||||||
self.Create(mesh, geom, "NETGEN_2D_ONLY", "libNETGENEngine.so")
|
self.Create(mesh, geom, "NETGEN_2D_ONLY", "libNETGENEngine.so")
|
||||||
pass
|
pass
|
||||||
|
|
||||||
self.algoType = algoType
|
|
||||||
|
|
||||||
## Define "MaxElementArea" hypothesis to give the maximun area of each triangles
|
## Define "MaxElementArea" hypothesis to give the maximun area of each triangles
|
||||||
# @param area for the maximum area of each triangles
|
# @param area for the maximum area of each triangles
|
||||||
# @param UseExisting if ==true - search existing hypothesis created with
|
# @param UseExisting if ==true - search existing hypothesis created with
|
||||||
|
Loading…
Reference in New Issue
Block a user