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

# accumulation_per_scoping class

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

## Summary

This operator calculates the sum and the percentage of total sum of the input fields container for each scoping of the scopings container.

available inputs: `fields_container` (FieldsContainer), `mesh_scoping` (Scoping) (optional), `streams_container` (StreamsContainer), `data_sources` (DataSources), `scopings_container` (ScopingsContainer)

available outputs: `accumulation_per_scoping` (FieldsContainer), `accumulation_per_scoping_percentage` (FieldsContainer)

## Example

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

op = accumulation_per_scoping(fields_container=my_fields_container,mesh_scoping=my_mesh_scoping,streams_container=my_streams_container,data_sources=my_data_sources,scopings_container=my_scopings_container)
```

## Class Information

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

## Inputs

### fields\_container

**Type:** *LinkableInput*

### mesh\_scoping

Master scoping. All scopings in the Scopings Container will be intersected with this scoping.

**Type:** *LinkableInput*

### streams\_container

**Type:** *LinkableInput*

### data\_sources

**Type:** *LinkableInput*

### scopings\_container

The intersection between the of the first will be used.

**Type:** *LinkableInput*

## Outputs

### accumulation\_per\_scoping

**Type:** *LinkableOutput*

### accumulation\_per\_scoping\_percentage

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
accumulation_per_scoping(fields_container, mesh_scoping, streams_container, data_sources, scopings_container, config)
```

**Parameters:**

* `fields_container` (*object*)
* `mesh_scoping` (*object*)
* `streams_container` (*object*)
* `data_sources` (*object*)
* `scopings_container` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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