> ## 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::unit_systems

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

Predefined unit systems.

## Members

* [all](#structansys-dpf-unit-systems-1ac6d10ab82ab1f2bb054f5fb90245c0bb)
* [ansys\_bin](#structansys-dpf-unit-systems-1ae3396e2f78cd6d1ea0ea447d2e7a9b76)
* [ansys\_cgs](#structansys-dpf-unit-systems-1a284e6c52c14c70a9ac47bfc72b8e1ed5)
* [ansys\_cust](#structansys-dpf-unit-systems-1aafc7bfad9d0b7711293c2a430b65c692)
* [ansys\_knms](#structansys-dpf-unit-systems-1a8a3b16795b9ddd3e23452d97a9d03acb)
* [ansys\_nmm](#structansys-dpf-unit-systems-1ac3621f267d7ee18a2a7c5ebca8f2eca9)
* [ansys\_nmm\_dat](#structansys-dpf-unit-systems-1af38e54fe98f123ca1459678184d7f299)
* [ansys\_nmm\_ton](#structansys-dpf-unit-systems-1aa7c924a331b541993ba7d7391cd98f68)
* [ansys\_umks](#structansys-dpf-unit-systems-1a36af891803890474c83422513212b6e4)
* [from\_ansys\_id](#structansys-dpf-unit-systems-1ab4b0757770c54eee0faa543c1615f5ba)
* [SI](#structansys-dpf-unit-systems-1a85c4cb82c637c6dcf77fe114f0341802)
* [solver\_bft](#structansys-dpf-unit-systems-1a3d60d359eeaa208b83903433ac50595e)
* [solver\_bin](#structansys-dpf-unit-systems-1afd049562ae30d216fe1950dc402ee136)
* [solver\_cgs](#structansys-dpf-unit-systems-1ad85c6d970b2d01b29347d321095cb805)
* [solver\_knms](#structansys-dpf-unit-systems-1aa450fcd215dfb82da86556e7969948b0)
* [solver\_mks](#structansys-dpf-unit-systems-1ae90fad43ef2371fb364134803a659e24)
* [solver\_nmm](#structansys-dpf-unit-systems-1a850394df6c32ad8312e49d29ed4205f1)
* [solver\_umks](#structansys-dpf-unit-systems-1a3c1dbf5241cb5222cbdf8c0eca64716c)
* [undefined](#structansys-dpf-unit-systems-1a6d49c0af51a2e67332823e86118c7112)

## Public static attributes

### Variable SI

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

```cpp theme={null}
const UnitSystem ansys::dpf::unit_systems::SI
```

Predefined SI unit system.

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

### Variable ansys\_cgs

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

```cpp theme={null}
const UnitSystem ansys::dpf::unit_systems::ansys_cgs
```

Predefined ansys\_cgs unit system.

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

### Variable ansys\_nmm

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

```cpp theme={null}
const UnitSystem ansys::dpf::unit_systems::ansys_nmm
```

Predefined ansys\_nmm unit system.

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

### Variable ansys\_bin

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

```cpp theme={null}
const UnitSystem ansys::dpf::unit_systems::ansys_bin
```

Predefined ansys\_bin unit system.

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

### Variable ansys\_umks

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

```cpp theme={null}
const UnitSystem ansys::dpf::unit_systems::ansys_umks
```

Predefined SI unit system.

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

### Variable ansys\_cust

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

```cpp theme={null}
const UnitSystem ansys::dpf::unit_systems::ansys_cust
```

Predefined ansys\_cust unit system.

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

### Variable ansys\_nmm\_ton

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

```cpp theme={null}
const UnitSystem ansys::dpf::unit_systems::ansys_nmm_ton
```

Predefined ansys\_nmm\_ton unit system.

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

### Variable ansys\_nmm\_dat

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

```cpp theme={null}
const UnitSystem ansys::dpf::unit_systems::ansys_nmm_dat
```

Predefined ansys\_nmm\_dat unit system.

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

### Variable ansys\_knms

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

```cpp theme={null}
const UnitSystem ansys::dpf::unit_systems::ansys_knms
```

Predefined ansys\_knms unit system.

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

### Variable solver\_mks

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

```cpp theme={null}
const UnitSystem ansys::dpf::unit_systems::solver_mks
```

Predefined solver\_mks unit system.

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

### Variable solver\_cgs

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

```cpp theme={null}
const UnitSystem ansys::dpf::unit_systems::solver_cgs
```

Predefined solver\_cgs unit system.

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

### Variable solver\_bft

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

```cpp theme={null}
const UnitSystem ansys::dpf::unit_systems::solver_bft
```

Predefined solver\_bft unit system.

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

### Variable solver\_nmm

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

```cpp theme={null}
const UnitSystem ansys::dpf::unit_systems::solver_nmm
```

Predefined solver\_nmm unit system.

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

### Variable solver\_bin

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

```cpp theme={null}
const UnitSystem ansys::dpf::unit_systems::solver_bin
```

Predefined solver\_bin unit system.

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

### Variable solver\_umks

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

```cpp theme={null}
const UnitSystem ansys::dpf::unit_systems::solver_umks
```

Predefined solver\_umks unit system.

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

### Variable solver\_knms

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

```cpp theme={null}
const UnitSystem ansys::dpf::unit_systems::solver_knms
```

Predefined solver\_knms unit system.

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

### Variable undefined

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

```cpp theme={null}
const UnitSystem ansys::dpf::unit_systems::undefined
```

Predefined undefined unit system.

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

### Variable all

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

```cpp theme={null}
const std::vector<UnitSystem> ansys::dpf::unit_systems::all
```

Gets all predefined unit systems.
**Returns**:

All unit systems.

**Type**: const std::vector\< [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/structansys-dpf-unitsystem.md) >

## Public static functions

### Function from\_ansys\_id

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

```cpp theme={null}
static UnitSystem const  & ansys::dpf::unit_systems::from_ansys_id(dp_id id)
```

Gets unit system by id.
**Returns**:

All unit system.

**Parameters**:

* [dp\_id](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/api-reference/namespaceansys-dpf.md#namespaceansys-dpf-1ab4574c9af3f2bb8011da7d1f4c8da20e) **id**: \[in] Common unit system identifier used by Ansys.

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

[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"
