Skip to main content
Entity to describe the dimensionality. See also: dimensionalities

Members

Public types

Enumeration type ENature

Enum value to describe handled entities dimensions.

Enumerator eScalar

Enumerator eVector

Enumerator eMatrix

Enumerator eThirdOrderTensor

Enumerator eFourthOrderTensor

Enumerator eSymmetricalMatrix

Enumerator eDiagonalMatrix

Enumerator eSymetricVoigtMatrix

Enumerator eIdentityMatrix

Enumerator eFourthOrderIdentityTensor

Public attributes

Variable components

Vector defining size of each dimension. For example, use { 1 } for scalar, { 3 } for a 3D vector, and { 3, 3 } for 3D tensor. Type: std::vector< int >

Variable nature

ENature enum value to describe the dimension of the entity. Type: ENature

Public functions

Function Dimensionality

Return type:

Function Dimensionality

Dimensionality object that describes the entity dimensions. Parameters:
  • ENature innature
  • std::vector< int > const & incomponents: [in] ENature enum value to describe the dimension of the entity.
Return type:

Function numberOfComponents

[in] Vector defining size of each dimension. Returns: The number of components of the described entity. Return type: dp_int