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

# ansys::dpf::unit_systems Struct Reference

`#include <dpf_api_base.h>`

## Static Public Member Functions

| Type | Name |
| - | - |
| static [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/structansys_1_1dpf_1_1UnitSystem.md) const & | [from\_ansys\_id](#ab4b0757770c54eee0faa543c1615f5ba) ([dp\_id](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/namespaceansys_1_1dpf#ab4574c9af3f2bb8011da7d1f4c8da20e) id) |

## Static Public Attributes

| Type | Name |
| - | - |
| static const [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/structansys_1_1dpf_1_1UnitSystem.md) | [SI](#a85c4cb82c637c6dcf77fe114f0341802) |
| static const [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/structansys_1_1dpf_1_1UnitSystem.md) | [ansys\_cgs](#a284e6c52c14c70a9ac47bfc72b8e1ed5) |
| static const [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/structansys_1_1dpf_1_1UnitSystem.md) | [ansys\_nmm](#ac3621f267d7ee18a2a7c5ebca8f2eca9) |
| static const [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/structansys_1_1dpf_1_1UnitSystem.md) | [ansys\_bin](#ae3396e2f78cd6d1ea0ea447d2e7a9b76) |
| static const [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/structansys_1_1dpf_1_1UnitSystem.md) | [ansys\_umks](#a36af891803890474c83422513212b6e4) |
| static const [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/structansys_1_1dpf_1_1UnitSystem.md) | [ansys\_cust](#aafc7bfad9d0b7711293c2a430b65c692) |
| static const [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/structansys_1_1dpf_1_1UnitSystem.md) | [ansys\_nmm\_ton](#aa7c924a331b541993ba7d7391cd98f68) |
| static const [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/structansys_1_1dpf_1_1UnitSystem.md) | [ansys\_nmm\_dat](#af38e54fe98f123ca1459678184d7f299) |
| static const [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/structansys_1_1dpf_1_1UnitSystem.md) | [ansys\_knms](#a8a3b16795b9ddd3e23452d97a9d03acb) |
| static const [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/structansys_1_1dpf_1_1UnitSystem.md) | [solver\_mks](#ae90fad43ef2371fb364134803a659e24) |
| static const [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/structansys_1_1dpf_1_1UnitSystem.md) | [solver\_cgs](#ad85c6d970b2d01b29347d321095cb805) |
| static const [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/structansys_1_1dpf_1_1UnitSystem.md) | [solver\_bft](#a3d60d359eeaa208b83903433ac50595e) |
| static const [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/structansys_1_1dpf_1_1UnitSystem.md) | [solver\_nmm](#a850394df6c32ad8312e49d29ed4205f1) |
| static const [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/structansys_1_1dpf_1_1UnitSystem.md) | [solver\_bin](#afd049562ae30d216fe1950dc402ee136) |
| static const [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/structansys_1_1dpf_1_1UnitSystem.md) | [solver\_umks](#a3c1dbf5241cb5222cbdf8c0eca64716c) |
| static const [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/structansys_1_1dpf_1_1UnitSystem.md) | [solver\_knms](#aa450fcd215dfb82da86556e7969948b0) |
| static const [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/structansys_1_1dpf_1_1UnitSystem.md) | [undefined](#a6d49c0af51a2e67332823e86118c7112) |
| static const std::vector\< [UnitSystem](https://developer.synopsys.com/docs/dpf/dpf-cpp-client-library/2025-r2/structansys_1_1dpf_1_1UnitSystem.md) > | [all](#ac6d10ab82ab1f2bb054f5fb90245c0bb) |

## Detailed Description

Predefined unit systems.

## Member Function Documentation

### from\_ansys\_id()

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

`static`

Gets unit system by id.

**Returns**

All unit system.

**Parameters**

| Direction | Name | Description |
| - | - | - |
| \[in] | id | Common unit system identifier used by Ansys. |

## Field Documentation

### all

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

`static`

Gets all predefined unit systems.

**Returns**

All unit systems.

### ansys\_bin

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

`static`

Predefined ansys\_bin unit system.

### ansys\_cgs

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

`static`

Predefined ansys\_cgs unit system.

### ansys\_cust

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

`static`

Predefined ansys\_cust unit system.

### ansys\_knms

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

`static`

Predefined ansys\_knms unit system.

### ansys\_nmm

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

`static`

Predefined ansys\_nmm unit system.

### ansys\_nmm\_dat

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

`static`

Predefined ansys\_nmm\_dat unit system.

### ansys\_nmm\_ton

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

`static`

Predefined ansys\_nmm\_ton unit system.

### ansys\_umks

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

`static`

Predefined SI unit system.

### SI

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

`static`

Predefined SI unit system.

### solver\_bft

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

`static`

Predefined solver\_bft unit system.

### solver\_bin

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

`static`

Predefined solver\_bin unit system.

### solver\_cgs

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

`static`

Predefined solver\_cgs unit system.

### solver\_knms

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

`static`

Predefined solver\_knms unit system.

### solver\_mks

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

`static`

Predefined solver\_mks unit system.

### solver\_nmm

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

`static`

Predefined solver\_nmm unit system.

### solver\_umks

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

`static`

Predefined solver\_umks unit system.

### undefined

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

`static`

Predefined undefined unit system.
