30char et_rot_hydro_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Etoile/et_rot_hydro.C,v 1.4 2014/10/13 08:52:58 j_novak Exp $" ;
80#include "utilitaires.h"
85 int nz =
mp.get_mg()->get_nzone() ;
101 u_euler.set_triad(
mp.get_bvect_cart() ) ;
109 if ( (
u_euler(0).get_etat() == ETATZERO) &&
110 (
u_euler(1).get_etat() == ETATZERO) &&
111 (
u_euler(2).get_etat() == ETATZERO) ) {
125 Cmp uuu2 =
a_car() * ( us(0) * us(0) + us(1) * us(1) )
126 +
b_car() * us(2) * us(2) ;
130 if (
uuu.get_etat() == ETATQCQ) {
131 ((
uuu.set()).va).set_base( us(2).va.base ) ;
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
Active physical coordinates and mapping derivatives.
Tenseur uuu
Norm of u_euler.
virtual void del_deriv() const
Deletes all the derived quantities.
double omega
Rotation angular velocity ([f_unit] ).
virtual void hydro_euler()
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid fram...
Tenseur b_car
Square of the metric factor B.
Tenseur nnn
Total lapse function.
Tenseur u_euler
Fluid 3-velocity with respect to the Eulerian observer.
Tenseur gam_euler
Lorentz factor between the fluid and Eulerian observers.
Map & mp
Mapping associated with the star.
Tenseur ener
Total energy density in the fluid frame.
Tenseur press
Fluid pressure.
Tenseur ener_euler
Total energy density in the Eulerian frame.
Tenseur shift
Total shift vector.
Tenseur s_euler
Trace of the stress tensor in the Eulerian frame.
Tenseur a_car
Total conformal factor .
double unsurc2
: unsurc2=1 for a relativistic star, 0 for a Newtonian one.
Tensor handling *** DEPRECATED : use class Tensor instead ***.
void change_triad(const Base_vect &new_triad)
Sets a new vectorial basis (triad) of decomposition and modifies the components accordingly.
Cmp sqrt(const Cmp &)
Square root.
Coord y
y coordinate centered on the grid
Coord x
x coordinate centered on the grid