OutputsMac#

class ansys.dpf.core.operators.math.mac.OutputsMac(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.outputs._Outputs

Intermediate class used to get outputs from mac operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.math.mac()
>>> # Connect inputs : op.inputs. ...
>>> result_field = op.outputs.field()

Overview#

field

Allows to get field output of the operator

Import detail#

from ansys.dpf.core.operators.math.mac import OutputsMac

Property detail#

property OutputsMac.field: ansys.dpf.core.outputs.Output#

Allows to get field output of the operator

MAC Matrix for all the combinations between mode fields of Field Container A and Field Container B. Results listed row by row.

Returns:

An Output instance for this pin.

Return type:

output

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.math.mac()
>>> # Get the output from op.outputs. ...
>>> result_field = op.outputs.field()