get_dimensions#

MaterialDef.get_dimensions(material_property_id)#

Get dimensions of a given material definition.

Types are Simple 1x1, Anisotropic 3x1, and Tensor 3x3.

Parameters:
material_property_idMaterialProperty

Property ID.

Returns:
tuple[int, int]

The tuple is in a (col, row) format:

  • col: Number of rows of the material property.

  • row: Number of columns of the material property.