28char metric_flat_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Metric/metric_flat.C,v 1.7 2014/10/13 08:53:07 j_novak Exp $" ;
69#include "utilitaires.h"
77 Metric(mpi), triad(&triadi) {
93 cout <<
"Metric_flat::Metric_flat(FILE*) : not implemented yet!" << endl ;
121 cout <<
"Metric_flat::operator=(const Sym_tensor& ) :" <<
'\n' ;
122 cout <<
"Error: a flat metric should not be specified" <<
'\n' ;
123 cout <<
"by a symmetric tensor!" << endl ;
186 assert (bvc == 0x0) ;
233 cout <<
"Metric_flat::sauve(FILE*) : not implemented yet!" << endl ;
245 ost <<
"Flat metric in an orthonormal triad" <<
'\n' ;
246 ost <<
"-----------------------------------" <<
'\n' ;
Cartesian vectorial bases (triads).
Spherical orthonormal vectorial bases (triads).
Vectorial bases (triads) with respect to which the tensorial components are defined.
Base class for coordinate mappings.
Flat metric for tensor calculation.
virtual const Connection & connect() const
Returns the connection.
virtual ~Metric_flat()
Destructor.
Metric_flat(const Map &, const Base_vect &)
Standard constructor.
virtual const Scalar & ricci_scal() const
Returns the Ricci scalar.
virtual const Sym_tensor & con() const
Read-only access to the contravariant representation.
virtual const Sym_tensor & cov() const
Read-only access to the covariant representation.
virtual void sauve(FILE *) const
Save in a file.
void operator=(const Metric_flat &)
Assignment to another Metric_flat.
const Base_vect * triad
Vectorial basis (triad) with respect to which the components of the flat metric are defined.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
virtual const Scalar & determinant() const
Returns the determinant.
Metric for tensor calculation.
const Map *const mp
Reference mapping.
Sym_tensor * p_met_con
Pointer on the covariant representation.
Sym_tensor * p_met_cov
Pointer on the contravariant representation.
Scalar * p_determinant
Pointer on the determinant.
void operator=(const Metric &met)
Assignment to another Metric.
Scalar * p_ricci_scal
Pointer on the Ricci scalar.
Connection * p_connect
Connection associated with the metric.
Tensor field of valence 0 (or component of a tensorial field).
void set_etat_one()
Sets the logical state to ETATUN (one).
virtual void set_etat_zero()
Sets the logical state to ETATZERO (zero).
Class intended to describe valence-2 symmetric tensors.
Scalar & set(const Itbl &ind)
Returns the value of a component (read/write version).
virtual void std_spectral_base()
Sets the standard spectal bases of decomposition for each component.