LORENE
|
() More...
Functions | |
Tenseur | Lorene::operator* (const Tenseur &, const Tenseur &) |
Tensorial product. More... | |
Tenseur | Lorene::operator% (const Tenseur &, const Tenseur &) |
Tensorial product with desaliasing. More... | |
Tenseur | Lorene::contract (const Tenseur &, int id1, int id2) |
Self contraction of two indices of a Tenseur . More... | |
Tenseur | Lorene::contract (const Tenseur &, int id1, const Tenseur &, int id2) |
Contraction of two Tenseur . More... | |
Tenseur | Lorene::flat_scalar_prod (const Tenseur &t1, const Tenseur &t2) |
Scalar product of two Tenseur when the metric is : performs the contraction of the last index of t1 with the first one of t2 , irrespective of the type of these indices. More... | |
Tenseur | Lorene::flat_scalar_prod_desal (const Tenseur &t1, const Tenseur &t2) |
Same as flat_scalar_prod but with desaliasing. More... | |
Tenseur | Lorene::manipule (const Tenseur &, const Metrique &, int idx) |
Raise or lower the index idx depending on its type, using the given Metrique . More... | |
Tenseur | Lorene::manipule (const Tenseur &, const Metrique &) |
Raise or lower all the indices, depending on their type, using the given Metrique . More... | |
Tenseur | Lorene::skxk (const Tenseur &) |
Contraction of the last index of (*this) with or , depending on the type of S . More... | |
Tenseur | Lorene::lie_derive (const Tenseur &t, const Tenseur &x, const Metrique *=0x0) |
Lie Derivative of t with respect to x . More... | |
Tenseur | Lorene::sans_trace (const Tenseur &tens, const Metrique &metre) |
Computes the traceless part of a Tenseur of valence 2. More... | |
()
Self contraction of two indices of a Tenseur
.
The two indices must be of different type, i.e. covariant and contravariant, or contravariant and covariant.
id1 | [input] number of the first index for the contraction; id1 must be strictly lower than the valence of the tensor and obeys the following convention:
|
id2 | [input] number of the second index for the contraction; id2 must be strictly lower than the valence of the tensor and obeys the following convention:
|
Definition at line 282 of file tenseur_operateur.C.
References Lorene::Tenseur::etat.
Contraction of two Tenseur
.
The two indices must be of different type, i.e. covariant and contravariant, or contravariant and covariant.
id1 | [input] number of the index of contraction for the first Tenseur ; id1 must be strictly lower than the valence of the tensor and obeys the following convention:
|
id2 | [input] number of index of contraction for the second one; id2 must be strictly lower than the valence of the tensor and obeys the following convention:
|
Definition at line 351 of file tenseur_operateur.C.
References Lorene::Tenseur::etat.
Scalar product of two Tenseur
when the metric is : performs the contraction of the last index of t1
with the first one of t2
, irrespective of the type of these indices.
Definition at line 656 of file tenseur_operateur.C.
References Lorene::Tenseur::etat.
Same as flat_scalar_prod
but with desaliasing.
Definition at line 738 of file tenseur_operateur.C.
References Lorene::Tenseur::etat.
Lie Derivative of t
with respect to x
.
If no other argument is given, it uses partial derivatives with respect to cartesian coordinates to calculate the result (this is the default). Otherwise, it uses the covariant derivative associated to the metric given as last argument.
Definition at line 819 of file tenseur_operateur.C.
References Lorene::Tenseur::get_etat().
Raise or lower the index idx
depending on its type, using the given Metrique
.
Definition at line 512 of file tenseur_operateur.C.
References Lorene::Tenseur::etat.
Raise or lower all the indices, depending on their type, using the given Metrique
.
Definition at line 565 of file tenseur_operateur.C.
References Lorene::manipule(), and Lorene::Tenseur::valence.
Tensorial product with desaliasing.
Definition at line 202 of file tenseur_operateur.C.
References Lorene::Tenseur::etat.
Tensorial product.
Definition at line 122 of file tenseur_operateur.C.
References Lorene::Tenseur::etat.
Computes the traceless part of a Tenseur
of valence 2.
tens | [input] the Tenseur of valence 2 |
metre | [input] the metric used to raise or lower the indices |
Tenseur
Definition at line 900 of file tenseur_operateur.C.
References Lorene::Tenseur::get_etat().
Contraction of the last index of (*this) with or , depending on the type of S .
The calculation is performed to avoid singularities in the external zone. This is done only for a flat metric.
Definition at line 583 of file tenseur_operateur.C.
References Lorene::Tenseur::etat, and Lorene::Tenseur::valence.