grains.salome.Mesh¶
-
class
grains.salome.
Mesh
(geometry, name='Mesh')[source]¶ Performs mesh manipulations on a tessellated geometry.
- Parameters
geometry (Geometry) – Geometry object on which the mesh exists.
name (str, optional) – Name of the mesh.
See also
-
__init__
(geometry, name='Mesh')[source]¶ Initialize self. See help(type(self)) for accurate signature.
Methods
__init__
(geometry[, name])Initialize self.
element_edge_normal
(element, edge)Outward-pointing unit normal to an element edge.
generate
()Generates a mesh on the geometry.
generate_element_nodes
(elements)Nodes of selected elements, returned one at a time.
incident_elements
(edge[, element_type])Searches for elements incident to an edge.
incident_face_mesh
(interface_mesh)Face meshes incident to an interface mesh.
Retrieves the elements of the mesh on each face.
Obtains the 1D interfacial mesh for each interface.
one_ring
(node[, definition])Elements around a node.
point_in_element
(element, point)Checks whether a point is in an element.