element_is_ghost#

LibUserd.element_is_ghost(element_type: int) bool#

For a given element type (e.g. HEX20), determine if the element type should be considered a “ghost” element.

Parameters:
element_type

The element type: LibUserd.ElementType enum value

Returns:
bool

True if the element is a ghost (or an invalid element type).