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#

Allows to get field output of the operator

Returns:

my_field

Return type:

Field

Examples

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