From a4735d38199f23f24258fe9f435d08933fc151b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Roos?= <105842014+roosre@users.noreply.github.com> Date: Wed, 29 Nov 2023 10:40:03 +0100 Subject: [PATCH 1/5] Update src/ansys/dpf/composites/_composite_model_impl.py Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com> --- src/ansys/dpf/composites/_composite_model_impl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(): From 7786a69e6a9fbc9859f287b0d0b32a36aa0090f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Roos?= <105842014+roosre@users.noreply.github.com> Date: Wed, 29 Nov 2023 10:40:25 +0100 Subject: [PATCH 2/5] Update src/ansys/dpf/composites/_indexer.py Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com> --- src/ansys/dpf/composites/_indexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys/dpf/composites/_indexer.py b/src/ansys/dpf/composites/_indexer.py index d8fe056d7..2bad3a93f 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 ---------- From ae23b9acfe9c1028284635834c7a3b1b529fd815 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Roos?= <105842014+roosre@users.noreply.github.com> Date: Wed, 29 Nov 2023 10:40:41 +0100 Subject: [PATCH 3/5] Update src/ansys/dpf/composites/_indexer.py Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com> --- src/ansys/dpf/composites/_indexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys/dpf/composites/_indexer.py b/src/ansys/dpf/composites/_indexer.py index 2bad3a93f..52e55cf7e 100644 --- a/src/ansys/dpf/composites/_indexer.py +++ b/src/ansys/dpf/composites/_indexer.py @@ -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 ---------- From 27bc330c253ee8cc2fd60e16c290db57218abdc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Roos?= <105842014+roosre@users.noreply.github.com> Date: Wed, 29 Nov 2023 10:41:03 +0100 Subject: [PATCH 4/5] Update src/ansys/dpf/composites/_indexer.py Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com> --- src/ansys/dpf/composites/_indexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys/dpf/composites/_indexer.py b/src/ansys/dpf/composites/_indexer.py index 52e55cf7e..12b483562 100644 --- a/src/ansys/dpf/composites/_indexer.py +++ b/src/ansys/dpf/composites/_indexer.py @@ -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 ---------- From 48d707fc54d7030d8c12dc082333f93edf94eb9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Roos?= <105842014+roosre@users.noreply.github.com> Date: Wed, 29 Nov 2023 10:41:14 +0100 Subject: [PATCH 5/5] Update src/ansys/dpf/composites/_indexer.py Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com> --- src/ansys/dpf/composites/_indexer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys/dpf/composites/_indexer.py b/src/ansys/dpf/composites/_indexer.py index 12b483562..69da92ece 100644 --- a/src/ansys/dpf/composites/_indexer.py +++ b/src/ansys/dpf/composites/_indexer.py @@ -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 ----------