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

# element_nodal_contribution class

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

## Summary

Compute the fraction of the element measure attributed to each node of each element (fraction of the volume for 3D elements, fraction of the area for 2D elements or fraction of the length for 1D elements). It is computed by taking the integral of the shape function associated to each node within each element.

available inputs: `mesh` (MeshedRegion), `scoping` (Scoping) (optional), `volume_fraction` (bool) (optional)

available outputs: `field` (Field)

## Example

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

op = element_nodal_contribution(mesh=my_mesh,scoping=my_scoping,volume_fraction=my_volume_fraction)
```

## Class Information

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

## Inputs

### mesh

**Type:** *LinkableInput*

### scoping

Integrate the input field over a specific scoping.

**Type:** *LinkableInput*

### volume\_fraction

If true, returns influence volume, area or length. If false, the values are normalized with the element volume, area or length. Default: true.

**Type:** *LinkableInput*

## Outputs

### field

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
element_nodal_contribution(mesh, scoping, volume_fraction, config)
```

**Parameters:**

* `mesh` (*object*)
* `scoping` (*object*)
* `volume_fraction` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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