160 assert(vtmp.
get_etat() == ETATQCQ) ;
162 for (
int i=0; i<3; i++) {
Cmp log(const Cmp &)
Neperian logarithm.
void annule(int l)
Sets the Tenseur to zero in a given domain.
Cmp exp(const Cmp &)
Exponential.
void set_triad(const Base_vect &new_triad)
Assigns a new vectorial basis (triad) of decomposition.
Cmp sqrt(const Cmp &)
Square root.
void set_std_base()
Set the standard spectal basis of decomposition for each component.
const Mg3d * get_mg() const
Gives the Mg3d on which the mapping is defined.
Tenseur s_euler
Trace of the stress tensor in the Eulerian frame.
Tenseur wit_w
Spatial projection of the fluid 3-velocity with respect to the co-orbiting observer.
double unsurc2
: unsurc2=1 for a relativistic star, 0 for a Newtonian one.
Tenseur press
Fluid pressure.
bool irrotational
true for an irrotational star, false for a corotating one
Cmp & set()
Read/write for a scalar (see also operator=(const Cmp&) ).
Tenseur u_euler
Fluid 3-velocity with respect to the Eulerian observer.
virtual void del_deriv() const
Deletes all the derived quantities.
Tenseur flat_scalar_prod_desal(const Tenseur &t1, const Tenseur &t2)
Same as flat_scalar_prod but with desaliasing.
Tenseur bsn
3-vector shift, divided by N , of the rotating coordinates, .
const Base_vect * get_triad() const
Returns the vectorial basis (triad) on which the components are defined.
Tenseur gam_euler
Lorentz factor between the fluid and Eulerian observers.
Map & mp
Mapping associated with the star.
int get_nzone() const
Returns the number of domains.
int get_etat() const
Returns the logical state.
Tenseur a_car
Total conformal factor .
bool relativistic
Indicator of relativity: true for a relativistic star, false for a Newtonian one. ...
Tenseur ener
Total energy density in the fluid frame.
Tenseur loggam
Logarithm of the Lorentz factor between the fluid and the co-orbiting observer.
Tenseur ent
Log-enthalpy (relativistic case) or specific enthalpy (Newtonian case)
void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
Tenseur ener_euler
Total energy density in the Eulerian frame.
void set_etat_zero()
Sets the logical state to ETATZERO (zero state).
virtual Tenseur sprod(const Tenseur &t1, const Tenseur &t2) const
Performs the scalar product of two tensors by contracting the last index of t1 with the first index o...
Tensor handling *** DEPRECATED : use class Tensor instead ***.
Tenseur d_psi
Gradient of (in the irrotational case) (Cartesian components with respect to ref_triad ) ...
virtual void hydro_euler()
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid fram...