diff --git a/src/ansys/dpf/composites/_composite_model_impl.py b/src/ansys/dpf/composites/_composite_model_impl.py index b8c79c6ce..f6dc37e89 100644 --- a/src/ansys/dpf/composites/_composite_model_impl.py +++ b/src/ansys/dpf/composites/_composite_model_impl.py @@ -490,7 +490,7 @@ def evaluate_failure_criteria( if merge_index == 0: raise RuntimeError( - "No output is generated! Please check the scope (element and ply ids)." + "No output is generated! Check the scope (element and ply IDs)." ) if self._supports_reference_surface_operators(): diff --git a/src/ansys/dpf/composites/_indexer.py b/src/ansys/dpf/composites/_indexer.py index d8fe056d7..69da92ece 100644 --- a/src/ansys/dpf/composites/_indexer.py +++ b/src/ansys/dpf/composites/_indexer.py @@ -96,7 +96,7 @@ def __init__(self, field: Field): self._data = np.array([], dtype=np.double) def by_id(self, entity_id: int) -> Optional[np.double]: - """Get index by id. + """Get index by ID. Parameters ---------- @@ -126,7 +126,7 @@ def __init__(self, field: PropertyField): self._max_id = 0 def by_id(self, entity_id: int) -> Optional[np.int64]: - """Get index by id. + """Get index by ID. Parameters ---------- @@ -162,7 +162,7 @@ def __init__(self, field: PropertyField): self._data_pointer = np.array([], dtype=np.int64) def by_id(self, entity_id: int) -> Optional[NDArray[np.int64]]: - """Get index by id. + """Get index by ID. Parameters ---------- @@ -208,7 +208,7 @@ def __init__(self, field: Field): self._data_pointer = np.array([], dtype=np.int64) def by_id(self, entity_id: int) -> Optional[NDArray[np.double]]: - """Get index by id. + """Get index by ID. Parameters ----------