    

 ## On this page

  

 

 # scoping:transpose

 Last update: 31.07.2026 

**Version: 0.0.0**

## Description

Transposes the input scoping or scopings container (Elemental/Faces --&gt; Nodal, or Nodal ---&gt; Elemental/Faces), based on the input mesh region.

## Inputs

This table lists the input pins for this operator. Input pins define the data that the operator requires to perform its operation. Some inputs are required, while others are optional and provide additional configuration. Each parameter is detailed in the sections that follow the table.

Pin numberNameStatusExpected type(s)0[mesh\_scoping](#input_0)Required[`scoping`](../../core-concepts/dpf-types.md#scoping), [`scopings_container`](../../core-concepts/dpf-types.md#scopings-container)**1**[meshed\_region](#input_1)Required[`meshed_region`](../../core-concepts/dpf-types.md#meshed-region), [`meshes_container`](../../core-concepts/dpf-types.md#meshes-container)**2**[inclusive](#input_2)[`int32`](../../core-concepts/dpf-types.md#standard-types)**9**[requested\_location](#input_9)[`string`](../../core-concepts/dpf-types.md#standard-types)<a id="input_0"></a>

### mesh\_scoping (Pin 0)

- **Required:** Yes
- **Expected type(s):** [`scoping`](../../core-concepts/dpf-types.md#scoping), [`scopings_container`](../../core-concepts/dpf-types.md#scopings-container)

Scoping or scopings container (the input type is the output type)

<a id="input_1"></a>

### meshed\_region (Pin 1)

- **Required:** Yes
- **Expected type(s):** [`meshed_region`](../../core-concepts/dpf-types.md#meshed-region), [`meshes_container`](../../core-concepts/dpf-types.md#meshes-container)

<a id="input_2"></a>

### inclusive (Pin 2)

- **Required:** No
- **Expected type(s):** [`int32`](../../core-concepts/dpf-types.md#standard-types)

if inclusive == 1 then all the elements/faces adjacent to the nodes/faces ids in input are added, if inclusive == 0, only the elements/faces which have all their nodes/faces in the scoping are included

<a id="input_9"></a>

### requested\_location (Pin 9)

- **Required:** No
- **Expected type(s):** [`string`](../../core-concepts/dpf-types.md#standard-types)

Output scoping location for meshes with nodes, faces and elements. By default, elemental and faces scopings transpose to nodal, and nodal scopings transpose to elemental.

## Outputs

This table lists the output pins for this operator. Output pins provide the results of the operator's computation and can be connected to inputs of other operators or retrieved for further processing. Each output is detailed in the sections that follow the table.

Pin numberNameExpected type(s)0[mesh\_scoping](#output_0)[`scoping`](../../core-concepts/dpf-types.md#scoping), [`scopings_container`](../../core-concepts/dpf-types.md#scopings-container)<a id="output_0"></a>

### mesh\_scoping (Pin 0)

- **Expected type(s):** [`scoping`](../../core-concepts/dpf-types.md#scoping), [`scopings_container`](../../core-concepts/dpf-types.md#scopings-container)

Scoping or scopings container (the input type is the output type)

## Configurations

This operator supports [configuration options](../../core-concepts/operator-configurations.md) that modify its behavior.

### [mutex](../../core-concepts/operator-configurations.md#mutex)

- **Expected type(s):** [`bool`](../../core-concepts/dpf-types.md#standard-types)
- **Default value:** false

If this option is set to true, the shared memory is prevented from being simultaneously accessed by multiple threads.

## Scripting

This operator can be accessed through scripting interfaces using these identifiers.

**Category**: scoping

**Plugin**: core

**Scripting name**: transpose

**Full name**: scoping.transpose

**Internal name**: transpose\_scoping

**License**: None

## Examples

These examples demonstrate how to use this operator in different programming environments. Each example shows how to instantiate the operator, connect the required inputs, and retrieve the output.

C++```cpp
#include "dpf_api.h"

ansys::dpf::Operator op("transpose_scoping"); // operator instantiation
op.connect(0, my_mesh_scoping);
op.connect(1, my_meshed_region);
op.connect(2, my_inclusive);
op.connect(9, my_requested_location);
ansys::dpf::Scoping my_mesh_scoping = op.getOutput<ansys::dpf::Scoping>(0);

```

CPython```python
import ansys.dpf.core as dpf

op = dpf.operators.scoping.transpose() # operator instantiation
op.inputs.mesh_scoping.connect(my_mesh_scoping)
op.inputs.meshed_region.connect(my_meshed_region)
op.inputs.inclusive.connect(my_inclusive)
op.inputs.requested_location.connect(my_requested_location)
my_mesh_scoping_as_scoping = op.outputs.mesh_scoping_as_scoping()

```

IPython```python
import mech_dpf
import Ans.DataProcessing as dpf

op = dpf.operators.scoping.transpose() # operator instantiation
op.inputs.mesh_scoping.Connect(my_mesh_scoping)
op.inputs.meshed_region.Connect(my_meshed_region)
op.inputs.inclusive.Connect(my_inclusive)
op.inputs.requested_location.Connect(my_requested_location)
my_mesh_scoping = op.outputs.mesh_scoping.GetData()

```

  
## Changelog

- Version 0.0.0: Initial release.