Back to index

salome-smesh  6.5.0
Functions
Constructing submeshes
Creating meshes
Collaboration diagram for Constructing submeshes:

Functions

def smeshDC.Mesh.GetSubMesh
 Gets the subMesh object associated to a theSubObject geometrical object.

Function Documentation

def smeshDC.Mesh.GetSubMesh (   self,
  geom,
  name 
)

Gets the subMesh object associated to a theSubObject geometrical object.

The subMesh object gives access to the IDs of nodes and elements.

Parameters:
geoma geometrical object (shape)
namea name for the submesh
Returns:
an object of type SMESH_SubMesh, representing a part of mesh, which lies on the given shape

Definition at line 1033 of file smeshDC.py.

01033 
01034     def GetSubMesh(self, geom, name):
01035         AssureGeomPublished( self, geom, name )
01036         submesh = self.mesh.GetSubMesh( geom, name )
01037         return submesh

Here is the call graph for this function: