30char star_rot_hydro_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Star/star_rot_hydro.C,v 1.3 2014/10/13 08:53:39 j_novak Exp $" ;
54#include "utilitaires.h"
59 int nz =
mp.get_mg()->get_nzone() ;
75 u_euler.set_triad(
mp.get_bvect_cart() ) ;
81 if ( (
u_euler(1).get_etat() == ETATZERO) &&
82 (
u_euler(2).get_etat() == ETATZERO) &&
83 (
u_euler(3).get_etat() == ETATZERO) ) {
101 if (
uuu.get_etat() == ETATQCQ) {
103 (
uuu.set_spectral_va()).set_base( us(3).get_spectral_va().get_base() ) ;
111 Scalar gam2 = double(1) / (double(1) - u2) ;
Active physical coordinates and mapping derivatives.
Tensor field of valence 0 (or component of a tensorial field).
double unsurc2
: unsurc2=1 for a relativistic star, 0 for a Newtonian one.
Scalar b_car
Square of the metric factor B.
virtual void hydro_euler()
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid fram...
double omega
Rotation angular velocity ([f_unit] ).
Scalar uuu
Norm of u_euler.
Scalar a_car
Square of the metric factor A.
virtual void del_deriv() const
Deletes all the derived quantities.
Scalar ener
Total energy density in the fluid frame.
Scalar nn
Lapse function N .
Scalar ener_euler
Total energy density in the Eulerian frame.
Scalar gam_euler
Lorentz factor between the fluid and Eulerian observers.
Scalar s_euler
Trace of the stress scalar in the Eulerian frame.
Scalar press
Fluid pressure.
Vector u_euler
Fluid 3-velocity with respect to the Eulerian observer.
Map & mp
Mapping associated with the star.
Tensor field of valence 1.
virtual void change_triad(const Base_vect &)
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