pysdic.Connectivity.element_type#
- property Connectivity.element_type: str | None#
[Get/Set] The type of the elements (see the table in
pysdic.Connectivity), orNoneif no type is associated.- Parameters:
value (Optional[str]) – An implemented element type (case insensitive) with \(N_{vpe}\) vertices, or
None.- Returns:
The element type in lower case, or
None.- Return type:
Optional[str]
- Raises:
TypeError – If the value is not a string or
None.ValueError – If the type is not implemented or if its number of vertices does not match \(N_{vpe}\).
RuntimeError – If the connectivity is locked (see
locked_message).