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

# elemental_mean_fc class

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

## Summary

Computes the average of a multi-entity container of fields, (ElementalNodal -> Elemental), (NodalElemental -> Nodal). If the input fields are mixed shell/solid and collapseShellLayers is false, then the fields could be split by element shape and the output fields container would have an elshape label depending on the e\_shell\_layer and merge\_solid\_shell inputs (if e\_shell\_layer is not specified, the fields are split; if it is specified, the fields can be split based on merge\_solid\_shell).If collapseShellLayers is true, all available shell layers are collapsed and shells and solid fields are always merged.

available inputs: `fields_container` (FieldsContainer), `collapse_shell_layers` (bool) (optional), `force_averaging` (bool) (optional), `scoping` (Scoping, ScopingsContainer) (optional), `meshed_region` (MeshedRegion, MeshesContainer) (optional), `merge_solid_shell` (bool) (optional), `e_shell_layer` (Int32) (optional)

available outputs: `fields_container` (FieldsContainer)

## Example

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

op = elemental_mean_fc(fields_container=my_fields_container,collapse_shell_layers=my_collapse_shell_layers,force_averaging=my_force_averaging,scoping=my_scoping,meshed_region=my_meshed_region,merge_solid_shell=my_merge_solid_shell,e_shell_layer=my_e_shell_layer)
```

## Class Information

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

## Inputs

### fields\_container

**Type:** *LinkableInput*

### collapse\_shell\_layers

If true, the data across different shell layers is averaged as well (default is false).

**Type:** *LinkableInput*

### force\_averaging

If true you average, if false you just sum.

**Type:** *LinkableInput*

### scoping

Average only on these elements. If it is a scoping container, the label must correspond to the one of the fields container.

**Type:** *LinkableInput*

### meshed\_region

The mesh region in this pin is used to perform the averaging. It is used if there is no fields support.

**Type:** *LinkableInput*

### merge\_solid\_shell

For shell/solid mixed fields, group in the same field all solids and shells (false by default). This pin only has an effect when collapse\_shell\_layers is false and a value for e\_shell\_layer is provided.

**Type:** *LinkableInput*

### e\_shell\_layer

0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. This pin only has an effect when collapse\_shell\_layers is false.

**Type:** *LinkableInput*

## Outputs

### fields\_container

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
elemental_mean_fc(fields_container, collapse_shell_layers, force_averaging, scoping, meshed_region, merge_solid_shell, e_shell_layer, config)
```

**Parameters:**

* `fields_container` (*object*)
* `collapse_shell_layers` (*object*)
* `force_averaging` (*object*)
* `scoping` (*object*)
* `meshed_region` (*object*)
* `merge_solid_shell` (*object*)
* `e_shell_layer` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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