Skip to content

Commit bdca119

Browse files
Add the Returns section to the operator automatic docstring (#1823)
* Add the Returns section to the operator automatic docstring Signed-off-by: paul.profizi <[email protected]> * update generated code (#1824) Co-authored-by: PProfizi <[email protected]> --------- Signed-off-by: paul.profizi <[email protected]> Co-authored-by: PyAnsys CI Bot <[email protected]> Co-authored-by: PProfizi <[email protected]>
1 parent aa61495 commit bdca119

File tree

724 files changed

+2858
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

724 files changed

+2858
-0
lines changed

src/ansys/dpf/core/operators/averaging/elemental_difference.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ class elemental_difference(Operator):
3030
through the different shell layers if
3131
true (default is false).
3232
33+
Returns
34+
-------
35+
field : Field
3336
3437
Examples
3538
--------

src/ansys/dpf/core/operators/averaging/elemental_difference_fc.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ class elemental_difference_fc(Operator):
3838
through the different shell layers if
3939
true (default is false).
4040
41+
Returns
42+
-------
43+
fields_container : FieldsContainer
4144
4245
Examples
4346
--------

src/ansys/dpf/core/operators/averaging/elemental_fraction_fc.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@ class elemental_fraction_fc(Operator):
4040
different shell layers if true
4141
(default is false).
4242
43+
Returns
44+
-------
45+
fields_container : FieldsContainer
4346
4447
Examples
4548
--------

src/ansys/dpf/core/operators/averaging/elemental_mean.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ class elemental_mean(Operator):
2929
correspond to the one of the fields
3030
containers.
3131
32+
Returns
33+
-------
34+
field : Field
3235
3336
Examples
3437
--------

src/ansys/dpf/core/operators/averaging/elemental_mean_fc.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ class elemental_mean_fc(Operator):
3636
perform the averaging. it is used if
3737
there is no fields support.
3838
39+
Returns
40+
-------
41+
fields_container : FieldsContainer
3942
4043
Examples
4144
--------

src/ansys/dpf/core/operators/averaging/elemental_nodal_to_nodal.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@ class elemental_nodal_to_nodal(Operator):
3636
available). default is false.
3737
mesh : MeshedRegion, optional
3838
39+
Returns
40+
-------
41+
field : Field
42+
weight : PropertyField
43+
Provides the number of times it was found in
44+
the elemental nodal field, for each
45+
node. can be used to average later.
3946
4047
Examples
4148
--------

src/ansys/dpf/core/operators/averaging/elemental_nodal_to_nodal_elemental.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ class elemental_nodal_to_nodal_elemental(Operator):
2222
is expected
2323
mesh_scoping : Scoping, optional
2424
25+
Returns
26+
-------
27+
field : Field
2528
2629
Examples
2730
--------

src/ansys/dpf/core/operators/averaging/elemental_nodal_to_nodal_elemental_fc.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ class elemental_nodal_to_nodal_elemental_fc(Operator):
2020
fields_container : FieldsContainer
2121
mesh_scoping : Scoping, optional
2222
23+
Returns
24+
-------
25+
fields_container : FieldsContainer
2326
2427
Examples
2528
--------

src/ansys/dpf/core/operators/averaging/elemental_nodal_to_nodal_fc.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,14 @@ class elemental_nodal_to_nodal_fc(Operator):
5252
one field all solids and shells (only
5353
on one layer).
5454
55+
Returns
56+
-------
57+
fields_container : FieldsContainer
58+
weights : Class Dataprocessing::Dpftypecollection&lt;Class
59+
Dataprocessing::Cpropertyfield&gt;
60+
Gives for each node, the number of times it
61+
was found in the elemental nodal
62+
field. can be used to average later.
5563
5664
Examples
5765
--------

src/ansys/dpf/core/operators/averaging/elemental_to_elemental_nodal.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ class elemental_to_elemental_nodal(Operator):
2323
Average only on these entities
2424
mesh : MeshedRegion, optional
2525
26+
Returns
27+
-------
28+
field : Field
2629
2730
Examples
2831
--------

0 commit comments

Comments
 (0)