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

# Structure ansys::dpf::locations

![][C++]
![][public]

Predefined location quantities.

Results are evaluated at locations.

**See also**: [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

## Members

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

## Public static attributes

### Variable nodal

![][public]
![][static]

```cpp theme={null}
const Location ansys::dpf::locations::nodal
```

Predefined nodal location.

**Type**: const [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

### Variable elemental

![][public]
![][static]

```cpp theme={null}
const Location ansys::dpf::locations::elemental
```

Predefined elemental location.

**Type**: const [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

### Variable elemental\_nodal

![][public]
![][static]

```cpp theme={null}
const Location ansys::dpf::locations::elemental_nodal
```

Predefined elemental\_nodal location.

**Type**: const [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

### Variable elemental\_nodal\_centroid

![][public]
![][static]

```cpp theme={null}
const Location ansys::dpf::locations::elemental_nodal_centroid
```

Predefined elemental\_nodal\_centroid location.

**Type**: const [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

### Variable overall

![][public]
![][static]

```cpp theme={null}
const Location ansys::dpf::locations::overall
```

Predefined overall location.

**Type**: const [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

### Variable nodal\_elemental

![][public]
![][static]

```cpp theme={null}
const Location ansys::dpf::locations::nodal_elemental
```

Predefined nodal\_elemental location.

**Type**: const [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

### Variable faces

![][public]
![][static]

```cpp theme={null}
const Location ansys::dpf::locations::faces
```

Predefined faces location.

**Type**: const [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

### Variable elemental\_and\_faces

![][public]
![][static]

```cpp theme={null}
const Location ansys::dpf::locations::elemental_and_faces
```

Predefined elemental\_and\_faces location.

**Type**: const [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

### Variable body

![][public]
![][static]

```cpp theme={null}
const Location ansys::dpf::locations::body
```

Predefined body location.

**Type**: const [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

### Variable contact

![][public]
![][static]

```cpp theme={null}
const Location ansys::dpf::locations::contact
```

Predefined contact location.

**Type**: const [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

### Variable joint

![][public]
![][static]

```cpp theme={null}
const Location ansys::dpf::locations::joint
```

Predefined joint location.

**Type**: const [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

### Variable topology

![][public]
![][static]

```cpp theme={null}
const Location ansys::dpf::locations::topology
```

Predefined topology location.

**Type**: const [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

### Variable udf\_criteria

![][public]
![][static]

```cpp theme={null}
const Location ansys::dpf::locations::udf_criteria
```

Predefined udf\_criteria location.

**Type**: const [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

### Variable time\_step

![][public]
![][static]

```cpp theme={null}
const Location ansys::dpf::locations::time_step
```

Predefined time\_step location.

**Type**: const [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

### Variable time\_set

![][public]
![][static]

```cpp theme={null}
const Location ansys::dpf::locations::time_set
```

Predefined time\_set location.

**Type**: const [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

### Variable harmonic\_index

![][public]
![][static]

```cpp theme={null}
const Location ansys::dpf::locations::harmonic_index
```

Predefined harmonic\_index location.

**Type**: const [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

### Variable phase

![][public]
![][static]

```cpp theme={null}
const Location ansys::dpf::locations::phase
```

Predefined phase location.

**Type**: const [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

### Variable species

![][public]
![][static]

```cpp theme={null}
const Location ansys::dpf::locations::species
```

Predefined species location.

**Type**: const [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

### Variable zone

![][public]
![][static]

```cpp theme={null}
const Location ansys::dpf::locations::zone
```

Predefined zones location.

**Type**: const [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

### Variable band

![][public]
![][static]

```cpp theme={null}
const Location ansys::dpf::locations::band
```

Predefined band location.

**Type**: const [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

### Variable unknown

![][public]
![][static]

```cpp theme={null}
const Location ansys::dpf::locations::unknown
```

Predefined unknown location.

**Type**: const [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md)

## Public static functions

### Function all

![][public]
![][static]

```cpp theme={null}
static std::vector< Location > const  & ansys::dpf::locations::all()
```

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

All locations.

**Return type**: std::vector\< [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md) > const &

### Function add\_custom

![][public]
![][static]

```cpp theme={null}
static void ansys::dpf::locations::add_custom(Location const &)
```

Adds a custom defined location.

**Parameters**:

* [Location](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-location.md) const &

**Return type**: void

[C++]: https://img.shields.io/badge/language-C%2B%2B-blue "C++"

[const]: https://img.shields.io/badge/-const-lightblue "const"

[public]: https://img.shields.io/badge/-public-brightgreen "public"

[static]: https://img.shields.io/badge/-static-lightgrey "static"
