#include <connection.h>
Inheritance diagram for Connection_fspher:

Public Member Functions | |
| Connection_fspher (const Map &, const Base_vect_spher &) | |
| Contructor from a spherical flat-metric-orthonormal basis. | |
| Connection_fspher (const Connection_fspher &) | |
| Copy constructor. | |
| virtual | ~Connection_fspher () |
| destructor | |
| void | operator= (const Connection_fspher &) |
Assignment to another Connection_fspher. | |
| virtual Tensor * | p_derive_cov (const Tensor &tens) const |
Computes the covariant derivative of a tensor (with respect to the current connection). | |
| virtual Tensor * | p_divergence (const Tensor &tens) const |
Computes the divergence of a tensor (with respect to the current connection). | |
| virtual const Tensor & | ricci () const |
| Computes (if not up to date) and returns the Ricci tensor associated with the current connection. | |
| void | update (const Tensor_sym &delta_i) |
| Update the connection when it is defined ab initio. | |
| void | update (const Metric &met) |
| Update the connection when it is associated with a metric. | |
| const Map & | get_mp () const |
| Returns the mapping. | |
| const Tensor_sym & | get_delta () const |
Returns the tensor which defines the connection with respect to the flat one: is the difference between the connection coefficients and the connection coefficients of the flat connection. | |
Protected Member Functions | |
| void | del_deriv () const |
| Deletes all the derived quantities. | |
| void | set_der_0x0 () const |
Sets to 0x0 all the pointers on derived quantities. | |
Protected Attributes | |
| const Map *const | mp |
| Reference mapping. | |
| const Base_vect *const | triad |
Triad with respect to which the connection coefficients are defined. | |
| Tensor_sym | delta |
Tensor which defines the connection with respect to the flat one: is the difference between the connection coefficients and the connection coefficients of the flat connection. | |
| bool | assoc_metric |
| Indicates whether the connection is associated with a metric (in which case the Ricci tensor is symmetric, i.e. | |
| Tensor * | p_ricci |
| Pointer of the Ricci tensor associated with the connection. | |
()
Class for connections associated with a flat metric and given onto an orthonormal spherical triad.
Definition at line 448 of file connection.h.
|
||||||||||||
|
Contructor from a spherical flat-metric-orthonormal basis.
Definition at line 135 of file connection_fspher.C. |
|
|
Copy constructor.
Definition at line 141 of file connection_fspher.C. |
|
|
destructor
Definition at line 151 of file connection_fspher.C. |
|
|
Deletes all the derived quantities.
Definition at line 198 of file connection.C. References Connection::p_ricci, and Connection::set_der_0x0(). |
|
|
Returns the tensor
The connection coefficients with respect to the triad
Note that
Definition at line 267 of file connection.h. References Connection::delta. |
|
|
Returns the mapping.
Definition at line 249 of file connection.h. References Connection::mp. |
|
|
Assignment to another
Definition at line 161 of file connection_fspher.C. |
|
|
Computes the covariant derivative
The extra index (with respect to the indices of
Implements Connection_flat. Definition at line 176 of file connection_fspher.C. References Tensor::get_index_type(), Tensor::get_n_comp(), Tensor::get_triad(), Tensor::get_valence(), Connection::mp, Itbl::set(), Tensor_sym::sym_index1(), Tensor_sym::sym_index2(), and Connection::triad. |
|
|
Computes the divergence of a tensor
The divergence is taken with respect of the last index of
where
Implements Connection_flat. Definition at line 424 of file connection_fspher.C. References Tensor::get_index_type(), Tensor::get_n_comp(), Tensor::get_triad(), Tensor::get_valence(), Connection::mp, Itbl::set(), Tensor_sym::sym_index1(), Tensor_sym::sym_index2(), and Connection::triad. |
|
|
Computes (if not up to date) and returns the Ricci tensor associated with the current connection.
Reimplemented from Connection. Definition at line 114 of file connection_flat.C. References Connection::mp, Connection::p_ricci, Tensor::set_etat_zero(), and Connection::triad. |
|
|
Sets to
Definition at line 206 of file connection.C. References Connection::p_ricci. |
|
|
Update the connection when it is associated with a metric.
Definition at line 248 of file connection.C. References Connection::assoc_metric, Connection::del_deriv(), Connection::fait_delta(), and Connection::flat_met. |
|
|
Update the connection when it is defined ab initio.
Definition at line 228 of file connection.C. References Connection::assoc_metric, Connection::del_deriv(), Connection::delta, Connection::flat_met, Tensor::get_index_type(), Tensor::get_valence(), Tensor_sym::sym_index1(), and Tensor_sym::sym_index2(). |
|
|
Indicates whether the connection is associated with a metric (in which case the Ricci tensor is symmetric, i.e.
the actual type of Definition at line 143 of file connection.h. |
|
|
Tensor
The connection coefficients with respect to the triad
Note that Definition at line 137 of file connection.h. |
|
|
Reference mapping.
Definition at line 115 of file connection.h. |
|
|
Pointer of the Ricci tensor associated with the connection.
Definition at line 160 of file connection.h. |
|
|
Triad
Definition at line 120 of file connection.h. |
1.4.6