get_dimensions#
- MaterialDef.get_dimensions(material_property_id)#
Get the dimensions of the tensor of a material property.
- The mappings between the types of material properties and dimensions are as follows:
Simple
->1x1
Anisotropic
->3x1
Tensor
->3x3
.
- Parameters:
- material_property_id
MaterialProperty
Material property to get the dimensions of.
- material_property_id
- Returns: