> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# torque class

**Namespace:** [Ans.DataProcessing.operators.result](https://developer.synopsys.com/docs/dpf/dpf-mechanical/api/Ans.DataProcessing/operators/result)

## Summary

Compute torque of a force based on a 3D point.

available inputs: `fields_container` (FieldsContainer), `spoint` (Field, FieldsContainer)

available outputs: `fields_container` (FieldsContainer)

## Example

```python theme={null}
op = torque()

op = torque(fields_container=my_fields_container,spoint=my_spoint)
```

## Class Information

| Property | Value |
| - | - |
| Namespace | `Ans.DataProcessing.operators.result` |
| Assembly | `Ans_Dpf_FEMutils_dll_cs` |
| Base Class | `Ans.DataProcessing.internal_objects.BaseOperator` |

## Inputs

### fields\_container

Fields container containing the nodal forces.

**Type:** *LinkableInput*

### spoint

Field or fields container containing the summation points for each associated field on pin 0.

**Type:** *LinkableInput*

### field

Deprecated alias of: spoint

**Type:** *LinkableInput*

## Outputs

### fields\_container

**Type:** *LinkableOutput*

## Constructors

#### Constructor

```python theme={null}
torque()
```

#### Constructor

```python theme={null}
torque(fields_container, spoint, config)
```

**Parameters:**

* `fields_container` (*object*)
* `spoint` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

```python theme={null}
torque(config)
```

**Parameters:**

* `config` (*OperatorConfig*)

## Methods

## Properties

#### inputs

**Type:** *InputSpec*

```python theme={null}
# Get or set the property
value = obj.inputs
obj.inputs = new_value
```

#### outputs

**Type:** *OutputSpec*

```python theme={null}
# Get or set the property
value = obj.outputs
obj.outputs = new_value
```

#### defaultConfig

**Type:** *Config*

```python theme={null}
# Get the property (read-only)
value = obj.defaultConfig
```
