From 9127c8f627b68ad87f857245b55f797db5253cdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Roos?= <105842014+roosre@users.noreply.github.com> Date: Mon, 25 Sep 2023 22:29:51 +0200 Subject: [PATCH 1/5] Update src/ansys/dpf/composites/layup_info/_layup_info.py Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com> --- src/ansys/dpf/composites/layup_info/_layup_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys/dpf/composites/layup_info/_layup_info.py b/src/ansys/dpf/composites/layup_info/_layup_info.py index adb6c219c..06b6cb263 100644 --- a/src/ansys/dpf/composites/layup_info/_layup_info.py +++ b/src/ansys/dpf/composites/layup_info/_layup_info.py @@ -226,7 +226,7 @@ def get_dpf_material_id_by_analysis_ply_map( mesh DPF Meshed region enriched with lay-up information data_source_or_streams_provider: - DPF data source with rst file or streams_provider. The streams provider is + DPF data source with RST file or streams provider. The streams provider is available from :attr:`.CompositeModel.core_model` (under metadata.streams_provider). Note From 453353afed29ad73329dd4701535f00cb8612e72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Roos?= <105842014+roosre@users.noreply.github.com> Date: Mon, 25 Sep 2023 22:30:17 +0200 Subject: [PATCH 2/5] Update src/ansys/dpf/composites/layup_info/_layup_info.py Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com> --- src/ansys/dpf/composites/layup_info/_layup_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys/dpf/composites/layup_info/_layup_info.py b/src/ansys/dpf/composites/layup_info/_layup_info.py index 06b6cb263..bd2d957d0 100644 --- a/src/ansys/dpf/composites/layup_info/_layup_info.py +++ b/src/ansys/dpf/composites/layup_info/_layup_info.py @@ -227,7 +227,7 @@ def get_dpf_material_id_by_analysis_ply_map( DPF Meshed region enriched with lay-up information data_source_or_streams_provider: DPF data source with RST file or streams provider. The streams provider is - available from :attr:`.CompositeModel.core_model` (under metadata.streams_provider). + available from the :attr:`.CompositeModel.core_model` attribute (under ``metadata.streams_provider``). Note ---- From 01c7b2f01f9a3e0cc38beccbdff06e7f5980fd77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Roos?= <105842014+roosre@users.noreply.github.com> Date: Mon, 25 Sep 2023 22:30:28 +0200 Subject: [PATCH 3/5] Update src/ansys/dpf/composites/layup_info/_layup_info.py Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com> --- src/ansys/dpf/composites/layup_info/_layup_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys/dpf/composites/layup_info/_layup_info.py b/src/ansys/dpf/composites/layup_info/_layup_info.py index bd2d957d0..71a632eba 100644 --- a/src/ansys/dpf/composites/layup_info/_layup_info.py +++ b/src/ansys/dpf/composites/layup_info/_layup_info.py @@ -219,7 +219,7 @@ def get_dpf_material_id_by_analysis_ply_map( mesh: MeshedRegion, data_source_or_streams_provider: Union[DataSources, Operator], ) -> Dict[str, np.int64]: - """Get Dict that maps analysis ply names to dpf_material_ids. + """Get the dictionary that maps analysis ply names to DPF material IDs. Parameters ---------- From 4d924c1c347fbf9fbe2702f81b06955f092d9782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Roos?= <105842014+roosre@users.noreply.github.com> Date: Mon, 25 Sep 2023 22:30:37 +0200 Subject: [PATCH 4/5] Update src/ansys/dpf/composites/layup_info/_layup_info.py Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com> --- src/ansys/dpf/composites/layup_info/_layup_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys/dpf/composites/layup_info/_layup_info.py b/src/ansys/dpf/composites/layup_info/_layup_info.py index 71a632eba..7624bbf49 100644 --- a/src/ansys/dpf/composites/layup_info/_layup_info.py +++ b/src/ansys/dpf/composites/layup_info/_layup_info.py @@ -204,7 +204,7 @@ def get_dpf_material_id_by_analyis_ply_map( Note ---- - Cache the output because the computation can be performance critical. + Cache the output because the computation can be performance-critical. """ warn( "`get_dpf_material_id_by_analyis_ply_map` is deprecated. " From a910500377eab0c8c769bd5253a2267fce567289 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Roos?= <105842014+roosre@users.noreply.github.com> Date: Mon, 25 Sep 2023 22:36:39 +0200 Subject: [PATCH 5/5] Update src/ansys/dpf/composites/layup_info/_layup_info.py Co-authored-by: Kathy Pippert <84872299+PipKat@users.noreply.github.com> --- src/ansys/dpf/composites/layup_info/_layup_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ansys/dpf/composites/layup_info/_layup_info.py b/src/ansys/dpf/composites/layup_info/_layup_info.py index 7624bbf49..63c68f7fc 100644 --- a/src/ansys/dpf/composites/layup_info/_layup_info.py +++ b/src/ansys/dpf/composites/layup_info/_layup_info.py @@ -231,7 +231,7 @@ def get_dpf_material_id_by_analysis_ply_map( Note ---- - Cache the output because the computation can be performance critical. + Cache the output because the computation can be performance-critical. """ # Note: The stream_provider_or_data_source is not strictly needed for this workflow # We just need it because get_element_info_provider provider needs it (which needs