#include <tensor.h>
Inheritance diagram for Tensor_sym:

Public Member Functions | |
| Tensor_sym (const Map &map, int val, const Itbl &tipe, const Base_vect &triad_i, int index_sym1, int index_sym2) | |
| Standard constructor. | |
| Tensor_sym (const Map &map, int val, int tipe, const Base_vect &triad_i, int index_sym1, int index_sym2) | |
| Standard constructor when all the indices are of the same type. | |
| Tensor_sym (const Map &map, int tipe0, int tipe1, int tipe2, const Base_vect &triad_i, int index_sym1, int index_sym2) | |
| Constructor for a valence 3 symmetric tensor. | |
| Tensor_sym (const Tensor_sym &a) | |
| Copy constructor. | |
| Tensor_sym (const Map &map, const Base_vect &triad_i, FILE *fich) | |
Constructor from a file (see sauve(FILE*) ). | |
| virtual | ~Tensor_sym () |
| Destructor. | |
| virtual void | operator= (const Tensor_sym &a) |
Assignment to another Tensor_sym. | |
| virtual void | operator= (const Tensor &a) |
Assignment to a Tensor NB: the symmetry about the indices id_sym1 and id_sym2 of the input tensor is assumed but is not checked. | |
| int | sym_index1 () const |
Number of the first symmetric index (0<= id_sym1 < valence ). | |
| int | sym_index2 () const |
Number of the second symmetric index (id_sym1 < id_sym2 < valence ). | |
| virtual int | position (const Itbl &ind) const |
Returns the position in the array cmp of a component given by its indices. | |
| virtual Itbl | indices (int pos) const |
Returns the indices of a component given by its position in the array cmp . | |
| virtual void | sauve (FILE *) const |
| Save in a binary file. | |
| const Tensor_sym & | derive_cov (const Metric &gam) const |
Returns the covariant derivative of this with respect to some metric . | |
| const Tensor_sym & | derive_con (const Metric &gam) const |
Returns the "contravariant" derivative of this with respect to some metric , by raising the last index of the covariant derivative (cf. | |
| Tensor_sym | derive_lie (const Vector &v) const |
Computes the Lie derivative of this with respect to some vector field v. | |
| virtual void | set_etat_nondef () |
Sets the logical state of all components to ETATNONDEF (undefined state). | |
| virtual void | set_etat_zero () |
Sets the logical state of all components to ETATZERO (zero state). | |
| virtual void | set_etat_qcq () |
Sets the logical state of all components to ETATQCQ (ordinary state). | |
| virtual void | allocate_all () |
Performs the memory allocation of all the elements, down to the double arrays of the Tbl s. | |
| virtual void | change_triad (const Base_vect &new_triad) |
| Sets a new vectorial basis (triad) of decomposition and modifies the components accordingly. | |
| void | set_triad (const Base_vect &new_triad) |
| Assigns a new vectorial basis (triad) of decomposition. | |
| Scalar & | set (const Itbl &ind) |
| Returns the value of a component (read/write version). | |
| Scalar & | set (int i1, int i2) |
| Returns the value of a component for a tensor of valence 2 (read/write version). | |
| Scalar & | set (int i1, int i2, int i3) |
| Returns the value of a component for a tensor of valence 3 (read/write version). | |
| Scalar & | set (int i1, int i2, int i3, int i4) |
| Returns the value of a component for a tensor of valence 4 (read/write version). | |
| void | annule_domain (int l) |
Sets the Tensor to zero in a given domain. | |
| virtual void | annule (int l_min, int l_max) |
Sets the Tensor to zero in several domains. | |
| void | annule_extern_cn (int l_0, int deg) |
| Performs a smooth (C^n) transition in a given domain to zero. | |
| virtual void | std_spectral_base () |
| Sets the standard spectal bases of decomposition for each component. | |
| virtual void | std_spectral_base_odd () |
| Sets the standard odd spectal bases of decomposition for each component. | |
| virtual void | dec_dzpuis (int dec=1) |
Decreases by dec units the value of dzpuis and changes accordingly the values in the compactified external domain (CED). | |
| virtual void | inc_dzpuis (int inc=1) |
Increases by inc units the value of dzpuis and changes accordingly the values in the compactified external domain (CED). | |
| virtual void | exponential_filter_r (int lzmin, int lzmax, int p, double alpha=-16.) |
Applies exponential filters to all components (see Scalar::exponential_filter_r ). | |
| virtual void | exponential_filter_ylm (int lzmin, int lzmax, int p, double alpha=-16.) |
Applies exponential filters to all components (see Scalar::exponential_filter_ylm ). | |
| const Tensor & | divergence (const Metric &gam) const |
Computes the divergence of this with respect to some metric . | |
| Tensor | up (int ind, const Metric &gam) const |
Computes a new tensor by raising an index of *this. | |
| Tensor | down (int ind, const Metric &gam) const |
Computes a new tensor by lowering an index of *this. | |
| Tensor | up_down (const Metric &gam) const |
Computes a new tensor by raising or lowering all the indices of *this . | |
| Tensor | trace (int ind1, int ind2) const |
| Trace on two different type indices. | |
| Tensor | trace (int ind1, int ind2, const Metric &gam) const |
| Trace with respect to a given metric. | |
| Scalar | trace () const |
| Trace on two different type indices for a valence 2 tensor. | |
| Scalar | trace (const Metric &gam) const |
| Trace with respect to a given metric for a valence 2 tensor. | |
| const Map & | get_mp () const |
| Returns the mapping. | |
| const Base_vect * | get_triad () const |
| Returns the vectorial basis (triad) on which the components are defined. | |
| int | get_valence () const |
| Returns the valence. | |
| int | get_n_comp () const |
| Returns the number of stored components. | |
| int | get_index_type (int i) const |
Gives the type (covariant or contravariant) of the index number i . | |
| Itbl | get_index_type () const |
| Returns the types of all the indices. | |
| int & | set_index_type (int i) |
Sets the type of the index number i . | |
| Itbl & | set_index_type () |
| Sets the types of all the indices. | |
| const Scalar & | operator() (const Itbl &ind) const |
| Returns the value of a component (read-only version). | |
| const Scalar & | operator() (int i1, int i2) const |
| Returns the value of a component for a tensor of valence 2 (read-only version). | |
| const Scalar & | operator() (int i1, int i2, int i3) const |
| Returns the value of a component for a tensor of valence 3 (read-only version). | |
| const Scalar & | operator() (int i1, int i2, int i3, int i4) const |
| Returns the value of a component for a tensor of valence 4 (read-only version). | |
| void | operator+= (const Tensor &) |
| += Tensor | |
| void | operator-= (const Tensor &) |
| -= Tensor | |
| virtual void | spectral_display (const char *comment=0x0, double threshold=1.e-7, int precision=4, ostream &ostr=cout) const |
| Displays the spectral coefficients and the associated basis functions of each component. | |
Protected Member Functions | |
| virtual void | del_deriv () const |
| Deletes the derived quantities. | |
| void | set_der_0x0 () const |
| Sets the pointers on derived quantities to 0x0. | |
| virtual void | del_derive_met (int) const |
Logical destructor of the derivatives depending on the i-th element of met_depend . | |
| void | set_der_met_0x0 (int) const |
Sets all the i-th components of met_depend , p_derive_cov , etc. | |
| void | set_dependance (const Metric &) const |
To be used to describe the fact that the derivatives members have been calculated with met . | |
| int | get_place_met (const Metric &) const |
Returns the position of the pointer on metre in the array met_depend . | |
| void | compute_derive_lie (const Vector &v, Tensor &resu) const |
Computes the Lie derivative of this with respect to some vector field v (protected method; the public interface is method derive_lie ). | |
Protected Attributes | |
| int | id_sym1 |
Number of the first symmetric index (0<= id_sym1 < valence ). | |
| int | id_sym2 |
Number of the second symmetric index (id_sym1 < id_sym2 < valence ). | |
| const Map *const | mp |
| Mapping on which the numerical values at the grid points are defined. | |
| int | valence |
| Valence of the tensor (0 = scalar, 1 = vector, etc...). | |
| const Base_vect * | triad |
| Vectorial basis (triad) with respect to which the tensor components are defined. | |
| Itbl | type_indice |
1D array of integers (class Itbl ) of size valence containing the type of each index: COV for a covariant one and CON for a contravariant one. | |
| int | n_comp |
| Number of stored components, depending on the symmetry. | |
| Scalar ** | cmp |
Array of size n_comp of pointers onto the components. | |
| const Metric * | met_depend [N_MET_MAX] |
Array on the Metric 's which were used to compute derived quantities, like p_derive_cov , etc. | |
| Tensor * | p_derive_cov [N_MET_MAX] |
Array of pointers on the covariant derivatives of this with respect to various metrics. | |
| Tensor * | p_derive_con [N_MET_MAX] |
Array of pointers on the contravariant derivatives of this with respect to various metrics. | |
| Tensor * | p_divergence [N_MET_MAX] |
Array of pointers on the divergence of this with respect to various metrics. | |
Friends | |
| Tensor_sym | operator * (const Tensor &, const Tensor_sym &) |
| Tensorial product with symmetries. | |
| Tensor_sym | operator * (const Tensor_sym &, const Tensor &) |
| Tensorial product with symmetries. | |
| class | Scalar |
| class | Vector |
| class | Sym_tensor |
| class | Tensor_sym |
| class | Metric |
| ostream & | operator<< (ostream &, const Tensor &) |
| Scalar | operator+ (const Tensor &, const Scalar &) |
Tensor + Scalar. The Tensor must be of valence 0. | |
| Scalar | operator+ (const Scalar &, const Tensor &) |
Scalar + Tensor. The Tensor must be of valence 0. | |
| Scalar | operator- (const Tensor &, const Scalar &) |
Tensor - Scalar. The Tensor must be of valence 0. | |
| Scalar | operator- (const Scalar &, const Tensor &) |
Scalar - Tensor. The Tensor must be of valence 0. | |
| Tensor | operator * (const Tensor &, const Tensor &) |
| Tensorial product. | |
| Tensor_sym | operator * (const Tensor_sym &, const Tensor_sym &) |
| Tensorial product of two symmetric tensors. | |
This subclass of Tensor is intended to store the components of a tensorial field with respect to a specific basis (triad), in the case the tensor has a valence at least 2 and is symmetric with respect to two of its arguments (or in other words, the components are symmetric with respect to two of their indices). ()
Definition at line 1027 of file tensor.h.
|
||||||||||||||||||||||||||||
|
Standard constructor.
Definition at line 62 of file tensor_sym.C. References id_sym1, id_sym2, and Tensor::valence. |
|
||||||||||||||||||||||||||||
|
Standard constructor when all the indices are of the same type.
Definition at line 90 of file tensor_sym.C. References id_sym1, id_sym2, and Tensor::valence. |
|
||||||||||||||||||||||||||||||||
|
Constructor for a valence 3 symmetric tensor.
Definition at line 113 of file tensor_sym.C. References id_sym1, id_sym2, Itbl::set(), and Tensor::type_indice. |
|
|
Copy constructor.
Definition at line 145 of file tensor_sym.C. References Tensor::cmp, indices(), Tensor::n_comp, and position(). |
|
||||||||||||||||
|
Constructor from a file (see
Definition at line 167 of file tensor_sym.C. References fread_be(), id_sym1, id_sym2, and Tensor::type_indice. |
|
|
Destructor.
Definition at line 182 of file tensor_sym.C. |
|
|
Performs the memory allocation of all the elements, down to the
This function performs in fact recursive calls to Reimplemented in Scalar. Definition at line 495 of file tensor.C. References Tensor::cmp, Tensor::del_deriv(), and Tensor::n_comp. |
|
||||||||||||
|
Sets the
annule(0,nz-1) , where nz is the total number of domains, is equivalent to set_etat_zero() .
Reimplemented in Scalar. Definition at line 658 of file tensor.C. References Tensor::cmp, Map::get_mg(), Mg3d::get_nzone(), Tensor::mp, Tensor::n_comp, and Tensor::set_etat_zero(). |
|
|
Sets the
Definition at line 653 of file tensor.C. References Tensor::annule(). |
|
||||||||||||
|
Performs a smooth (C^n) transition in a given domain to zero.
Definition at line 677 of file tensor.C. References Itbl::annule_hard(), FIN, Map::get_mg(), Mg3d::get_nr(), Mg3d::get_nzone(), Mg3d::get_type_r(), Tensor::mp, Itbl::set(), and Map::val_r(). |
|
|
Sets a new vectorial basis (triad) of decomposition and modifies the components accordingly.
Reimplemented in Scalar, and Vector. Definition at line 70 of file tensor_change_triad.C. References Map::comp_x_from_spherical(), Map::comp_y_from_spherical(), Map::comp_z_from_spherical(), Base_vect_cart::get_align(), Map::get_bvect_cart(), Map::get_bvect_spher(), Map::get_mg(), Mg3d::get_np(), Mg3d::get_nt(), Mg3d::get_nzone(), Tensor::mp, Tensor::set(), Tensor::triad, Tensor::type_indice, and Tensor::valence. |
|
||||||||||||
|
Computes the Lie derivative of
Definition at line 332 of file tensor_calculus.C. References Tensor::cmp, Map::flat_met_cart(), Map::flat_met_spher(), Tensor::get_triad(), Tensor::mp, Tensor::n_comp, Tensor::triad, and Tensor::valence. |
|
|
Decreases by
Reimplemented in Scalar. Definition at line 795 of file tensor.C. References Tensor::cmp, and Tensor::del_deriv(). |
|
|
Deletes the derived quantities.
Reimplemented in Scalar, Sym_tensor, Sym_tensor_trans, Sym_tensor_tt, Vector, and Vector_divfree. Definition at line 385 of file tensor.C. References Tensor::del_derive_met(), and Tensor::set_der_0x0(). |
|
|
Logical destructor of the derivatives depending on the i-th element of
Reimplemented in Sym_tensor, and Vector. Definition at line 401 of file tensor.C. References Tensor::met_depend, Tensor::p_derive_con, Tensor::p_derive_cov, Tensor::p_divergence, and Tensor::set_der_met_0x0(). |
|
|
Returns the "contravariant" derivative of
method Reimplemented from Tensor. Definition at line 197 of file tensor_sym_calculus.C. References Tensor::derive_con(). |
|
|
Returns the covariant derivative of
Reimplemented from Tensor. Definition at line 185 of file tensor_sym_calculus.C. References Tensor::derive_cov(). |
|
|
Computes the Lie derivative of
Reimplemented from Tensor. Reimplemented in Sym_tensor. Definition at line 212 of file tensor_sym_calculus.C. References Tensor::compute_derive_lie(), id_sym1, id_sym2, Tensor::mp, Tensor::triad, Tensor::type_indice, and Tensor::valence. |
|
|
Computes the divergence of
The divergence is taken with respect of the last index of
where
Reimplemented in Sym_tensor, and Vector. Definition at line 1043 of file tensor.C. References Metric::connect(), Tensor::get_place_met(), Connection::p_divergence(), Tensor::p_divergence, and Tensor::set_dependance(). |
|
||||||||||||
|
Computes a new tensor by lowering an index of
Definition at line 258 of file tensor_calculus.C. References contract(), Metric::cov(), Tensor::indices(), Tensor::mp, Tensor::n_comp, Tensor::set(), Itbl::set(), Tensor::triad, Tensor::type_indice, and Tensor::valence. |
|
||||||||||||||||||||
|
Applies exponential filters to all components (see Works only for Cartesian components. Reimplemented in Scalar, Sym_tensor, and Vector. Definition at line 1054 of file tensor.C. References Tensor::cmp, Map::get_bvect_cart(), Base_vect::identify(), Tensor::mp, and Tensor::triad. |
|
||||||||||||||||||||
|
Applies exponential filters to all components (see Works only for Cartesian components. Reimplemented in Scalar, Sym_tensor, and Vector. Definition at line 1067 of file tensor.C. References Tensor::cmp, Map::get_bvect_cart(), Base_vect::identify(), Tensor::mp, and Tensor::triad. |
|
|
Returns the types of all the indices.
Definition at line 886 of file tensor.h. References Tensor::type_indice. |
|
|
Gives the type (covariant or contravariant) of the index number
Definition at line 876 of file tensor.h. References Tensor::type_indice. |
|
|
Returns the mapping.
Definition at line 851 of file tensor.h. References Tensor::mp. |
|
|
Returns the number of stored components.
Definition at line 862 of file tensor.h. References Tensor::n_comp. |
|
|
Returns the position of the pointer on
Definition at line 430 of file tensor.C. References Tensor::met_depend. |
|
|
Returns the vectorial basis (triad) on which the components are defined.
Definition at line 856 of file tensor.h. References Tensor::triad. |
|
|
Returns the valence.
Definition at line 859 of file tensor.h. References Tensor::valence. |
|
|
Increases by
Reimplemented in Scalar. Definition at line 803 of file tensor.C. References Tensor::cmp, and Tensor::del_deriv(). |
|
|
Returns the indices of a component given by its position in the array
Reimplemented from Tensor. Definition at line 303 of file tensor_sym.C. References Tensor::n_comp, Itbl::set(), and Tensor::valence. |
|
||||||||||||||||||||
|
Returns the value of a component for a tensor of valence 4 (read-only version).
Definition at line 770 of file tensor.C. References Tensor::cmp, Tensor::position(), Itbl::set(), and Tensor::valence. |
|
||||||||||||||||
|
Returns the value of a component for a tensor of valence 3 (read-only version).
Definition at line 758 of file tensor.C. References Tensor::cmp, Tensor::position(), Itbl::set(), and Tensor::valence. |
|
||||||||||||
|
Returns the value of a component for a tensor of valence 2 (read-only version).
Definition at line 747 of file tensor.C. References Tensor::cmp, Tensor::position(), Itbl::set(), and Tensor::valence. |
|
|
Returns the value of a component (read-only version).
Definition at line 785 of file tensor.C. References Tensor::cmp, Itbl::get_dim(), Itbl::get_ndim(), Tensor::position(), and Tensor::valence. |
|
|
+= Tensor
Definition at line 558 of file tensor.C. References Tensor::cmp, Tensor::indices(), Tensor::n_comp, Tensor::position(), Tensor::triad, Tensor::type_indice, and Tensor::valence. |
|
|
-= Tensor
Definition at line 574 of file tensor.C. References Tensor::cmp, Tensor::indices(), Tensor::n_comp, Tensor::position(), Tensor::triad, Tensor::type_indice, and Tensor::valence. |
|
|
Assignment to a
Reimplemented from Tensor. Reimplemented in Sym_tensor, Sym_tensor_trans, and Sym_tensor_tt. Definition at line 211 of file tensor_sym.C. References Tensor::cmp, Tensor::get_triad(), Tensor::get_valence(), id_sym1, id_sym2, indices(), Tensor::n_comp, Tensor::position(), Tensor::triad, Tensor::type_indice, and Tensor::valence. |
|
|
Assignment to another
Reimplemented in Sym_tensor, Sym_tensor_trans, and Sym_tensor_tt. Definition at line 191 of file tensor_sym.C. References Tensor::cmp, id_sym1, id_sym2, indices(), Tensor::n_comp, position(), Tensor::triad, Tensor::type_indice, and Tensor::valence. |
|
|
Returns the position in the array
Reimplemented from Tensor. Definition at line 238 of file tensor_sym.C. References Itbl::get_dim(), Itbl::get_ndim(), and Tensor::valence. |
|
|
Save in a binary file.
Reimplemented from Tensor. Definition at line 365 of file tensor_sym.C. References fwrite_be(), id_sym1, id_sym2, and Tensor::sauve(). |
|
||||||||||||||||||||
|
Returns the value of a component for a tensor of valence 4 (read/write version).
Definition at line 624 of file tensor.C. References Tensor::cmp, Tensor::del_deriv(), Tensor::position(), Itbl::set(), and Tensor::valence. |
|
||||||||||||||||
|
Returns the value of a component for a tensor of valence 3 (read/write version).
Definition at line 608 of file tensor.C. References Tensor::cmp, Tensor::del_deriv(), Tensor::position(), Itbl::set(), and Tensor::valence. |
|
||||||||||||
|
Returns the value of a component for a tensor of valence 2 (read/write version).
Definition at line 593 of file tensor.C. References Tensor::cmp, Tensor::del_deriv(), Tensor::position(), Itbl::set(), and Tensor::valence. |
|
|
Returns the value of a component (read/write version).
Definition at line 641 of file tensor.C. References Tensor::cmp, Tensor::del_deriv(), Itbl::get_dim(), Itbl::get_ndim(), Tensor::position(), and Tensor::valence. |
|
|
To be used to describe the fact that the derivatives members have been calculated with
First it sets a null element of Definition at line 440 of file tensor.C. References Tensor::met_depend. |
|
|
Sets the pointers on derived quantities to 0x0.
Reimplemented in Scalar, Sym_tensor, Sym_tensor_trans, Sym_tensor_tt, Vector, and Vector_divfree. Definition at line 394 of file tensor.C. References Tensor::set_der_met_0x0(). |
|
|
Sets all the i-th components of .. to 0x0. Reimplemented in Sym_tensor, and Vector. Definition at line 420 of file tensor.C. References Tensor::met_depend, Tensor::p_derive_con, Tensor::p_derive_cov, and Tensor::p_divergence. |
|
|
Sets the logical state of all components to
Reimplemented in Scalar. Definition at line 476 of file tensor.C. References Tensor::cmp, Tensor::del_deriv(), and Tensor::n_comp. |
|
|
Sets the logical state of all components to
Reimplemented in Scalar. Definition at line 468 of file tensor.C. References Tensor::cmp, Tensor::del_deriv(), and Tensor::n_comp. |
|
|
Sets the logical state of all components to
Reimplemented in Scalar. Definition at line 484 of file tensor.C. References Tensor::cmp, Tensor::del_deriv(), and Tensor::n_comp. |
|
|
Sets the types of all the indices.
Definition at line 908 of file tensor.h. References Tensor::type_indice. |
|
|
Sets the type of the index number
Definition at line 899 of file tensor.h. References Itbl::set(), and Tensor::type_indice. |
|
|
Assigns a new vectorial basis (triad) of decomposition.
NB: this function modifies only the member Definition at line 506 of file tensor.C. References Tensor::triad. |
|
||||||||||||||||||||
|
Displays the spectral coefficients and the associated basis functions of each component. This function shows only the values greater than a given threshold.
Reimplemented in Scalar. Definition at line 861 of file tensor.C. References Tensor::valence. |
|
|
Sets the standard spectal bases of decomposition for each component.
To be used only with Reimplemented in Scalar, and Vector. Definition at line 914 of file tensor.C. References Tensor::cmp, Map::get_bvect_cart(), Map::get_bvect_spher(), Map::get_mg(), Base_vect::identify(), Tensor::indices(), Tensor::mp, Scalar::set_spectral_base(), Mg3d::std_base_vect_cart(), Mg3d::std_base_vect_spher(), Scalar::std_spectral_base(), Tensor::triad, and Tensor::valence. |
|
|
Sets the standard odd spectal bases of decomposition for each component. Currently only implemented for a scalar. Reimplemented in Scalar. Definition at line 970 of file tensor.C. References Tensor::cmp, Scalar::std_spectral_base_odd(), and Tensor::valence. |
|
|
Number of the first symmetric index (
Definition at line 1139 of file tensor.h. References id_sym1. |
|
|
Number of the second symmetric index (
Definition at line 1144 of file tensor.h. References id_sym2. |
|
|
Trace with respect to a given metric for a valence 2 tensor.
Definition at line 190 of file tensor_calculus.C. References Metric::con(), contract(), Metric::cov(), Tensor::trace(), Tensor::type_indice, and Tensor::valence. |
|
|
Trace on two different type indices for a valence 2 tensor.
Definition at line 173 of file tensor_calculus.C. References Tensor::mp, Scalar::set_etat_zero(), Tensor::type_indice, and Tensor::valence. |
|
||||||||||||||||
|
Trace with respect to a given metric.
Definition at line 146 of file tensor_calculus.C. References Metric::con(), contract(), Metric::cov(), Tensor::trace(), Tensor::type_indice, and Tensor::valence. |
|
||||||||||||
|
Trace on two different type indices.
Definition at line 87 of file tensor_calculus.C. References Tensor::cmp, Tensor::get_n_comp(), Tensor::indices(), Tensor::mp, Tensor::position(), Tensor::set(), Itbl::set(), Scalar::set_etat_zero(), Tensor::triad, Tensor::type_indice, and Tensor::valence. |
|
||||||||||||
|
Computes a new tensor by raising an index of
Definition at line 218 of file tensor_calculus.C. References Metric::con(), contract(), Tensor::indices(), Tensor::mp, Tensor::n_comp, Tensor::set(), Itbl::set(), Tensor::triad, Tensor::type_indice, and Tensor::valence. |
|
|
Computes a new tensor by raising or lowering all the indices of
Definition at line 298 of file tensor_calculus.C. References Tensor::Tensor(), Tensor::type_indice, Tensor::up(), and Tensor::valence. |
|
||||||||||||
|
Tensorial product of two symmetric tensors.
NB: the output is an object of class Definition at line 144 of file tensor_sym_calculus.C. |
|
||||||||||||
|
Tensorial product.
Definition at line 100 of file tensor_calculus_ext.C. |
|
||||||||||||
|
Tensorial product with symmetries.
Reimplemented from Tensor. Definition at line 61 of file tensor_sym_calculus.C. |
|
||||||||||||
|
Tensorial product with symmetries.
Reimplemented from Tensor. Definition at line 101 of file tensor_sym_calculus.C. |
|
||||||||||||
|
Scalar + Tensor. The
Definition at line 122 of file tensor_arithm.C. |
|
||||||||||||
|
Tensor + Scalar. The
Definition at line 113 of file tensor_arithm.C. |
|
||||||||||||
|
Scalar - Tensor. The
Definition at line 166 of file tensor_arithm.C. |
|
||||||||||||
|
Tensor - Scalar. The
Definition at line 157 of file tensor_arithm.C. |
|
|
Array of size
|
|
|
Number of the first symmetric index (
|
|
|
Number of the second symmetric index (
|
|
|
Array on the
.. The i-th element of this array is the |
|
|
Mapping on which the numerical values at the grid points are defined.
|
|
|
Number of stored components, depending on the symmetry.
|
|
|
Array of pointers on the contravariant derivatives of
See the comments of |
|
|
Array of pointers on the covariant derivatives of
See the comments of |
|
|
Array of pointers on the divergence of
See the comments of |
|
|
Vectorial basis (triad) with respect to which the tensor components are defined.
|
|
|
1D array of integers (class
|
|
|
Valence of the tensor (0 = scalar, 1 = vector, etc...).
|
1.4.6