InputsComputeTimeScoping#

class ansys.dpf.core.operators.utility.compute_time_scoping.InputsComputeTimeScoping(op: ansys.dpf.core.dpf_operator.Operator)#

Bases: ansys.dpf.core.inputs._Inputs

Intermediate class used to connect user inputs to compute_time_scoping operator.

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.compute_time_scoping()
>>> my_time_freq_values = float()
>>> op.inputs.time_freq_values.connect(my_time_freq_values)
>>> my_step = int()
>>> op.inputs.step.connect(my_step)
>>> my_interpolation_type = int()
>>> op.inputs.interpolation_type.connect(my_interpolation_type)
>>> my_time_freq_support = dpf.TimeFreqSupport()
>>> op.inputs.time_freq_support.connect(my_time_freq_support)

Overview#

connect

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

time_freq_values

Allows to connect time_freq_values input to the operator.

step

Allows to connect step input to the operator.

interpolation_type

Allows to connect interpolation_type input to the operator.

time_freq_support

Allows to connect time_freq_support input to the operator.

Import detail#

from ansys.dpf.core.operators.utility.compute_time_scoping import InputsComputeTimeScoping

Property detail#

property InputsComputeTimeScoping.time_freq_values: ansys.dpf.core.inputs.Input[float | ansys.dpf.core.field.Field | ansys.dpf.core.time_freq_support.TimeFreqSupport]#

Allows to connect time_freq_values input to the operator.

List of frequencies or times needed. To specify load steps, put a field (and not a list) in input with a scoping located on “TimeFreq_steps”.

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.compute_time_scoping()
>>> op.inputs.time_freq_values.connect(my_time_freq_values)
>>> # or
>>> op.inputs.time_freq_values(my_time_freq_values)
property InputsComputeTimeScoping.step: ansys.dpf.core.inputs.Input[int]#

Allows to connect step 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.compute_time_scoping()
>>> op.inputs.step.connect(my_step)
>>> # or
>>> op.inputs.step(my_step)
property InputsComputeTimeScoping.interpolation_type: ansys.dpf.core.inputs.Input[int]#

Allows to connect interpolation_type input to the operator.

1:ramped’ or 2:stepped’, default is ramped

Returns:

An Input instance for this pin.

Return type:

input

Examples

>>> from ansys.dpf import core as dpf
>>> op = dpf.operators.utility.compute_time_scoping()
>>> op.inputs.interpolation_type.connect(my_interpolation_type)
>>> # or
>>> op.inputs.interpolation_type(my_interpolation_type)
property InputsComputeTimeScoping.time_freq_support: ansys.dpf.core.inputs.Input[ansys.dpf.core.time_freq_support.TimeFreqSupport]#

Allows to connect time_freq_support 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.compute_time_scoping()
>>> op.inputs.time_freq_support.connect(my_time_freq_support)
>>> # or
>>> op.inputs.time_freq_support(my_time_freq_support)

Method detail#

InputsComputeTimeScoping.__str__()#
InputsComputeTimeScoping.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.

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