> ## 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.

# compute_total_strain_1 class

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

compute\_total\_strain\_1()

compute\_total\_strain\_1(time\_scoping: object, scoping: object, streams\_container: object, data\_sources: object, extrapolate: object, nonlinear: object, meshed\_region: object, requested\_location: object, displacement: object, config: OperatorConfig)

compute\_total\_strain\_1(config: OperatorConfig)

## Class Information

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

## Inputs

### time\_scoping

time/freq values (use doubles or field), time/freq set ids (use ints or scoping) or time/freq step ids (use scoping with TimeFreq\_steps location) required in output. To specify time/freq values at specific load steps, put a Field (and not a list) in input with a scoping located on "TimeFreq\_steps". Linear time freq intrapolation is performed if the values are not in the result files and the data at the max time or freq is taken when time/freqs are higher than available time/freqs in result files. To get all data for all time/freq sets, connect an int with value -1.. Will only be used if no displacement input is given (will be applied on displacement operator).

**Type:** *LinkableInput*

### scoping

The element scoping on which the result is computed.

**Type:** *LinkableInput*

### streams\_container

Optional if a mesh or a data\_sources have been connected. Required if no displacement input have been connected.

**Type:** *LinkableInput*

### data\_sources

Optional if a mesh or a streams\_container have been connected, or if the displacement's field has a mesh support. Required if no displacement input have been connected.

**Type:** *LinkableInput*

### extrapolate

Whether to extrapolate the data from the integration points to the nodes.

**Type:** *LinkableInput*

### nonlinear

Whether to use nonlinear geometry or nonlinear material (1 = large strain, 2 = hyperelasticity).

**Type:** *LinkableInput*

### meshed\_region

The underlying mesh. Optional if a data\_sources or a streams\_container have been connected, or if the displacement's field has a mesh support.

**Type:** *LinkableInput*

### requested\_location

Average the Elemental Nodal result to the requested location.

**Type:** *LinkableInput*

### displacement

Field/or fields container containing only the displacement field (nodal). If none specified, read displacements from result file using the data\_sources.

**Type:** *LinkableInput*

## Outputs

### fields\_container

The computed result fields container (elemental nodal).

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
compute_total_strain_1(time_scoping, scoping, streams_container, data_sources, extrapolate, nonlinear, meshed_region, requested_location, displacement, config)
```

**Parameters:**

* `time_scoping` (*object*)
* `scoping` (*object*)
* `streams_container` (*object*)
* `data_sources` (*object*)
* `extrapolate` (*object*)
* `nonlinear` (*object*)
* `meshed_region` (*object*)
* `requested_location` (*object*)
* `displacement` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

```python theme={null}
compute_total_strain_1(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
```
