    

 ## On this page

  

 

 # ansys::dpf::unit\_systems Struct Reference

 Last update: 16.07.2025 

`#include <dpf_api_base.h>`

## <a id="pub-static-methods" name="pub-static-methods"></a>Static Public Member Functions

static [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) const &amp; [from\_ansys\_id](structansys_1_1dpf_1_1unit__systems.xhtml#ab4b0757770c54eee0faa543c1615f5ba) ([dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e) id) ## <a id="pub-static-attribs" name="pub-static-attribs"></a>Static Public Attributes

static const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) [SI](structansys_1_1dpf_1_1unit__systems.xhtml#a85c4cb82c637c6dcf77fe114f0341802) static const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) [ansys\_cgs](structansys_1_1dpf_1_1unit__systems.xhtml#a284e6c52c14c70a9ac47bfc72b8e1ed5) static const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) [ansys\_nmm](structansys_1_1dpf_1_1unit__systems.xhtml#ac3621f267d7ee18a2a7c5ebca8f2eca9) static const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) [ansys\_bin](structansys_1_1dpf_1_1unit__systems.xhtml#ae3396e2f78cd6d1ea0ea447d2e7a9b76) static const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) [ansys\_umks](structansys_1_1dpf_1_1unit__systems.xhtml#a36af891803890474c83422513212b6e4) static const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) [ansys\_cust](structansys_1_1dpf_1_1unit__systems.xhtml#aafc7bfad9d0b7711293c2a430b65c692) static const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) [ansys\_nmm\_ton](structansys_1_1dpf_1_1unit__systems.xhtml#aa7c924a331b541993ba7d7391cd98f68) static const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) [ansys\_nmm\_dat](structansys_1_1dpf_1_1unit__systems.xhtml#af38e54fe98f123ca1459678184d7f299) static const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) [ansys\_knms](structansys_1_1dpf_1_1unit__systems.xhtml#a8a3b16795b9ddd3e23452d97a9d03acb) static const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) [solver\_mks](structansys_1_1dpf_1_1unit__systems.xhtml#ae90fad43ef2371fb364134803a659e24) static const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) [solver\_cgs](structansys_1_1dpf_1_1unit__systems.xhtml#ad85c6d970b2d01b29347d321095cb805) static const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) [solver\_bft](structansys_1_1dpf_1_1unit__systems.xhtml#a3d60d359eeaa208b83903433ac50595e) static const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) [solver\_nmm](structansys_1_1dpf_1_1unit__systems.xhtml#a850394df6c32ad8312e49d29ed4205f1) static const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) [solver\_bin](structansys_1_1dpf_1_1unit__systems.xhtml#afd049562ae30d216fe1950dc402ee136) static const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) [solver\_umks](structansys_1_1dpf_1_1unit__systems.xhtml#a3c1dbf5241cb5222cbdf8c0eca64716c) static const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) [solver\_knms](structansys_1_1dpf_1_1unit__systems.xhtml#aa450fcd215dfb82da86556e7969948b0) static const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) [undefined](structansys_1_1dpf_1_1unit__systems.xhtml#a6d49c0af51a2e67332823e86118c7112) static const std::vector&lt; [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) &gt; [all](structansys_1_1dpf_1_1unit__systems.xhtml#ac6d10ab82ab1f2bb054f5fb90245c0bb) <a id="details" name="details"></a>## Detailed Description

Predefined unit systems.



## Member Function Documentation

<a id="ab4b0757770c54eee0faa543c1615f5ba" name="ab4b0757770c54eee0faa543c1615f5ba"></a>## [◆ ](#ab4b0757770c54eee0faa543c1615f5ba)from\_ansys\_id()

 static [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) const &amp; ansys::dpf::unit\_systems::from\_ansys\_id  ( [dp\_id](namespaceansys_1_1dpf.xhtml#ab4574c9af3f2bb8011da7d1f4c8da20e)  *id*)   static 

Gets unit system by id.

ReturnsAll unit system. Parameters \[in\]idCommon unit system identifier used by Ansys. 



## Field Documentation

<a id="ac6d10ab82ab1f2bb054f5fb90245c0bb" name="ac6d10ab82ab1f2bb054f5fb90245c0bb"></a>## [◆ ](#ac6d10ab82ab1f2bb054f5fb90245c0bb)all

 const std::vector&lt;[UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml)&gt; ansys::dpf::unit\_systems::all  static 

Gets all predefined unit systems.

ReturnsAll unit systems. 



<a id="ae3396e2f78cd6d1ea0ea447d2e7a9b76" name="ae3396e2f78cd6d1ea0ea447d2e7a9b76"></a>## [◆ ](#ae3396e2f78cd6d1ea0ea447d2e7a9b76)ansys\_bin

 const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) ansys::dpf::unit\_systems::ansys\_bin  static 

Predefined ansys\_bin unit system.





<a id="a284e6c52c14c70a9ac47bfc72b8e1ed5" name="a284e6c52c14c70a9ac47bfc72b8e1ed5"></a>## [◆ ](#a284e6c52c14c70a9ac47bfc72b8e1ed5)ansys\_cgs

 const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) ansys::dpf::unit\_systems::ansys\_cgs  static 

Predefined ansys\_cgs unit system.





<a id="aafc7bfad9d0b7711293c2a430b65c692" name="aafc7bfad9d0b7711293c2a430b65c692"></a>## [◆ ](#aafc7bfad9d0b7711293c2a430b65c692)ansys\_cust

 const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) ansys::dpf::unit\_systems::ansys\_cust  static 

