This class reflects a unique mathematical nature of simple tensors and tensor fields. It holds the information about string name of simple tensor, structure of its indices and arguments (in case of tensor field). Two simple tensors are considered to have different mathematical nature if and only if their name descriptors are not equal. Each simple tensor with unique mathematical nature have its own unique integer identifier, which is hold in the name descriptor. For example, tensors A_mn and A_ij have same mathematical origin and thus have similar integer identifiers and both have unique same name descriptor (same reference). In contrast, for example, tensors A_mn and A_i have different mathematical origin and different integer identifiers.
This class have no public constructor, since Redberry should be confident, that tensors with same mathematical origin have same descriptors, and the work with descriptors should be carried out through {@link NameManager}. The only way to receive name descriptor from raw information about tensor is via {@link NameManager#mapNameDescriptor(String,cc.redberry.core.indices.StructureOfIndices)}. In order to receive the descriptor from unique simple tensor identifier, one should use {@link NameManager#getNameDescriptor(int)}
@author Dmitry Bolotin @author Stanislav Poslavsky @since 1.0
|
|