Skip to content

Commit

Permalink
Merge branch 'feat/section_data_from_rst' of https://github.com/ansys…
Browse files Browse the repository at this point in the history
…/pydpf-composites into feat/section_data_from_rst
  • Loading branch information
roosre committed Nov 30, 2023
2 parents 6fcb0d1 + 48d707f commit 6669299
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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 @@ -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():
Expand Down
8 changes: 4 additions & 4 deletions src/ansys/dpf/composites/_indexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------
Expand Down Expand Up @@ -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
----------
Expand Down Expand Up @@ -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
----------
Expand Down Expand Up @@ -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
----------
Expand Down

0 comments on commit 6669299

Please sign in to comment.