get_edge_zonelets_of_label_name_pattern#

Part.get_edge_zonelets_of_label_name_pattern(label_name_pattern, name_pattern_params)#

Get edge zonelet ids of labels with name matching the given name pattern.

Parameters:
label_name_patternstr

Name pattern to be matched with label name.

name_pattern_paramsNamePatternParams

Name pattern parameters used to match label name pattern.

Returns:
:
Iterable[int]

Return edge zonelet ids of labels with name matching the name pattern. Returns an empty list for a topology part.

Return type:

Iterable[int]

Examples

>>> name_pattern_params = prime.NamePatternParams(model = model)
>>> edge_zonelets = part.get_edge_zonelets_of_label_name_pattern("wall*", name_pattern_params)