Back to index

salome-smesh  6.5.0
Variables
SMESH_fixation_tetra Namespace Reference

Variables

 compshell = SMESH_fixation.compshell
 idcomp = SMESH_fixation.idcomp
 geompy = SMESH_fixation.geompy
 salome = SMESH_fixation.salome
tuple subShellList = geompy.SubShapeAll(compshell, geompy.ShapeType["SHELL"])
tuple subFaceList = geompy.SubShapeAll(compshell, geompy.ShapeType["FACE"])
tuple subEdgeList = geompy.SubShapeAll(compshell, geompy.ShapeType["EDGE"])
tuple status = geompy.CheckShape(compshell)
tuple mesh = smesh.Mesh(compshell, "MeshcompShell")
 ---------------------------- SMESH --------------------------------------
int numberOfSegments = 5
tuple regular1D = mesh.Segment()
tuple hypNbSeg = regular1D.NumberOfSegments(numberOfSegments)
tuple mefisto2D = mesh.Triangle()
 print "-------------------------- MaxElementArea"
tuple hypLengthFromEdges = mefisto2D.LengthFromEdges()
int maxElementVolume = 1000
tuple netgen3D = mesh.Tetrahedron(smesh.NETGEN)
tuple hypVolume = netgen3D.MaxElementVolume(maxElementVolume)
tuple ret = mesh.Compute(mesh)
tuple log = mesh.GetLog(0)

Variable Documentation

Definition at line 31 of file SMESH_fixation_tetra.py.

SMESH_fixation_tetra.geompy = SMESH_fixation.geompy

Definition at line 33 of file SMESH_fixation_tetra.py.

tuple SMESH_fixation_tetra.hypLengthFromEdges = mefisto2D.LengthFromEdges()

Definition at line 86 of file SMESH_fixation_tetra.py.

tuple SMESH_fixation_tetra.hypNbSeg = regular1D.NumberOfSegments(numberOfSegments)

Definition at line 64 of file SMESH_fixation_tetra.py.

tuple SMESH_fixation_tetra.hypVolume = netgen3D.MaxElementVolume(maxElementVolume)

Definition at line 98 of file SMESH_fixation_tetra.py.

Definition at line 32 of file SMESH_fixation_tetra.py.

tuple SMESH_fixation_tetra.log = mesh.GetLog(0)

Definition at line 111 of file SMESH_fixation_tetra.py.

Definition at line 94 of file SMESH_fixation_tetra.py.

tuple SMESH_fixation_tetra.mefisto2D = mesh.Triangle()

print "-------------------------- MaxElementArea"

maxElementArea = 80 mefisto2D = mesh.Triangle() mefisto2D.SetName("MEFISTO_2D") hypArea = mefisto2D.MaxElementArea(maxElementArea) print hypArea.GetName() print hypArea.GetId() print hypArea.GetMaxElementArea() smesh.SetName(hypArea, "MaxElementArea_" + str(maxElementArea))

Definition at line 84 of file SMESH_fixation_tetra.py.

tuple SMESH_fixation_tetra.mesh = smesh.Mesh(compshell, "MeshcompShell")

---------------------------- SMESH --------------------------------------

Definition at line 53 of file SMESH_fixation_tetra.py.

tuple SMESH_fixation_tetra.netgen3D = mesh.Tetrahedron(smesh.NETGEN)

Definition at line 96 of file SMESH_fixation_tetra.py.

Definition at line 60 of file SMESH_fixation_tetra.py.

tuple SMESH_fixation_tetra.regular1D = mesh.Segment()

Definition at line 62 of file SMESH_fixation_tetra.py.

tuple SMESH_fixation_tetra.ret = mesh.Compute(mesh)

Definition at line 108 of file SMESH_fixation_tetra.py.

SMESH_fixation_tetra.salome = SMESH_fixation.salome

Definition at line 34 of file SMESH_fixation_tetra.py.

tuple SMESH_fixation_tetra.status = geompy.CheckShape(compshell)

Definition at line 45 of file SMESH_fixation_tetra.py.

tuple SMESH_fixation_tetra.subEdgeList = geompy.SubShapeAll(compshell, geompy.ShapeType["EDGE"])

Definition at line 39 of file SMESH_fixation_tetra.py.

tuple SMESH_fixation_tetra.subFaceList = geompy.SubShapeAll(compshell, geompy.ShapeType["FACE"])

Definition at line 38 of file SMESH_fixation_tetra.py.

tuple SMESH_fixation_tetra.subShellList = geompy.SubShapeAll(compshell, geompy.ShapeType["SHELL"])

Definition at line 37 of file SMESH_fixation_tetra.py.