Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/source/_static/dpf_operators.html
Original file line number Diff line number Diff line change
Expand Up @@ -14084,13 +14084,13 @@ <h2 class="h2-main">Configurating operators</h2>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
</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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def __init__(
name="support_provider_cyclic", config=config, server=server
)
except (KeyError, errors.DPFServerException) as e:
if "doesn't exist in the registry" in str(e):
if "doesn't exist" in str(e):
super().__init__(
name="mapdl::rst::support_provider_cyclic",
config=config,
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/dpf/core/operators/result/nmisc.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ def __init__(
try:
super().__init__(name="NMISC", config=config, server=server)
except (KeyError, errors.DPFServerException) as e:
if "doesn't exist in the registry" in str(e):
if "doesn't exist" in str(e):
super().__init__(name="mapdl::nmisc", config=config, server=server)
else:
raise e
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/dpf/core/operators/result/result_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def __init__(
try:
super().__init__(name="result_provider", config=config, server=server)
except (KeyError, errors.DPFServerException) as e:
if "doesn't exist in the registry" in str(e):
if "doesn't exist" in str(e):
super().__init__(name="custom", config=config, server=server)
else:
raise e
Expand Down
2 changes: 1 addition & 1 deletion src/ansys/dpf/core/operators/result/smisc.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ def __init__(
try:
super().__init__(name="SMISC", config=config, server=server)
except (KeyError, errors.DPFServerException) as e:
if "doesn't exist in the registry" in str(e):
if "doesn't exist" in str(e):
super().__init__(name="mapdl::smisc", config=config, server=server)
else:
raise e
Expand Down
Binary file modified src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll
Binary file not shown.
Binary file modified src/ansys/dpf/gatebin/DPFClientAPI.dll
Binary file not shown.
Binary file modified src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so
Binary file not shown.
Loading