InputsConcatenateFieldsContainers#
- class ansys.dpf.core.operators.utility.concatenate_fields_containers.InputsConcatenateFieldsContainers(op: ansys.dpf.core.dpf_operator.Operator)#
Bases:
ansys.dpf.core.inputs._InputsIntermediate class used to connect user inputs to concatenate_fields_containers operator.
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.utility.concatenate_fields_containers() >>> my_rescoping_value = float() >>> op.inputs.rescoping_value.connect(my_rescoping_value) >>> my_reference_scoping_index = int() >>> op.inputs.reference_scoping_index.connect(my_reference_scoping_index) >>> my_field_support = dpf.AbstractFieldSupport() >>> op.inputs.field_support.connect(my_field_support) >>> my_fields_containers1 = dpf.() >>> op.inputs.fields_containers1.connect(my_fields_containers1) >>> my_fields_containers2 = dpf.() >>> op.inputs.fields_containers2.connect(my_fields_containers2)
Overview#
Connect any input (an entity or an operator output) to any input pin of this operator. |
Allows to connect rescoping_value input to the operator. |
|
Allows to connect reference_scoping_index input to the operator. |
|
Allows to connect field_support input to the operator. |
|
Allows to connect fields_containers1 input to the operator. |
|
Allows to connect fields_containers2 input to the operator. |
Import detail#
from ansys.dpf.core.operators.utility.concatenate_fields_containers import InputsConcatenateFieldsContainers
Property detail#
- property InputsConcatenateFieldsContainers.rescoping_value: ansys.dpf.core.inputs.Input[float]#
Allows to connect rescoping_value input to the operator.
Value used to fill the missing values when scopings are different. Default is 0.
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.utility.concatenate_fields_containers() >>> op.inputs.rescoping_value.connect(my_rescoping_value) >>> # or >>> op.inputs.rescoping_value(my_rescoping_value)
- property InputsConcatenateFieldsContainers.reference_scoping_index: ansys.dpf.core.inputs.Input[int]#
Allows to connect reference_scoping_index input to the operator.
Pin of the field of which to take the scoping for the output field. If -1 all scopings will be merged, if -2 all scopings will be intersected. Default is -1.
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.utility.concatenate_fields_containers() >>> op.inputs.reference_scoping_index.connect(my_reference_scoping_index) >>> # or >>> op.inputs.reference_scoping_index(my_reference_scoping_index)
- property InputsConcatenateFieldsContainers.field_support: ansys.dpf.core.inputs.Input#
Allows to connect field_support input to the operator.
Support of the output fields container’s fields. By default each field has the support of the corresponding field of the first fields container.
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.utility.concatenate_fields_containers() >>> op.inputs.field_support.connect(my_field_support) >>> # or >>> op.inputs.field_support(my_field_support)
- property InputsConcatenateFieldsContainers.fields_containers1: ansys.dpf.core.inputs.Input#
Allows to connect fields_containers1 input to the operator.
A vector of fields containers to merge from pin 0 to …
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.utility.concatenate_fields_containers() >>> op.inputs.fields_containers1.connect(my_fields_containers1) >>> # or >>> op.inputs.fields_containers1(my_fields_containers1)
- property InputsConcatenateFieldsContainers.fields_containers2: ansys.dpf.core.inputs.Input#
Allows to connect fields_containers2 input to the operator.
A vector of fields containers to merge from pin 0 to …
- Returns:
An Input instance for this pin.
- Return type:
input
Examples
>>> from ansys.dpf import core as dpf >>> op = dpf.operators.utility.concatenate_fields_containers() >>> op.inputs.fields_containers2.connect(my_fields_containers2) >>> # or >>> op.inputs.fields_containers2(my_fields_containers2)
Method detail#
- InputsConcatenateFieldsContainers.__str__()#
- InputsConcatenateFieldsContainers.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.
- InputsConcatenateFieldsContainers.__call__(inpt)#