Skip to content

Commit 498a543

Browse files
Update generated code for DPF 261_daily on main (#2591)
Co-authored-by: PProfizi <[email protected]>
1 parent 7decc6d commit 498a543

File tree

7 files changed

+20
-10
lines changed

7 files changed

+20
-10
lines changed

doc/source/_static/dpf_operators.html

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

src/ansys/dpf/core/operators/math/sweeping_phase.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717

1818
class sweeping_phase(Operator):
1919
r"""Shifts the phase of a real and an imaginary field (in 0 and 1) of a
20-
given angle (in 3) of a unit (in 4).
20+
given angle (in 3) of a unit (in 4). The resulting field is computed as
21+
field_out = real_field\ ``*``\ cos(angle) -
22+
imaginary_field\ ``*``\ sin(angle).
2123
2224
2325
Parameters
@@ -102,7 +104,9 @@ def __init__(
102104
@staticmethod
103105
def _spec() -> Specification:
104106
description = r"""Shifts the phase of a real and an imaginary field (in 0 and 1) of a
105-
given angle (in 3) of a unit (in 4).
107+
given angle (in 3) of a unit (in 4). The resulting field is computed as
108+
field_out = real_field\ ``*``\ cos(angle) -
109+
imaginary_field\ ``*``\ sin(angle).
106110
"""
107111
spec = Specification(
108112
description=description,

src/ansys/dpf/core/operators/math/sweeping_phase_fc.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717

1818
class sweeping_phase_fc(Operator):
1919
r"""Shifts the phase of all the corresponding real and imaginary fields of a
20-
fields container for a given angle (in 2) of a unit (in 4).
20+
fields container for a given angle (in 2) of a unit (in 4). An output
21+
field is computed for each pair of real and imaginary fields in the
22+
input fields_container as field_out = real_field\ ``*``\ cos(angle) -
23+
imaginary_field\ ``*``\ sin(angle).
2124
2225
2326
Parameters
@@ -85,7 +88,10 @@ def __init__(
8588
@staticmethod
8689
def _spec() -> Specification:
8790
description = r"""Shifts the phase of all the corresponding real and imaginary fields of a
88-
fields container for a given angle (in 2) of a unit (in 4).
91+
fields container for a given angle (in 2) of a unit (in 4). An output
92+
field is computed for each pair of real and imaginary fields in the
93+
input fields_container as field_out = real_field\ ``*``\ cos(angle) -
94+
imaginary_field\ ``*``\ sin(angle).
8995
"""
9096
spec = Specification(
9197
description=description,
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)