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
12 changes: 6 additions & 6 deletions doc/source/_static/dpf_operators.html

Large diffs are not rendered by default.

8 changes: 6 additions & 2 deletions src/ansys/dpf/core/operators/math/sweeping_phase.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@

class sweeping_phase(Operator):
r"""Shifts the phase of a real and an imaginary field (in 0 and 1) of a
given angle (in 3) of a unit (in 4).
given angle (in 3) of a unit (in 4). The resulting field is computed as
field_out = real_field\ ``*``\ cos(angle) -
imaginary_field\ ``*``\ sin(angle).


Parameters
Expand Down Expand Up @@ -102,7 +104,9 @@ def __init__(
@staticmethod
def _spec() -> Specification:
description = r"""Shifts the phase of a real and an imaginary field (in 0 and 1) of a
given angle (in 3) of a unit (in 4).
given angle (in 3) of a unit (in 4). The resulting field is computed as
field_out = real_field\ ``*``\ cos(angle) -
imaginary_field\ ``*``\ sin(angle).
"""
spec = Specification(
description=description,
Expand Down
10 changes: 8 additions & 2 deletions src/ansys/dpf/core/operators/math/sweeping_phase_fc.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@

class sweeping_phase_fc(Operator):
r"""Shifts the phase of all the corresponding real and imaginary fields of a
fields container for a given angle (in 2) of a unit (in 4).
fields container for a given angle (in 2) of a unit (in 4). An output
field is computed for each pair of real and imaginary fields in the
input fields_container as field_out = real_field\ ``*``\ cos(angle) -
imaginary_field\ ``*``\ sin(angle).


Parameters
Expand Down Expand Up @@ -85,7 +88,10 @@ def __init__(
@staticmethod
def _spec() -> Specification:
description = r"""Shifts the phase of all the corresponding real and imaginary fields of a
fields container for a given angle (in 2) of a unit (in 4).
fields container for a given angle (in 2) of a unit (in 4). An output
field is computed for each pair of real and imaginary fields in the
input fields_container as field_out = real_field\ ``*``\ cos(angle) -
imaginary_field\ ``*``\ sin(angle).
"""
spec = Specification(
description=description,
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.
Binary file modified src/ansys/dpf/gatebin/libDPFClientAPI.so
Binary file not shown.
Loading