conjugate
#
- class ansys.dpf.core.operators.math.conjugate.conjugate(fields_container=None, config=None, server=None)#
Bases:
ansys.dpf.core.dpf_operator.Operator
Computes element-wise conjugate of field containers containing complex fields.
- Parameters:
fields_container (FieldsContainer)
- Returns:
fields_container
- Return type:
Examples
>>> from ansys.dpf import core as dpf
>>> # Instantiate operator >>> op = dpf.operators.math.conjugate()
>>> # Make input connections >>> my_fields_container = dpf.FieldsContainer() >>> op.inputs.fields_container.connect(my_fields_container)
>>> # Instantiate operator and connect inputs in one line >>> op = dpf.operators.math.conjugate( ... fields_container=my_fields_container, ... )
>>> # Get output data >>> result_fields_container = op.outputs.fields_container()
Overview#
Returns the default config of the operator. |
Import detail#
from ansys.dpf.core.operators.math.conjugate import conjugate
Property detail#
- property conjugate.inputs#
Enables to connect inputs to the operator
- Returns:
inputs
- Return type:
- property conjugate.outputs#
Enables to get outputs of the operator by evaluating it
- Returns:
outputs
- Return type:
Method detail#
- static conjugate.default_config(server=None)#
Returns the default config of the operator.
This config can then be changed to the user needs and be used to instantiate the operator. The Configuration allows to customize how the operation will be processed by the operator.
- Parameters:
server (server.DPFServer, optional) – Server with channel connected to the remote or local instance. When
None
, attempts to use the global server.