Skip to content

Commit

Permalink
cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
roosre committed Sep 12, 2024
1 parent cf36704 commit ea32914
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/ansys/dpf/composites/_composite_model_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ def get_mesh(self, composite_definition_label: Optional[str] = None) -> MeshedRe
"""
return self._core_model.metadata.meshed_region

def get_element_ids(self) -> Sequence[np.int64]:
def get_element_ids(self) -> Sequence[int]:
"""Get all element labels in the model."""
return cast(list[int], self.core_model.metadata.meshed_region.elements.scoping.ids)

Expand Down
2 changes: 1 addition & 1 deletion src/ansys/dpf/composites/_composite_model_impl_2023r2.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def get_mesh(self, composite_definition_label: Optional[str] = None) -> MeshedRe
composite_definition_label = self._first_composite_definition_label_if_only_one()
return self._composite_infos[composite_definition_label].mesh

def get_element_ids(self) -> Sequence[np.int64]:
def get_element_ids(self) -> Sequence[int]:
"""Get all element labels in the model."""
return cast(list[int], self.core_model.metadata.meshed_region.elements.scoping.ids)

Expand Down
2 changes: 1 addition & 1 deletion src/ansys/dpf/composites/composite_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def get_rst_streams_provider(self) -> Operator:
"""Get the stream provider for the RST file."""
return self._implementation.get_rst_streams_provider()

def get_element_ids(self) -> Sequence[int]
def get_element_ids(self) -> Sequence[int]:
"""
Get all element IDs (labels) in the model.
Expand Down

0 comments on commit ea32914

Please sign in to comment.