InputsAccumulate#

class ansys.dpf.core.operators.math.accumulate.InputsAccumulate(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.inputs._Inputs

Intermediate class used to connect user inputs to accumulate operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.math.accumulate()
>>> my_fieldA = dpf.Field()
>>> op.inputs.fieldA.connect(my_fieldA)
>>> my_ponderation = dpf.Field()
>>> op.inputs.ponderation.connect(my_ponderation)
>>> my_time_scoping = dpf.Scoping()
>>> op.inputs.time_scoping.connect(my_time_scoping)

Overview#

fieldA

Allows to connect fieldA input to the operator.

ponderation

Allows to connect ponderation input to the operator.

time_scoping

Allows to connect time_scoping input to the operator.

Import detail#

from ansys.dpf.core.operators.math.accumulate import InputsAccumulate

Property detail#

property InputsAccumulate.fieldA#

Allows to connect fieldA input to the operator.

Field or fields container with only one field is expected

Parameters:

my_fieldA (Field or FieldsContainer)

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.math.accumulate()
>>> op.inputs.fieldA.connect(my_fieldA)
>>> # or
>>> op.inputs.fieldA(my_fieldA)
property InputsAccumulate.ponderation#

Allows to connect ponderation input to the operator.

Field containing weights, one weight per entity

Parameters:

my_ponderation (Field)

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.math.accumulate()
>>> op.inputs.ponderation.connect(my_ponderation)
>>> # or
>>> op.inputs.ponderation(my_ponderation)
property InputsAccumulate.time_scoping#

Allows to connect time_scoping input to the operator.

Time_scoping

Parameters:

my_time_scoping (Scoping)

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.math.accumulate()
>>> op.inputs.time_scoping.connect(my_time_scoping)
>>> # or
>>> op.inputs.time_scoping(my_time_scoping)