> ## 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_nodal_to_nodal_fc class

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

## Summary

Transforms Elemental Nodal fields into Nodal fields using an averaging process. The result is computed on a given node's scoping. If the input fields are mixed shell/solid, then the fields are split by element shape and the output fields container has an elshape label depending on the merge\_solid\_shell input.

available inputs: `fields_container` (FieldsContainer), `mesh` (MeshedRegion, MeshesContainer) (optional), `should_average` (bool) (optional), `scoping` (Scoping, ScopingsContainer) (optional), `extend_to_mid_nodes` (bool) (optional), `extend_weights_to_mid_nodes` (bool) (optional), `merge_solid_shell` (bool) (optional), `shell_layer` (Int32) (optional)

available outputs: `fields_container` (FieldsContainer), `weights` ()

## Example

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

op = elemental_nodal_to_nodal_fc(fields_container=my_fields_container,mesh=my_mesh,should_average=my_should_average,scoping=my_scoping,extend_to_mid_nodes=my_extend_to_mid_nodes,extend_weights_to_mid_nodes=my_extend_weights_to_mid_nodes,merge_solid_shell=my_merge_solid_shell,shell_layer=my_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*

### mesh

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

**Type:** *LinkableInput*

### should\_average

Each nodal value is divided by the number of elements linked to this node (default is true for discrete quantities).

**Type:** *LinkableInput*

### scoping

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

**Type:** *LinkableInput*

### extend\_to\_mid\_nodes

Compute mid nodes (when available) by averaging the neighbour primary nodes.

**Type:** *LinkableInput*

### extend\_weights\_to\_mid\_nodes

Extends weights to mid nodes (when available). Default is false.

**Type:** *LinkableInput*

### merge\_solid\_shell

For shell/solid mixed fields, group in the same field all solids and shells (false by default). If this pin is true, a shell\_layer needs to be specified.

**Type:** *LinkableInput*

### shell\_layer

0: Top, 1: Bottom, 2: TopBottom, 3: Mid, 4: TopBottomMid. If merge\_solid\_shell is true, this pin needs to be specified to a value that extracts only one layer (Top, Bottom or Mid).

**Type:** *LinkableInput*

## Outputs

### fields\_container

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
elemental_nodal_to_nodal_fc(fields_container, mesh, should_average, scoping, extend_to_mid_nodes, extend_weights_to_mid_nodes, merge_solid_shell, shell_layer, config)
```

**Parameters:**

* `fields_container` (*object*)
* `mesh` (*object*)
* `should_average` (*object*)
* `scoping` (*object*)
* `extend_to_mid_nodes` (*object*)
* `extend_weights_to_mid_nodes` (*object*)
* `merge_solid_shell` (*object*)
* `shell_layer` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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