Skip to main content

DPF Mechanical 2026 R1

add class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.math

add()

add(fieldA: object, fieldB: object, config: OperatorConfig)

add(config: OperatorConfig)

Class Information

Property Value
Namespace Ans.DataProcessing.operators.math
Assembly Ans_Dpf_Native_dll_cs
Base Class Ans.DataProcessing.internal_objects.BaseOperator

Inputs

fieldA

field or fields container with only one field is expected

Type: LinkableInput

fieldB

field or fields container with only one field is expected

Type: LinkableInput

Outputs

field

Field containing the element-wise sum of the two input fields

Type: LinkableOutput

Constructors

Constructor

add()

Constructor

add(fieldA, fieldB, config)

Parameters:

  • fieldA (object)
  • fieldB (object)
  • config (OperatorConfig)

Constructor

add(config)

Parameters:

  • config (OperatorConfig)

Methods

Properties

inputs

Type: InputSpec

# Get or set the property
value = obj.inputs
obj.inputs = new_value

outputs

Type: OutputSpec

# Get or set the property
value = obj.outputs
obj.outputs = new_value

defaultConfig

Type: Config

# Get the property (read-only)
value = obj.defaultConfig

Connect with Ansys