diff --git a/doc/source/_static/dpf_operators.html b/doc/source/_static/dpf_operators.html index 5d11c1dda5d..61f289db581 100644 --- a/doc/source/_static/dpf_operators.html +++ b/doc/source/_static/dpf_operators.html @@ -5455,12 +5455,12 @@
Double/Vector of doubles/Field/FieldsContainer. When scoped on overall, same value(s) applied on all the data, when scoped elsewhere, corresponding values will be multiplied due to the scoping |
Default is false. If set to true, output of scale is made dimensionless |
Default is 0 use mkl. If set to 1, don't - |
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).
-field or fields container with only one field is expected + |
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). The resulting field is computed as field_out = real_field*cos(angle) - imaginary_field*sin(angle).
field or fields container with only one field is expected |
field or fields container with only one field is expected |
String Unit. Supported values: "deg" or "rad". Default: "rad". |
If the imaginary part field is empty and this pin is true, then the imaginary part is supposed to be 0 (default is false). - |
Computes centroid of field1 and field2, using fieldOut = field1*(1.-fact)+field2*(fact). Only works by index.
+Computes centroid of field1 and field2, using fieldOut = field1*(1.-fact)+field2*(fact). Only works by index.
field or fields container with only one field is expected |
field or fields container with only one field is expected |
Scalar @@ -5468,9 +5468,9 @@Configurating operatorsVersion 0.0.0 Inputs
OutputsConfigurationsScriptingChangelogmath: sweeping phase (fields container)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). -Version 0.0.0 Inputs
OutputsConfigurationsScriptingChangelogmath: centroid (fields container)Computes the centroid of all the matching fields of a fields container at a given time or frequency, using fieldOut = field1*(1.-fact)+field2*(fact). + |
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). 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).
String Unit. Supported values: "deg" or "rad". Default: "rad". + |
Computes the centroid of all the matching fields of a fields container at a given time or frequency, using fieldOut = field1*(1.-fact)+field2*(fact).
Computes element-wise field[i]^2.
field or fields container with only one field is expected |
Read/compute nodal reaction forces Z component of the vector (3rd component) by calling the readers defined by the datasources.
diff --git a/src/ansys/dpf/core/operators/math/sweeping_phase.py b/src/ansys/dpf/core/operators/math/sweeping_phase.py index 6127d70f642..e22f6b25cb6 100644 --- a/src/ansys/dpf/core/operators/math/sweeping_phase.py +++ b/src/ansys/dpf/core/operators/math/sweeping_phase.py @@ -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 @@ -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, diff --git a/src/ansys/dpf/core/operators/math/sweeping_phase_fc.py b/src/ansys/dpf/core/operators/math/sweeping_phase_fc.py index 5f8dd79c20d..7e18b342347 100644 --- a/src/ansys/dpf/core/operators/math/sweeping_phase_fc.py +++ b/src/ansys/dpf/core/operators/math/sweeping_phase_fc.py @@ -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 @@ -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, diff --git a/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll b/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll index e4648784fa3..94198a58961 100644 Binary files a/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll and b/src/ansys/dpf/gatebin/Ans.Dpf.GrpcClient.dll differ diff --git a/src/ansys/dpf/gatebin/DPFClientAPI.dll b/src/ansys/dpf/gatebin/DPFClientAPI.dll index fd2e5f46712..bd95fb14f5d 100644 Binary files a/src/ansys/dpf/gatebin/DPFClientAPI.dll and b/src/ansys/dpf/gatebin/DPFClientAPI.dll differ diff --git a/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so b/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so index 0ca347f0604..13bef8a5d40 100644 Binary files a/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so and b/src/ansys/dpf/gatebin/libAns.Dpf.GrpcClient.so differ diff --git a/src/ansys/dpf/gatebin/libDPFClientAPI.so b/src/ansys/dpf/gatebin/libDPFClientAPI.so index e625ccb39c0..56db8ac6e43 100644 Binary files a/src/ansys/dpf/gatebin/libDPFClientAPI.so and b/src/ansys/dpf/gatebin/libDPFClientAPI.so differ