Predefined ansys\_cust unit system.





<a id="a8a3b16795b9ddd3e23452d97a9d03acb" name="a8a3b16795b9ddd3e23452d97a9d03acb"></a>## [◆ ](#a8a3b16795b9ddd3e23452d97a9d03acb)ansys\_knms

 const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) ansys::dpf::unit\_systems::ansys\_knms  static 

Predefined ansys\_knms unit system.





<a id="ac3621f267d7ee18a2a7c5ebca8f2eca9" name="ac3621f267d7ee18a2a7c5ebca8f2eca9"></a>## [◆ ](#ac3621f267d7ee18a2a7c5ebca8f2eca9)ansys\_nmm

 const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) ansys::dpf::unit\_systems::ansys\_nmm  static 

Predefined ansys\_nmm unit system.





<a id="af38e54fe98f123ca1459678184d7f299" name="af38e54fe98f123ca1459678184d7f299"></a>## [◆ ](#af38e54fe98f123ca1459678184d7f299)ansys\_nmm\_dat

 const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) ansys::dpf::unit\_systems::ansys\_nmm\_dat  static 

Predefined ansys\_nmm\_dat unit system.





<a id="aa7c924a331b541993ba7d7391cd98f68" name="aa7c924a331b541993ba7d7391cd98f68"></a>## [◆ ](#aa7c924a331b541993ba7d7391cd98f68)ansys\_nmm\_ton

 const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) ansys::dpf::unit\_systems::ansys\_nmm\_ton  static 

Predefined ansys\_nmm\_ton unit system.





<a id="a36af891803890474c83422513212b6e4" name="a36af891803890474c83422513212b6e4"></a>## [◆ ](#a36af891803890474c83422513212b6e4)ansys\_umks

 const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) ansys::dpf::unit\_systems::ansys\_umks  static 

Predefined SI unit system.





<a id="a85c4cb82c637c6dcf77fe114f0341802" name="a85c4cb82c637c6dcf77fe114f0341802"></a>## [◆ ](#a85c4cb82c637c6dcf77fe114f0341802)SI

 const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) ansys::dpf::unit\_systems::SI  static 

Predefined SI unit system.





<a id="a3d60d359eeaa208b83903433ac50595e" name="a3d60d359eeaa208b83903433ac50595e"></a>## [◆ ](#a3d60d359eeaa208b83903433ac50595e)solver\_bft

 const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) ansys::dpf::unit\_systems::solver\_bft  static 

Predefined solver\_bft unit system.





<a id="afd049562ae30d216fe1950dc402ee136" name="afd049562ae30d216fe1950dc402ee136"></a>## [◆ ](#afd049562ae30d216fe1950dc402ee136)solver\_bin

 const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) ansys::dpf::unit\_systems::solver\_bin  static 

Predefined solver\_bin unit system.





<a id="ad85c6d970b2d01b29347d321095cb805" name="ad85c6d970b2d01b29347d321095cb805"></a>## [◆ ](#ad85c6d970b2d01b29347d321095cb805)solver\_cgs

 const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) ansys::dpf::unit\_systems::solver\_cgs  static 

Predefined solver\_cgs unit system.





<a id="aa450fcd215dfb82da86556e7969948b0" name="aa450fcd215dfb82da86556e7969948b0"></a>## [◆ ](#aa450fcd215dfb82da86556e7969948b0)solver\_knms

 const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) ansys::dpf::unit\_systems::solver\_knms  static 

Predefined solver\_knms unit system.





<a id="ae90fad43ef2371fb364134803a659e24" name="ae90fad43ef2371fb364134803a659e24"></a>## [◆ ](#ae90fad43ef2371fb364134803a659e24)solver\_mks

 const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) ansys::dpf::unit\_systems::solver\_mks  static 

Predefined solver\_mks unit system.





<a id="a850394df6c32ad8312e49d29ed4205f1" name="a850394df6c32ad8312e49d29ed4205f1"></a>## [◆ ](#a850394df6c32ad8312e49d29ed4205f1)solver\_nmm

 const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) ansys::dpf::unit\_systems::solver\_nmm  static 

Predefined solver\_nmm unit system.





<a id="a3c1dbf5241cb5222cbdf8c0eca64716c" name="a3c1dbf5241cb5222cbdf8c0eca64716c"></a>## [◆ ](#a3c1dbf5241cb5222cbdf8c0eca64716c)solver\_umks

 const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) ansys::dpf::unit\_systems::solver\_umks  static 

Predefined solver\_umks unit system.





<a id="a6d49c0af51a2e67332823e86118c7112" name="a6d49c0af51a2e67332823e86118c7112"></a>## [◆ ](#a6d49c0af51a2e67332823e86118c7112)undefined

 const [UnitSystem](structansys_1_1dpf_1_1UnitSystem.xhtml) ansys::dpf::unit\_systems::undefined  static 

Predefined undefined unit system.