OutputsMac#
- class ansys.dpf.core.operators.math.mac.OutputsMac(op: ansys.dpf.core.dpf_operator.Operator)#
Bases:
ansys.dpf.core.outputs._OutputsIntermediate 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#
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[ansys.dpf.core.field.Field]#
Allows to get field output of the operator
MAC matrix of size $N_A times N_B$, where $N_A$ and $N_B$ are the number of mode shapes in containers A and B respectively. Entries are stored row by row: entry at position $(i,j)$ is $MAC_{ij}$.
- 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()
Method detail#
- OutputsMac.__str__()#