InputsModulus#

class ansys.dpf.core.operators.math.modulus.InputsModulus(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.inputs._Inputs

Intermediate class used to connect user inputs to modulus operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.math.modulus()
>>> my_fields_container = dpf.FieldsContainer()
>>> op.inputs.fields_container.connect(my_fields_container)

Overview#

fields_container

Allows to connect fields_container input to the operator.

Import detail#

from ansys.dpf.core.operators.math.modulus import InputsModulus

Property detail#

property InputsModulus.fields_container#

Allows to connect fields_container input to the operator.

Parameters:

my_fields_container (FieldsContainer)

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.math.modulus()
>>> op.inputs.fields_container.connect(my_fields_container)
>>> # or
>>> op.inputs.fields_container(my_fields_container)