|
SpECTRE
2021.08.02
|
Determines and stores a LHS tensor's symmetry and index list from a RHS tensor expression and desired LHS index order. More...
Determines and stores a LHS tensor's symmetry and index list from a RHS tensor expression and desired LHS index order.
Given the generic index order of a RHS TensorExpression and the generic index order of the desired LHS Tensor, this creates a mapping between the two that is used to determine the (potentially reordered) ordering of the elements of the desired LHS Tensor`s Symmetry and typelist of TensorIndexTypes.
Note: If a generic spatial index is used for a spacetime index in the RHS tensor, its corresponding index in the LHS tensor type will be a spatial index with the same valence, frame, and number of spatial dimensions.
| RhsTensorIndexList | the typelist of TensorIndex of the RHS TensorExpression |
| LhsTensorIndexList | the typelist of TensorIndexs of the desired LHS tensor |
| RhsSymmetry | the Symmetry of the RHS indices |
| RhsTensorIndexTypeList | the RHS TensorExpression's typelist of TensorIndexTypes |