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_pattern
str
Name pattern to be matched with label name.
- name_pattern_params
NamePatternParams
Name pattern parameters used to match label name pattern.
- 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:
Examples
>>> name_pattern_params = prime.NamePatternParams(model = model) >>> edge_zonelets = part.get_edge_zonelets_of_label_name_pattern("wall*", name_pattern_params)