    

 ## On this page

  

 

 # Structure ansys::dpf::locations

 Last update: 25.03.2026 

<a id="structansys-dpf-locations"></a>

![](https://img.shields.io/badge/language-C%2B%2B-blue "C++")![](https://img.shields.io/badge/-public-brightgreen "public")

Predefined location quantities.

Results are evaluated at locations.

**See also**: [Location](structansys-dpf-location.md#structansys-dpf-location)

## Members

- [add\_custom](structansys-dpf-locations.md#structansys-dpf-locations-1a2b734a87208388ed01d8cb587043405b)
- [all](structansys-dpf-locations.md#structansys-dpf-locations-1a271a9fed8a1f57c015715167a8ce72c0)
- [band](structansys-dpf-locations.md#structansys-dpf-locations-1a6441fe6518684351e3f3f7ba52396615)
- [body](structansys-dpf-locations.md#structansys-dpf-locations-1acfb36fa3e6c22d12b971fdf941d6dab8)
- [contact](structansys-dpf-locations.md#structansys-dpf-locations-1ae0384994ee793ef9de351b28c49ba706)
- [elemental](structansys-dpf-locations.md#structansys-dpf-locations-1a3f66169a86ab935fb398b3fdde98bb04)
- [elemental\_and\_faces](structansys-dpf-locations.md#structansys-dpf-locations-1a0a70014790184f7fd2e4341c2bdb7711)
- [elemental\_nodal](structansys-dpf-locations.md#structansys-dpf-locations-1a0bda534055805adc4c08bece34989ff3)
- [elemental\_nodal\_centroid](structansys-dpf-locations.md#structansys-dpf-locations-1a5b54316cebce849e6a8489d19a990246)
- [faces](structansys-dpf-locations.md#structansys-dpf-locations-1a111716841842157a978ebebdc9c503b6)
- [harmonic\_index](structansys-dpf-locations.md#structansys-dpf-locations-1a46ac72d7066346bc309dfb44de1a20cf)
- [joint](structansys-dpf-locations.md#structansys-dpf-locations-1a0a7d57a4476a34178090d4fa96f0c550)
- [nodal](structansys-dpf-locations.md#structansys-dpf-locations-1aa4e1967b0838d8597200c606c8564d29)
- [nodal\_elemental](structansys-dpf-locations.md#structansys-dpf-locations-1aba56d24e91e52e4742ee5505dff04b94)
- [overall](structansys-dpf-locations.md#structansys-dpf-locations-1ada5a62dea9a6a1bf156f90282a273959)
- [phase](structansys-dpf-locations.md#structansys-dpf-locations-1abaf9f2158d14707096139ab5eb27d70d)
- [species](structansys-dpf-locations.md#structansys-dpf-locations-1a76bdfc819d94d708b849281adf480677)
- [time\_set](structansys-dpf-locations.md#structansys-dpf-locations-1a3cf1bbc2ad6d8b8f6173e83b5118031a)
- [time\_step](structansys-dpf-locations.md#structansys-dpf-locations-1abc48364ef6b184ddf696099c9a2993cd)
- [topology](structansys-dpf-locations.md#structansys-dpf-locations-1a3049c32b1dc96441810bd53803916a58)
- [udf\_criteria](structansys-dpf-locations.md#structansys-dpf-locations-1af0cfa3922b89f1b5be079a47a714241a)
- [unknown](structansys-dpf-locations.md#structansys-dpf-locations-1a223dc0f57d600b9acf15ac72a603835c)
- [zone](structansys-dpf-locations.md#structansys-dpf-locations-1a2c1aea4cc98bb70ffb146a163121b8e4)

## Public static attributes

<a id="structansys-dpf-locations-1aa4e1967b0838d8597200c606c8564d29"></a>

### Variable nodal

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const Location ansys::dpf::locations::nodal

```

Predefined nodal location.

**Type**: const [Location](structansys-dpf-location.md#structansys-dpf-location)

<a id="structansys-dpf-locations-1a3f66169a86ab935fb398b3fdde98bb04"></a>

### Variable elemental

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const Location ansys::dpf::locations::elemental

```

Predefined elemental location.

**Type**: const [Location](structansys-dpf-location.md#structansys-dpf-location)

<a id="structansys-dpf-locations-1a0bda534055805adc4c08bece34989ff3"></a>

### Variable elemental\_nodal

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const Location ansys::dpf::locations::elemental_nodal

```

Predefined elemental\_nodal location.

**Type**: const [Location](structansys-dpf-location.md#structansys-dpf-location)

<a id="structansys-dpf-locations-1a5b54316cebce849e6a8489d19a990246"></a>

### Variable elemental\_nodal\_centroid

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const Location ansys::dpf::locations::elemental_nodal_centroid

```

Predefined elemental\_nodal\_centroid location.

**Type**: const [Location](structansys-dpf-location.md#structansys-dpf-location)

<a id="structansys-dpf-locations-1ada5a62dea9a6a1bf156f90282a273959"></a>

### Variable overall

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const Location ansys::dpf::locations::overall

```

Predefined overall location.

**Type**: const [Location](structansys-dpf-location.md#structansys-dpf-location)

<a id="structansys-dpf-locations-1aba56d24e91e52e4742ee5505dff04b94"></a>

### Variable nodal\_elemental

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const Location ansys::dpf::locations::nodal_elemental

```

Predefined nodal\_elemental location.

**Type**: const [Location](structansys-dpf-location.md#structansys-dpf-location)

<a id="structansys-dpf-locations-1a111716841842157a978ebebdc9c503b6"></a>

### Variable faces

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const Location ansys::dpf::locations::faces

```

Predefined faces location.

**Type**: const [Location](structansys-dpf-location.md#structansys-dpf-location)

<a id="structansys-dpf-locations-1a0a70014790184f7fd2e4341c2bdb7711"></a>

### Variable elemental\_and\_faces

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const Location ansys::dpf::locations::elemental_and_faces

```

Predefined elemental\_and\_faces location.

**Type**: const [Location](structansys-dpf-location.md#structansys-dpf-location)

<a id="structansys-dpf-locations-1acfb36fa3e6c22d12b971fdf941d6dab8"></a>

### Variable body

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const Location ansys::dpf::locations::body

```

Predefined body location.

**Type**: const [Location](structansys-dpf-location.md#structansys-dpf-location)

<a id="structansys-dpf-locations-1ae0384994ee793ef9de351b28c49ba706"></a>

### Variable contact

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const Location ansys::dpf::locations::contact

```

Predefined contact location.

**Type**: const [Location](structansys-dpf-location.md#structansys-dpf-location)

<a id="structansys-dpf-locations-1a0a7d57a4476a34178090d4fa96f0c550"></a>

### Variable joint

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const Location ansys::dpf::locations::joint

```

Predefined joint location.

**Type**: const [Location](structansys-dpf-location.md#structansys-dpf-location)

<a id="structansys-dpf-locations-1a3049c32b1dc96441810bd53803916a58"></a>

### Variable topology

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const Location ansys::dpf::locations::topology

```

Predefined topology location.

**Type**: const [Location](structansys-dpf-location.md#structansys-dpf-location)

<a id="structansys-dpf-locations-1af0cfa3922b89f1b5be079a47a714241a"></a>

### Variable udf\_criteria

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const Location ansys::dpf::locations::udf_criteria

```

Predefined udf\_criteria location.

**Type**: const [Location](structansys-dpf-location.md#structansys-dpf-location)

<a id="structansys-dpf-locations-1abc48364ef6b184ddf696099c9a2993cd"></a>

### Variable time\_step

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const Location ansys::dpf::locations::time_step

```

Predefined time\_step location.

**Type**: const [Location](structansys-dpf-location.md#structansys-dpf-location)

<a id="structansys-dpf-locations-1a3cf1bbc2ad6d8b8f6173e83b5118031a"></a>

### Variable time\_set

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const Location ansys::dpf::locations::time_set

```

Predefined time\_set location.

**Type**: const [Location](structansys-dpf-location.md#structansys-dpf-location)

<a id="structansys-dpf-locations-1a46ac72d7066346bc309dfb44de1a20cf"></a>

### Variable harmonic\_index

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const Location ansys::dpf::locations::harmonic_index

```

Predefined harmonic\_index location.

**Type**: const [Location](structansys-dpf-location.md#structansys-dpf-location)

<a id="structansys-dpf-locations-1abaf9f2158d14707096139ab5eb27d70d"></a>

### Variable phase

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const Location ansys::dpf::locations::phase

```

Predefined phase location.

**Type**: const [Location](structansys-dpf-location.md#structansys-dpf-location)

<a id="structansys-dpf-locations-1a76bdfc819d94d708b849281adf480677"></a>

### Variable species

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const Location ansys::dpf::locations::species

```

Predefined species location.

**Type**: const [Location](structansys-dpf-location.md#structansys-dpf-location)

<a id="structansys-dpf-locations-1a2c1aea4cc98bb70ffb146a163121b8e4"></a>

### Variable zone

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const Location ansys::dpf::locations::zone

```

Predefined zones location.

**Type**: const [Location](structansys-dpf-location.md#structansys-dpf-location)

<a id="structansys-dpf-locations-1a6441fe6518684351e3f3f7ba52396615"></a>

### Variable band

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const Location ansys::dpf::locations::band

```

Predefined band location.

**Type**: const [Location](structansys-dpf-location.md#structansys-dpf-location)

<a id="structansys-dpf-locations-1a223dc0f57d600b9acf15ac72a603835c"></a>

### Variable unknown

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
const Location ansys::dpf::locations::unknown

```

Predefined unknown location.

**Type**: const [Location](structansys-dpf-location.md#structansys-dpf-location)

## Public static functions

<a id="structansys-dpf-locations-1a271a9fed8a1f57c015715167a8ce72c0"></a>

### Function all

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
static std::vector< Location > const  & ansys::dpf::locations::all()

```

Gets all user-defined and predefined locations. **Returns**:

All locations.

**Return type**: std::vector&lt; [Location](structansys-dpf-location.md#structansys-dpf-location) &gt; const &amp;

<a id="structansys-dpf-locations-1a2b734a87208388ed01d8cb587043405b"></a>

### Function add\_custom

![](https://img.shields.io/badge/-public-brightgreen "public")![](https://img.shields.io/badge/-static-lightgrey "static")

```cpp
static void ansys::dpf::locations::add_custom(Location const &)

```

Adds a custom defined location.

**Parameters**:

- [Location](structansys-dpf-location.md#structansys-dpf-location) const &amp;

**Return type**: void