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 (parent:
79137f3
)
update __init__ function of Mesh_Triangle class
author
raza
<raza>
Wed, 4 Apr 2007 15:45:23 +0000
(15:45 +0000)
committer
raza
<raza>
Wed, 4 Apr 2007 15:45:23 +0000
(15:45 +0000)
src/SMESH_SWIG/smesh.py
patch
|
blob
|
history
diff --git
a/src/SMESH_SWIG/smesh.py
b/src/SMESH_SWIG/smesh.py
index 3bf840eb9681de9dc21f0fe3476e71f375ccb13b..ce9b65b2bd90a099332c5c0a66ddc602486d5423 100644
(file)
--- a/
src/SMESH_SWIG/smesh.py
+++ b/
src/SMESH_SWIG/smesh.py
@@
-576,16
+576,17
@@
class Mesh_Triangle(Mesh_Algorithm):
## Private constructor.
def __init__(self, mesh, algoType, geom=0):
## Private constructor.
def __init__(self, mesh, algoType, geom=0):
+ self.algoType = algoType
if algoType == MEFISTO:
self.Create(mesh, geom, "MEFISTO_2D")
elif algoType == BLSURF:
import BLSURFPlugin
self.Create(mesh, geom, "BLSURF", "libBLSURFEngine.so")
if algoType == MEFISTO:
self.Create(mesh, geom, "MEFISTO_2D")
elif algoType == BLSURF:
import BLSURFPlugin
self.Create(mesh, geom, "BLSURF", "libBLSURFEngine.so")
+ self.SetPhysicalMesh()
elif algoType == NETGEN:
if noNETGENPlugin:
print "Warning: NETGENPlugin module has not been imported."
self.Create(mesh, geom, "NETGEN_2D", "libNETGENEngine.so")
elif algoType == NETGEN:
if noNETGENPlugin:
print "Warning: NETGENPlugin module has not been imported."
self.Create(mesh, geom, "NETGEN_2D", "libNETGENEngine.so")
- self.algoType = algoType
## Define "MaxElementArea" hypothesis to give the maximun area of each triangles
# @param area for the maximum area of each triangles
## Define "MaxElementArea" hypothesis to give the maximun area of each triangles
# @param area for the maximum area of each triangles