29char star_bin_hydro_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Star/star_bin_hydro.C,v 1.8 2014/10/13 08:53:38 j_novak Exp $" ;
70 int nz =
mp.get_mg()->get_nzone() ;
101 d_psi.std_spectral_base() ;
143 for(
int i=1; i<=3; i++){
144 for(
int j=1; j<=3; j++){
169 wit_w.std_spectral_base() ;
171 wit_w.annule_domain(nzm1) ;
181 loggam.std_spectral_base() ;
187 loggam.annule_domain(nzm1) ;
189 wit_w.annule_domain(nzm1) ;
198 wit_w.set_etat_zero() ;
Tensor field of valence 0 (or component of a tensorial field).
virtual void std_spectral_base()
Sets the spectral bases of the Valeur va to the standard ones for a scalar field.
Scalar loggam
Logarithm of the Lorentz factor between the fluid and the co-orbiting observer.
Vector bsn
3-vector shift, divided by N, of the rotating coordinates, .
Vector d_psi
Gradient of (in the irrotational case) (Spherical components with respect to the mapping of the star...
virtual void del_deriv() const
Deletes all the derived quantities.
bool irrotational
true for an irrotational star, false for a corotating one
virtual void hydro_euler()
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid fram...
Vector wit_w
Spatial projection of the fluid 3-velocity with respect to the co-orbiting observer.
Scalar ener
Total energy density in the fluid frame.
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.
Sym_tensor stress_euler
Spatial part of the stress-energy tensor with respect to the Eulerian observer.
Scalar press
Fluid pressure.
Vector u_euler
Fluid 3-velocity with respect to the Eulerian observer.
Map & mp
Mapping associated with the star.
Class intended to describe valence-2 symmetric tensors.
Cmp sqrt(const Cmp &)
Square root.
Cmp exp(const Cmp &)
Exponential.
Tbl norme(const Cmp &)
Sums of the absolute values of all the values of the Cmp in each domain.
Cmp log(const Cmp &)
Neperian logarithm.
virtual void change_triad(const Base_vect &new_triad)
Sets a new vectorial basis (triad) of decomposition and modifies the components accordingly.
Tenseur contract(const Tenseur &, int id1, int id2)
Self contraction of two indices of a Tenseur .