Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
7c27b84
)
Restore some lost modifications.
author
jfa
<jfa@opencascade.com>
Thu, 13 Dec 2007 14:09:49 +0000
(14:09 +0000)
committer
jfa
<jfa@opencascade.com>
Thu, 13 Dec 2007 14:09:49 +0000
(14:09 +0000)
src/SMESH_SWIG/smeshDC.py
patch
|
blob
|
history
diff --git
a/src/SMESH_SWIG/smeshDC.py
b/src/SMESH_SWIG/smeshDC.py
index 72f802242102ae9782e2d49e71134c3fd43d30b2..e5b5f2dd795c44a2958dc1464061b4a321462577 100644
(file)
--- a/
src/SMESH_SWIG/smeshDC.py
+++ b/
src/SMESH_SWIG/smeshDC.py
@@
-717,6
+717,7
@@
class Mesh_Triangle(Mesh_Algorithm):
def __init__(self, mesh, algoType, geom=0):
Mesh_Algorithm.__init__(self)
def __init__(self, mesh, algoType, geom=0):
Mesh_Algorithm.__init__(self)
+ self.algoType = algoType
if algoType == MEFISTO:
#17908#if not Mesh_Triangle.algoMEF:
#17908# Mesh_Triangle.algoMEF = self.Create(mesh, geom, "MEFISTO_2D")
if algoType == MEFISTO:
#17908#if not Mesh_Triangle.algoMEF:
#17908# Mesh_Triangle.algoMEF = self.Create(mesh, geom, "MEFISTO_2D")
@@
-728,6
+729,7
@@
class Mesh_Triangle(Mesh_Algorithm):
elif algoType == BLSURF:
import BLSURFPlugin
self.Create(mesh, geom, "BLSURF", "libBLSURFEngine.so")
elif algoType == BLSURF:
import BLSURFPlugin
self.Create(mesh, geom, "BLSURF", "libBLSURFEngine.so")
+ self.SetPhysicalMesh()
elif algoType == NETGEN:
if noNETGENPlugin:
print "Warning: NETGENPlugin module unavailable"
elif algoType == NETGEN:
if noNETGENPlugin:
print "Warning: NETGENPlugin module unavailable"
@@
-752,8
+754,6
@@
class Mesh_Triangle(Mesh_Algorithm):
self.Create(mesh, geom, "NETGEN_2D_ONLY", "libNETGENEngine.so")
pass
self.Create(mesh, geom, "NETGEN_2D_ONLY", "libNETGENEngine.so")
pass
- self.algoType = algoType
-
## Define "MaxElementArea" hypothesis to give the maximun area of each triangles
# @param area for the maximum area of each triangles
# @param UseExisting if ==true - search existing hypothesis created with
## Define "MaxElementArea" hypothesis to give the maximun area of each triangles
# @param area for the maximum area of each triangles
# @param UseExisting if ==true - search existing hypothesis created with