|
SpECTRE
2021.08.02
|
Represents the geeric indices in a TensorExpression. More...
#include <TensorIndex.hpp>
Public Types | |
| using | value_type = std::size_t |
| using | type = TensorIndex< I > |
Static Public Attributes | |
| static constexpr value_type | value = I |
| static constexpr UpLo | valence |
| static constexpr bool | is_spacetime = I < TensorIndex_detail::spatial_sentinel |
Represents the geeric indices in a TensorExpression.
Used to denote a tensor index in a tensor slot. This allows the following type of expressions to work:
where decltype(ti_a) == TensorIndex<0> and decltype(ti_b) == TensorIndex<1>. That is, ti_a and ti_b are placeholders for objects of type TensorIndex<0> and TensorIndex<1>, respectively.
|
staticconstexpr |