pyfebiopt.xplt.element_state
Element status flags stored in XPLT mesh-state blocks.
Attributes
Classes
Expose raw FEBio element status flags and active masks over time. |
Module Contents
- pyfebiopt.xplt.element_state.ELEMENT_ACTIVE
- class pyfebiopt.xplt.element_state.ElementStateView(times: collections.abc.Iterable[float], status: collections.abc.Iterable[numpy.ndarray], mesh: pyfebiopt.mesh.mesh.Mesh)
Expose raw FEBio element status flags and active masks over time.
Build an element-state view in global mesh element order.
- __len__() int
Return number of loaded states.
- times() numpy.ndarray
Return loaded state times.
- domains() tuple[str, ...]
Return available domain names.
- status(*, time: int | slice | numpy.ndarray | list[int] = slice(None), domain: str | None = None) numpy.ndarray
Return raw FEBio status flags for selected states and elements.
- active(*, time: int | slice | numpy.ndarray | list[int] = slice(None), domain: str | None = None) numpy.ndarray
Return true where FEBio’s
FEElement::ACTIVEbit is set.
- inactive(*, time: int | slice | numpy.ndarray | list[int] = slice(None), domain: str | None = None) numpy.ndarray
Return true where FEBio’s
FEElement::ACTIVEbit is clear.
- __repr__() str
- __str__