Skip to content

EmbeddedInfo

EmbeddedInfo dataclass

EmbeddedInfo(beams: Union[List[int], Set[int]], core_number: int, beams_solids: List[Tuple[List[int], List[int]]])

Optimized EmbeddedInfo data structure for fast interface comparisons.

This structure tracks connection mapping between embedded beam elements and surrounding solid elements, deduplicating equivalent layouts and detecting core partition conflicts.

Create an EmbeddedInfo instance.

Parameters:

Name Type Description Default
beams Union[List[int], Set[int]]

A set or list of integers representing beam element identifiers.

required
core_number int

An integer core partition ID.

required
beams_solids List[Tuple[List[int], List[int]]]

List of (list1, list2) mapping tuples, where list1 is the beam connectivity list and list2 is the solid element ID list.

required