fields.tensors.DenseTensorField.ndim#

property DenseTensorField.ndim: int#

Total number of dimensions in the field buffer.

This includes both spatial (grid-aligned) and trailing element dimensions.

Returns:

Total rank of the field array.

Return type:

int