sfepy.discrete.fem.geometry_element module¶
GeometryElement describes the geometric entities of a finite element mesh.
Notes¶
geometry_data: surface facets are assumed to be of the same kind for each geometry element - wedges or pyramides are not supported.
the orientation is a tuple: (root1, vertices of direction vectors, swap from, swap to, root2, …)
- class sfepy.discrete.fem.geometry_element.GeometryElement(name)[source]¶
The geometric entities of a finite element mesh.
- create_surface_facet()[source]¶
Create a GeometryElement instance corresponding to this instance surface facet.
- get_conn_permutations()[source]¶
Get all possible connectivity permutations corresponding to different spatial orientations of the geometry element.
- sfepy.discrete.fem.geometry_element.create_geometry_elements(names=None)[source]¶
Utility function to create GeometryElement instances.
- Parameters:
- namesstr, optional
The names of the entity, one of the keys in geometry_data dictionary. If None, all keys of geometry_data are used.
- Returns:
- gelsdict
The dictionary of geometry elements with names as keys.