23 #include "tensor_impl.hpp"
30 for (
int i=0 ; i<3 ; i++) {
45 for (
int i=0 ; i<3 ; i++) {
52 for (
int i=0 ; i<3 ; i++) {
Base_tensor basis
Tensorial basis with respect to which the tensor components are defined.
int valence
Valence of the tensor (0 = scalar, 1 = vector, etc...)
Array< int > type_indice
1D array of integers of size valence containing the type of each index: COV for a covariant one and C...
Memory_mapped_array< Scalar * > cmp
Array of size n_comp of pointers onto the components.
const Space & espace
The Space.
A class derived from Tensor to deal specificaly with objects of valence 1 (and so also 1-forms).
Vector & operator=(const Vector &)
Assignment to another Vector.