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

# accumulate_fc class

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

## Summary

Sums all the elementary data of a field to produce one elementary data point.

available inputs: `fields_container` (FieldsContainer), `weights` (Field) (optional), `time_scoping` (Scoping) (optional)

available outputs: `fields_container` (FieldsContainer)

## Example

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

op = accumulate_fc(fields_container=my_fields_container,weights=my_weights,time_scoping=my_time_scoping)
```

## Class Information

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

## Inputs

### fields\_container

field or fields container with only one field is expected

**Type:** *LinkableInput*

### weights

Field containing weights, one weight per entity

**Type:** *LinkableInput*

### ponderation

Deprecated alias of: weights

**Type:** *LinkableInput*

### time\_scoping

time\_scoping

**Type:** *LinkableInput*

## Outputs

### fields\_container

Field containing the (weighted) sum for each component in an elementary data

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
accumulate_fc(fields_container, weights, time_scoping, config)
```

**Parameters:**

* `fields_container` (*object*)
* `weights` (*object*)
* `time_scoping` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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