Skip to content

Commit 20e9c9f

Browse files
PProfizigithub-actions[bot]
authored andcommitted
update generated code
1 parent 1de6775 commit 20e9c9f

File tree

8 files changed

+6
-6
lines changed

8 files changed

+6
-6
lines changed

doc/source/_static/dpf_operators.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14084,13 +14084,13 @@ <h2 class="h2-main">Configurating operators</h2>
1408414084
</div></td></tr></tbody></table><table class="pin-box"><tbody><tr><td><pin-number-optional n="15" ellipsis = "false"></pin-number-optional></td><td><pin-name name="expanded_meshed_region"></pin-name></td><td><req-type typeName="(abstract_meshed_region | meshes_container)"></req-type></td><td><div class = "pin-des-text"><p>if this pin is set, expanding the mesh is not necessary.</p>
1408514085
</div></td></tr></tbody></table><table class="pin-box"><tbody><tr><td><pin-number-optional n="18" ellipsis = "false"></pin-number-optional></td><td><pin-name name="sectors_to_expand"></pin-name></td><td><req-type typeName="(scoping | scopings_container | vector<int32>)"></req-type></td><td><div class = "pin-des-text"><p>sectors to expand (start at 0), for multistage: use scopings container with 'stage' label.</p>
1408614086
</div></td></tr></tbody></table></div><h2 class="op-des-h2">Outputs</h2><div><table class="pin-box"><tbody><tr><td><pin-number n="0" ellipsis = "false"></pin-number></td><td><pin-name name="cyclic_support"></pin-name></td><td><req-type typeName="(cyclic_support)"></req-type></td></tr></tbody></table><table class="pin-box"><tbody><tr><td><pin-number n="1" ellipsis = "false"></pin-number></td><td><pin-name name="sector_meshes"></pin-name></td><td><req-type typeName="(meshes_container)"></req-type></td></tr></tbody></table></div><h2 class="op-des-h2">Configurations</h2><config-spec name="mutex" default="false" doc="If this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads." types="bool" ></config-spec><config-spec name="num_threads" default="0" doc="Number of threads to use to run in parallel" types="int32" ></config-spec><config-spec name="run_in_parallel" default="true" doc="Loops are allowed to run in parallel if the value of this config is set to true." types="bool" ></config-spec><h2 class="op-des-h2">Scripting</h2><scripting-part scripting_name="cyclic_support_provider" license="none" cat="metadata" plugin="core" cpp-name="support_provider_cyclic"></scripting-part><h2 class="op-des-h2">Changelog</h2><op-changelog content='{"0.0.0":"New"}'></op-changelog></div><div class="operator" id="skin" scripting_name="skin"plugin="core"cat="mesh"><h1 class="op-des-h1">mesh: skin</h1><figure class="figure-op-des"> <figcaption > Description </figcaption><div class = "figure-op-des-text"><p>Extracts a skin of the mesh in a new meshed region. The material ID of initial elements are propagated to their facets.</p>
14087-
</div></figure><div class="op-version">Version 0.0.0</div><h2 class="op-des-h2">Inputs</h2><div><table class="pin-box"><tbody><tr><td><pin-number n="0" ellipsis = "false"></pin-number></td><td><pin-name name="mesh"></pin-name></td><td><req-type typeName="(abstract_meshed_region)"></req-type></td></tr></tbody></table><table class="pin-box"><tbody><tr><td><pin-number-optional n="1" ellipsis = "false"></pin-number-optional></td><td><pin-name name="mesh_scoping"></pin-name></td><td><req-type typeName="(scoping)"></req-type></td><td><div class = "pin-des-text"><p>Nodal scoping to restrict the skin extraction to a set of nodes. If provided, a skin element is added to the skin mesh if all its nodes are in the scoping.</p>
14087+
</div></figure><div class="op-version">Version 0.0.2</div><h2 class="op-des-h2">Inputs</h2><div><table class="pin-box"><tbody><tr><td><pin-number n="0" ellipsis = "false"></pin-number></td><td><pin-name name="mesh"></pin-name></td><td><req-type typeName="(abstract_meshed_region)"></req-type></td></tr></tbody></table><table class="pin-box"><tbody><tr><td><pin-number-optional n="1" ellipsis = "false"></pin-number-optional></td><td><pin-name name="mesh_scoping"></pin-name></td><td><req-type typeName="(scoping)"></req-type></td><td><div class = "pin-des-text"><p>Nodal scoping to restrict the skin extraction to a set of nodes. If provided, a skin element is added to the skin mesh if all its nodes are in the scoping.</p>
1408814088
</div></td></tr></tbody></table><table class="pin-box"><tbody><tr><td><pin-number-optional n="2" ellipsis = "false"></pin-number-optional></td><td><pin-name name="duplicate_shell"></pin-name></td><td><req-type typeName="(bool)"></req-type></td><td><div class = "pin-des-text"><p>If input mesh contains shell elements, output mesh shell elements (boolean = 1) are duplicated, one per each orientation, or (boolean = 0) remain unchanged.</p>
1408914089
</div></td></tr></tbody></table><table class="pin-box"><tbody><tr><td><pin-number-optional n="3" ellipsis = "false"></pin-number-optional></td><td><pin-name name="add_beam_point"></pin-name></td><td><req-type typeName="(bool)"></req-type></td><td><div class = "pin-des-text"><p>If input mesh contains beam or point elements, output mesh beam point elements (boolean = 1) are added or (boolean = 0) are ignored. Default: False</p>
1409014090
</div></td></tr></tbody></table></div><h2 class="op-des-h2">Outputs</h2><div><table class="pin-box"><tbody><tr><td><pin-number n="0" ellipsis = "false"></pin-number></td><td><pin-name name="mesh"></pin-name></td><td><req-type typeName="(abstract_meshed_region)"></req-type></td><td><div class = "pin-des-text"><p>Skin meshed region with facets and facets_to_ele property fields.</p>
1409114091
</div></td></tr></tbody></table><table class="pin-box"><tbody><tr><td><pin-number n="1" ellipsis = "false"></pin-number></td><td><pin-name name="nodes_mesh_scoping"></pin-name></td><td><req-type typeName="(scoping)"></req-type></td></tr></tbody></table><table class="pin-box"><tbody><tr><td><pin-number n="2" ellipsis = "false"></pin-number></td><td><pin-name name="map_new_elements_to_old"></pin-name></td><td><req-type typeName="(umap<int32,int32>)"></req-type></td></tr></tbody></table><table class="pin-box"><tbody><tr><td><pin-number n="3" ellipsis = "false"></pin-number></td><td><pin-name name="property_field_new_elements_to_old"></pin-name></td><td><req-type typeName="(property_field)"></req-type></td><td><div class = "pin-des-text"><p>This property field provides, for each new face element ID (in the scoping), the corresponding 3D volume element index (in the data) it has been extracted from. The 3D volume element ID can be found with the element scoping of the input mesh.</p>
1409214092
</div></td></tr></tbody></table><table class="pin-box"><tbody><tr><td><pin-number n="4" ellipsis = "false"></pin-number></td><td><pin-name name="facet_indices"></pin-name></td><td><req-type typeName="(property_field)"></req-type></td><td><div class = "pin-des-text"><p>This property field gives, for each new face element ID (in the scoping), the corresponding face index on the source 3D volume element. The 3D volume element can be extracted from the previous output.</p>
14093-
</div></td></tr></tbody></table></div><h2 class="op-des-h2">Configurations</h2><config-spec name="mutex" default="false" doc="If this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads." types="bool" ></config-spec><h2 class="op-des-h2">Scripting</h2><scripting-part scripting_name="skin" license="none" cat="mesh" plugin="core" cpp-name="meshed_skin_sector"></scripting-part><h2 class="op-des-h2">Changelog</h2><op-changelog content='{"0.0.0":"New"}'></op-changelog></div><div class="operator" id="change shell layers" scripting_name="change_shell_layers"plugin="core"cat="utility"><h1 class="op-des-h1">utility: change shell layers</h1><figure class="figure-op-des"> <figcaption > Description </figcaption><div class = "figure-op-des-text"><p>Extract the requested shell layers from the input fields. If the fields contain only one layer and the permissive configuration input is set to true then it returns the input fields. If permissive configuration input is set to false, any change which should not be permitted won't be achieved and the corresponding field in the output will be empty. If permissive configuration input is set to true (default), carefully check the result.</p>
14093+
</div></td></tr></tbody></table></div><h2 class="op-des-h2">Configurations</h2><config-spec name="mutex" default="false" doc="If this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads." types="bool" ></config-spec><h2 class="op-des-h2">Scripting</h2><scripting-part scripting_name="skin" license="none" cat="mesh" plugin="core" cpp-name="meshed_skin_sector"></scripting-part><h2 class="op-des-h2">Changelog</h2><op-changelog content='{"0.0.0":"New","0.0.1":"Fixing issue related to share pointers of property fields and mesh.","0.0.2":"Internal change to share pointers of property fields and mesh."}'></op-changelog></div><div class="operator" id="change shell layers" scripting_name="change_shell_layers"plugin="core"cat="utility"><h1 class="op-des-h1">utility: change shell layers</h1><figure class="figure-op-des"> <figcaption > Description </figcaption><div class = "figure-op-des-text"><p>Extract the requested shell layers from the input fields. If the fields contain only one layer and the permissive configuration input is set to true then it returns the input fields. If permissive configuration input is set to false, any change which should not be permitted won't be achieved and the corresponding field in the output will be empty. If permissive configuration input is set to true (default), carefully check the result.</p>
1409414094
</div></figure><div class="op-version">Version 0.0.0</div><h2 class="op-des-h2">Inputs</h2><div><table class="pin-box"><tbody><tr><td><pin-number n="0" ellipsis = "false"></pin-number></td><td><pin-name name="fields_container"></pin-name></td><td><req-type typeName="(fields_container | field)"></req-type></td></tr></tbody></table><table class="pin-box"><tbody><tr><td><pin-number n="1" ellipsis = "false"></pin-number></td><td><pin-name name="e_shell_layer"></pin-name></td><td><req-type typeName="(int32 | enum dataProcessing::EShellLayers)"></req-type></td><td><div class = "pin-des-text"><p>0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid.</p>
1409514095
</div></td></tr></tbody></table><table class="pin-box"><tbody><tr><td><pin-number-optional n="2" ellipsis = "false"></pin-number-optional></td><td><pin-name name="mesh"></pin-name></td><td><req-type typeName="(abstract_meshed_region | meshes_container)"></req-type></td><td><div class = "pin-des-text"><p>Mesh support of the input fields_container, in case it does not have one defined. If the fields_container contains mixed shell/solid results, the mesh is required (either by connecting this pin or in the support).</p>
1409614096
</div></td></tr></tbody></table><table class="pin-box"><tbody><tr><td><pin-number-optional n="26" ellipsis = "false"></pin-number-optional></td><td><pin-name name="merge"></pin-name></td><td><req-type typeName="(bool)"></req-type></td><td><div class = "pin-des-text"><p>For fields with mixed shell layers (solid/shell elements with heterogeneous shell layers), group all of them in the same field (false by default).</p>

