    

 ## On this page

  

 

 # ansys::dpf::Dimensionality Struct Reference

 Last update: 16.07.2025 

`#include <dpf_api_base.h>`

## <a id="pub-types" name="pub-types"></a>Public Types

enum [ENature](structansys_1_1dpf_1_1Dimensionality.xhtml#af4666dee615e27f2fe603240631b932f) {   
 **eScalar** = 0 , **eVector** = 1 , **eMatrix** = 2 , **eThirdOrderTensor** = 3 ,   
 **eFourthOrderTensor** = 4 , **eSymmetricalMatrix** = 5 , **eDiagonalMatrix** = 6 , **eSymetricVoigtMatrix** = 7 ,   
 **eIdentityMatrix** = 8 , **eFourthOrderIdentityTensor** = 9   
 } ## <a id="pub-methods" name="pub-methods"></a>Public Member Functions

 [Dimensionality](structansys_1_1dpf_1_1Dimensionality.xhtml#ac125b96a9c3925b3de25e96b567dde82) ([ENature](structansys_1_1dpf_1_1Dimensionality.xhtml#af4666dee615e27f2fe603240631b932f) innature, std::vector&lt; int &gt; const &amp;incomponents) [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) [numberOfComponents](structansys_1_1dpf_1_1Dimensionality.xhtml#a17e3ae4b1a740d42176086de8873608e) () const ## <a id="pub-attribs" name="pub-attribs"></a>Data Fields

std::vector&lt; int &gt; [components](structansys_1_1dpf_1_1Dimensionality.xhtml#a5b2b368e4a13cf72be8a3e4f579c4284) [ENature](structansys_1_1dpf_1_1Dimensionality.xhtml#af4666dee615e27f2fe603240631b932f) [nature](structansys_1_1dpf_1_1Dimensionality.xhtml#ad0a69f176729f5196b59701ebc94c379) <a id="details" name="details"></a>## Detailed Description

Entity to describe the dimensionality.

See also[dimensionalities](structansys_1_1dpf_1_1dimensionalities.xhtml)

## Member Enumeration Documentation

<a id="af4666dee615e27f2fe603240631b932f" name="af4666dee615e27f2fe603240631b932f"></a>## [◆ ](#af4666dee615e27f2fe603240631b932f)ENature

 enum [ansys::dpf::Dimensionality::ENature](structansys_1_1dpf_1_1Dimensionality.xhtml#af4666dee615e27f2fe603240631b932f)

Enum value to describe handled entities dimensions.





## Constructor &amp; Destructor Documentation

<a id="ac125b96a9c3925b3de25e96b567dde82" name="ac125b96a9c3925b3de25e96b567dde82"></a>## [◆ ](#ac125b96a9c3925b3de25e96b567dde82)Dimensionality()

 ansys::dpf::Dimensionality::Dimensionality  ( [ENature](structansys_1_1dpf_1_1Dimensionality.xhtml#af4666dee615e27f2fe603240631b932f)  *innature*,    std::vector&lt; int &gt; const &amp;  *incomponents*   ) 

[Dimensionality](structansys_1_1dpf_1_1Dimensionality.xhtml) object that describes the entity dimensions.

Parameters \[in\]incomponentsENature enum value to describe the dimension of the entity. 



## Member Function Documentation

<a id="a17e3ae4b1a740d42176086de8873608e" name="a17e3ae4b1a740d42176086de8873608e"></a>## [◆ ](#a17e3ae4b1a740d42176086de8873608e)numberOfComponents()

 [dp\_int](namespaceansys_1_1dpf.xhtml#a60d181a1f9d29cc7cc38b25dac4401f0) ansys::dpf::Dimensionality::numberOfComponents  ( )  const

\[in\] Vector defining size of each dimension.

ReturnsThe number of components of the described entity. 



## Field Documentation

<a id="a5b2b368e4a13cf72be8a3e4f579c4284" name="a5b2b368e4a13cf72be8a3e4f579c4284"></a>## [◆ ](#a5b2b368e4a13cf72be8a3e4f579c4284)components

 std::vector&lt;int&gt; ansys::dpf::Dimensionality::components

Vector defining size of each dimension. For example, use { 1 } for scalar, { 3 } for a 3D vector, and { 3, 3 } for 3D tensor.





<a id="ad0a69f176729f5196b59701ebc94c379" name="ad0a69f176729f5196b59701ebc94c379"></a>## [◆ ](#ad0a69f176729f5196b59701ebc94c379)nature

 [ENature](structansys_1_1dpf_1_1Dimensionality.xhtml#af4666dee615e27f2fe603240631b932f) ansys::dpf::Dimensionality::nature

ENature enum value to describe the dimension of the entity.