72#include "utilitaires.h"
96 cout <<
"Metric_flat::Metric_flat(FILE*) : not implemented yet!" << endl ;
124 cout <<
"Metric_flat::operator=(const Sym_tensor& ) :" <<
'\n' ;
125 cout <<
"Error: a flat metric should not be specified" <<
'\n' ;
126 cout <<
"by a symmetric tensor!" << endl ;
189 assert (bvc == 0x0) ;
236 cout <<
"Metric_flat::sauve(FILE*) : not implemented yet!" << endl ;
248 ost <<
"Flat metric in an orthonormal triad" <<
'\n' ;
249 ost <<
"-----------------------------------" <<
'\n' ;
Cartesian vectorial bases (triads).
Spherical orthonormal vectorial bases (triads).
Vectorial bases (triads) with respect to which the tensorial components are defined.
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(const Sym_tensor &tens)
Standard constructor from a Sym_tensor .
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).
Class intended to describe valence-2 symmetric tensors.
Map(const Mg3d &)
Constructor from a multi-domain 3D grid.