Skip to main content

DPF Mechanical 2026 R1

sqrt class

Last update: 18.06.2026

Namespace: Ans.DataProcessing.operators.math

Summary

Computes element-wise square root function on field data: sqrt(field[i]).

available inputs: field (Field, FieldsContainer)

available outputs: field (Field)

Example

op = sqrt()

op = sqrt(field=my_field)

Class Information

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

Inputs

field

Field or fields container containing numeric data for square root calculation

Type: LinkableInput

Outputs

field

Field with square root values applied element-wise to input data

Type: LinkableOutput

Constructors

Constructor

sqrt()

Constructor

sqrt(field, config)

Parameters:

  • field (object)
  • config (OperatorConfig)

Constructor

sqrt(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