src/ansys/dpf/core/operators/metadata/cyclic_support_provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def __init__(
8787
name="support_provider_cyclic", config=config, server=server
8888
)
8989
except (KeyError, errors.DPFServerException) as e:
90-
if "doesn't exist in the registry" in str(e):
90+
if "doesn't exist" in str(e):
9191
super().__init__(
9292
name="mapdl::rst::support_provider_cyclic",
9393
config=config,

src/ansys/dpf/core/operators/result/nmisc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ def __init__(
133133
try:
134134
super().__init__(name="NMISC", config=config, server=server)
135135
except (KeyError, errors.DPFServerException) as e:
136-
if "doesn't exist in the registry" in str(e):
136+
if "doesn't exist" in str(e):
137137
super().__init__(name="mapdl::nmisc", config=config, server=server)
138138
else:
139139
raise e

src/ansys/dpf/core/operators/result/result_provider.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def __init__(
107107
try:
108108
super().__init__(name="result_provider", config=config, server=server)
109109
except (KeyError, errors.DPFServerException) as e:
110-
if "doesn't exist in the registry" in str(e):
110+
if "doesn't exist" in str(e):
111111
super().__init__(name="custom", config=config, server=server)
112112
else:
113113
raise e

src/ansys/dpf/core/operators/result/smisc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ def __init__(
135135
try:
136136
super().__init__(name="SMISC", config=config, server=server)
137137
except (KeyError, errors.DPFServerException) as e:
138-
if "doesn't exist in the registry" in str(e):
138+
if "doesn't exist" in str(e):
139139
super().__init__(name="mapdl::smisc", config=config, server=server)
140140
else:
141141
raise e
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)