InputsAssembleScalarsToMatrices#

class ansys.dpf.core.operators.utility.assemble_scalars_to_matrices.InputsAssembleScalarsToMatrices(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.inputs._Inputs

Intermediate class used to connect user inputs to assemble_scalars_to_matrices operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.assemble_scalars_to_matrices()
>>> my_xx = dpf.Field()
>>> op.inputs.xx.connect(my_xx)
>>> my_yy = dpf.Field()
>>> op.inputs.yy.connect(my_yy)
>>> my_zz = dpf.Field()
>>> op.inputs.zz.connect(my_zz)
>>> my_xy = dpf.Field()
>>> op.inputs.xy.connect(my_xy)
>>> my_yz = dpf.Field()
>>> op.inputs.yz.connect(my_yz)
>>> my_xz = dpf.Field()
>>> op.inputs.xz.connect(my_xz)
>>> my_yx = dpf.Field()
>>> op.inputs.yx.connect(my_yx)
>>> my_zy = dpf.Field()
>>> op.inputs.zy.connect(my_zy)
>>> my_zx = dpf.Field()
>>> op.inputs.zx.connect(my_zx)
>>> my_symmetrical = bool()
>>> op.inputs.symmetrical.connect(my_symmetrical)

Overview#

connect

Connect any input (an entity or an operator output) to any input pin of this operator.

xx

Allows to connect xx input to the operator.

yy

Allows to connect yy input to the operator.

zz

Allows to connect zz input to the operator.

xy

Allows to connect xy input to the operator.

yz

Allows to connect yz input to the operator.

xz

Allows to connect xz input to the operator.

yx

Allows to connect yx input to the operator.

zy

Allows to connect zy input to the operator.

zx

Allows to connect zx input to the operator.

symmetrical

Allows to connect symmetrical input to the operator.

Import detail#

from ansys.dpf.core.operators.utility.assemble_scalars_to_matrices import InputsAssembleScalarsToMatrices

Property detail#

property InputsAssembleScalarsToMatrices.xx: ansys.dpf.core.inputs.Input[ansys.dpf.core.field.Field]#

Allows to connect xx input to the operator.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.assemble_scalars_to_matrices()
>>> op.inputs.xx.connect(my_xx)
>>> # or
>>> op.inputs.xx(my_xx)
property InputsAssembleScalarsToMatrices.yy: ansys.dpf.core.inputs.Input[ansys.dpf.core.field.Field]#

Allows to connect yy input to the operator.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.assemble_scalars_to_matrices()
>>> op.inputs.yy.connect(my_yy)
>>> # or
>>> op.inputs.yy(my_yy)
property InputsAssembleScalarsToMatrices.zz: ansys.dpf.core.inputs.Input[ansys.dpf.core.field.Field]#

Allows to connect zz input to the operator.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.assemble_scalars_to_matrices()
>>> op.inputs.zz.connect(my_zz)
>>> # or
>>> op.inputs.zz(my_zz)
property InputsAssembleScalarsToMatrices.xy: ansys.dpf.core.inputs.Input[ansys.dpf.core.field.Field]#

Allows to connect xy input to the operator.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.assemble_scalars_to_matrices()
>>> op.inputs.xy.connect(my_xy)
>>> # or
>>> op.inputs.xy(my_xy)
property InputsAssembleScalarsToMatrices.yz: ansys.dpf.core.inputs.Input[ansys.dpf.core.field.Field]#

Allows to connect yz input to the operator.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.assemble_scalars_to_matrices()
>>> op.inputs.yz.connect(my_yz)
>>> # or
>>> op.inputs.yz(my_yz)
property InputsAssembleScalarsToMatrices.xz: ansys.dpf.core.inputs.Input[ansys.dpf.core.field.Field]#

Allows to connect xz input to the operator.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.assemble_scalars_to_matrices()
>>> op.inputs.xz.connect(my_xz)
>>> # or
>>> op.inputs.xz(my_xz)
property InputsAssembleScalarsToMatrices.yx: ansys.dpf.core.inputs.Input[ansys.dpf.core.field.Field]#

Allows to connect yx input to the operator.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.assemble_scalars_to_matrices()
>>> op.inputs.yx.connect(my_yx)
>>> # or
>>> op.inputs.yx(my_yx)
property InputsAssembleScalarsToMatrices.zy: ansys.dpf.core.inputs.Input[ansys.dpf.core.field.Field]#

Allows to connect zy input to the operator.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.assemble_scalars_to_matrices()
>>> op.inputs.zy.connect(my_zy)
>>> # or
>>> op.inputs.zy(my_zy)
property InputsAssembleScalarsToMatrices.zx: ansys.dpf.core.inputs.Input[ansys.dpf.core.field.Field]#

Allows to connect zx input to the operator.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.assemble_scalars_to_matrices()
>>> op.inputs.zx.connect(my_zx)
>>> # or
>>> op.inputs.zx(my_zx)
property InputsAssembleScalarsToMatrices.symmetrical: ansys.dpf.core.inputs.Input[bool]#

Allows to connect symmetrical input to the operator.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.assemble_scalars_to_matrices()
>>> op.inputs.symmetrical.connect(my_symmetrical)
>>> # or
>>> op.inputs.symmetrical(my_symmetrical)

Method detail#

InputsAssembleScalarsToMatrices.__str__()#
InputsAssembleScalarsToMatrices.connect(inpt)#

Connect any input (an entity or an operator output) to any input pin of this operator.

Searches for the input type corresponding to the output.

Deprecated since version Deprecated: in favor of explicit output-to-input connections.

InputsAssembleScalarsToMatrices.__call__(inpt)#
InputsAssembleScalarsToMatrices.__getitem__(item) → Input#