fields.base.SparseField.component_list#
- property SparseField.component_list: List[ComponentIndex]#
List of all component indices present in the field.
These indices identify each subfield (or FieldComponent) in the sparse field structure. Component indices are typically integers (e.g., 0, 1) or tuples of integers (e.g., (0,), (1, 1)) used to represent tensor positions or other indexing schemes.
- Returns:
A list of keys corresponding to the active components of the field.
- Return type:
list
ofComponentIndex