26 #ifndef __CONNECTION_H_ 27 #define __CONNECTION_H_ Metric for tensor calculation.
virtual const Tensor & ricci() const
Computes (if not up to date) and returns the Ricci tensor associated with the current connection...
void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
const Map *const mp
Reference mapping.
bool assoc_metric
Indicates whether the connection is associated with a metric (in which case the Ricci tensor is symme...
void operator=(const Connection &)
Assignment to another Connection.
Flat metric for tensor calculation.
Base class for coordinate mappings.
virtual Tensor * p_derive_cov(const Tensor &tens) const
Computes the covariant derivative of a tensor (with respect to the current connection).
Tensor_sym delta
Tensor which defines the connection with respect to the flat one: is the difference between the con...
Vectorial bases (triads) with respect to which the tensorial components are defined.
const Tensor_sym & get_delta() const
Returns the tensor which defines the connection with respect to the flat one: is the difference bet...
const Metric_flat * flat_met
Flat metric with respect to which (member delta ) is defined.
void del_deriv() const
Deletes all the derived quantities.
void update(const Tensor_sym &delta_i)
Update the connection when it is defined ab initio.
Connection(const Tensor_sym &delta_i, const Metric_flat &flat_met_i)
Standard constructor ab initio.
virtual ~Connection()
Destructor.
Cartesian vectorial bases (triads).
Spherical orthonormal vectorial bases (triads).
void fait_delta(const Metric &)
Computes the difference between the connection coefficients and that a the flat connection in the ca...
Symmetric tensors (with respect to two of their arguments).
Tensor * p_ricci
Pointer of the Ricci tensor associated with the connection.
const Map & get_mp() const
Returns the mapping.
const Base_vect *const triad
Triad with respect to which the connection coefficients are defined.
virtual Tensor * p_divergence(const Tensor &tens) const
Computes the divergence of a tensor (with respect to the current connection).