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

# elements_volume class

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

## Summary

Compute the measure of the Elements (volume for 3D elements, surface for 2D elements or length for 1D elements) using default shape functions, except for polyhedrons.

available inputs: `mesh` (MeshedRegion), `mesh_scoping` (Scoping)

available outputs: `field` (Field)

## Example

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

op = elements_volume(mesh=my_mesh,mesh_scoping=my_mesh_scoping)
```

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

### mesh\_scoping

If not provided, the measure of all elements for the mesh is computed. If provided, the Scoping needs to have "Elemental" location.

**Type:** *LinkableInput*

## Outputs

### field

**Type:** *LinkableOutput*

## Constructors

#### Constructor

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

#### Constructor

```python theme={null}
elements_volume(mesh, mesh_scoping, config)
```

**Parameters:**

* `mesh` (*object*)
* `mesh_scoping` (*object*)
* `config` (*OperatorConfig*)

#### Constructor

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