BasicTools.Containers.ElementNames module
- BasicTools.Containers.ElementNames.CheckIntegrity(GUI=False)[source]
CheckIntegrity function. Tests
- Parameters:
GUI (bool, optional) – if True, generate (in some case) an output on a new window, by default False
- Returns:
ok if all ok
- Return type:
str
- class BasicTools.Containers.ElementNames.ElementInformation(name, geoSupport)[source]
Bases:
objectClass to store information about the different type of elements.
- degree
the higher degree of the polynomial
- dimension
Dimensionality 0,1,2,3
- faces: List[Tuple[str, ndarray]]
First level faces. (triangles for a tetra for example) A list containing a tuples of the elements name and the local connectivity
- faces2
Second level faces. (bars for a tetra for example) A list containing a tuples of the elements name and the local connectivity
- faces3
third level faces. (points for a tetra for example) A list containing a tuples of the elements name and the local connectivity
- geoSupport
the geometrical support of this element
- linear
true if the the jacobian matrix is constant in the element
- mirrorPermutation
Permutation of index to make a valid element again after a mirror operation
- name
Element Name
- numberOfNodes
number of nodes of this elements
- BasicTools.Containers.ElementNames.ElementsInfo: Dict[str, ElementInformation] = {'bar2': <BasicTools.Containers.ElementNames.ElementInformation object>, 'bar3': <BasicTools.Containers.ElementNames.ElementInformation object>, 'hex20': <BasicTools.Containers.ElementNames.ElementInformation object>, 'hex27': <BasicTools.Containers.ElementNames.ElementInformation object>, 'hex8': <BasicTools.Containers.ElementNames.ElementInformation object>, 'point1': <BasicTools.Containers.ElementNames.ElementInformation object>, 'pyr13': <BasicTools.Containers.ElementNames.ElementInformation object>, 'pyr5': <BasicTools.Containers.ElementNames.ElementInformation object>, 'quad4': <BasicTools.Containers.ElementNames.ElementInformation object>, 'quad8': <BasicTools.Containers.ElementNames.ElementInformation object>, 'quad9': <BasicTools.Containers.ElementNames.ElementInformation object>, 'tet10': <BasicTools.Containers.ElementNames.ElementInformation object>, 'tet4': <BasicTools.Containers.ElementNames.ElementInformation object>, 'tri3': <BasicTools.Containers.ElementNames.ElementInformation object>, 'tri6': <BasicTools.Containers.ElementNames.ElementInformation object>, 'wed15': <BasicTools.Containers.ElementNames.ElementInformation object>, 'wed18': <BasicTools.Containers.ElementNames.ElementInformation object>, 'wed6': <BasicTools.Containers.ElementNames.ElementInformation object>}
Module variable to store ElementInformation for every type of element
The key is the element name, The value is an instance of ElementInformation
- BasicTools.Containers.ElementNames.GeoBar = <BasicTools.Containers.ElementNames.GeoSupport object>
name bar, dimensionality = 1
- Type:
Bar geometrical support
- BasicTools.Containers.ElementNames.GeoHex = <BasicTools.Containers.ElementNames.GeoSupport object>
name hex, dimensionality = 3
- Type:
Hexahedral geometrical support
- BasicTools.Containers.ElementNames.GeoPoint = <BasicTools.Containers.ElementNames.GeoSupport object>
name point, dimensionality = 0
- Type:
Point geometrical support
- BasicTools.Containers.ElementNames.GeoPyr = <BasicTools.Containers.ElementNames.GeoSupport object>
name pyr, dimensionality = 3
- Type:
Pyramidal (square base) geometrical support
- BasicTools.Containers.ElementNames.GeoQuad = <BasicTools.Containers.ElementNames.GeoSupport object>
name quad, dimensionality = 2
- Type:
Quadrangle geometrical support
- class BasicTools.Containers.ElementNames.GeoSupport(data: Tuple[str, int])[source]
Bases:
objectClass to store basic information about the geometrical support. This class in not intender for end user.
- BasicTools.Containers.ElementNames.GeoTet = <BasicTools.Containers.ElementNames.GeoSupport object>
name tet, dimensionality = 3
- Type:
Tetrahedral geometrical support
- BasicTools.Containers.ElementNames.GeoTri = <BasicTools.Containers.ElementNames.GeoSupport object>
name tri, dimensionality = 2
- Type:
Triangle geometrical support
- BasicTools.Containers.ElementNames.GeoWed = <BasicTools.Containers.ElementNames.GeoSupport object>
name wed, dimensionality = 3
- Type:
Wedge geometrical support