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 @@

Configurating operators

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

-

Outputs

Configurations

Scripting

Changelog

math: sweeping phase

Description

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).

-
Version 0.0.0

Inputs

field or fields container with only one field is expected

+

Outputs

Configurations

Scripting

Changelog

math: sweeping phase

Description

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).

+
Version 0.0.1

Inputs

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).

-

Outputs

Configurations

Scripting

Changelog

math: centroid

Description

Computes centroid of field1 and field2, using fieldOut = field1*(1.-fact)+field2*(fact). Only works by index.

+

Outputs

Configurations

Scripting

Changelog

math: centroid

Description

Computes centroid of field1 and field2, using fieldOut = field1*(1.-fact)+field2*(fact). Only works by index.

Version 0.0.0

Inputs

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 operators

Version 0.0.0

Inputs

field or fields container with only one field is expected

A threshold scalar or a field containing one value is expected.

The default is false. If set to true, the complement of the filtered fields container is returned on output pin 1.

-

Outputs

Configurations

Scripting

Changelog

math: sweeping phase (fields container)

Description

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

String Unit. Supported values: "deg" or "rad". Default: "rad".

-

Outputs

Configurations

Scripting

Changelog

math: centroid (fields container)

Description

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).

+

Outputs

Configurations

Scripting

Changelog

math: sweeping phase (fields container)

Description

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).

+
Version 0.0.1

Inputs

String Unit. Supported values: "deg" or "rad". Default: "rad".

+

Outputs

Configurations

Scripting

Changelog

math: centroid (fields container)

Description

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).

Version 0.0.0

Inputs

Outputs

Configurations

Scripting

Changelog

math: ^2 (field)

Description

Computes element-wise field[i]^2.

Version 0.0.0

Inputs

field or fields container with only one field is expected

Outputs

Configurations

Scripting

Changelog

result: reaction force Z

Description

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