26char star_bin_hydro_xcts_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Star/star_bin_hydro_xcts.C,v 1.3 2014/10/13 08:53:38 j_novak Exp $" ;
46#include "utilitaires.h"
51 int nzm1 =
mp.get_mg()->get_nzone() - 1 ;
122 for(
int i=1; i<=3; i++) {
123 for(
int j=1; j<=3; j++){
148 wit_w.std_spectral_base() ;
149 wit_w.annule_domain(nzm1) ;
158 loggam.std_spectral_base() ;
164 loggam.annule_domain(nzm1) ;
174 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.
Vector wit_w
Spatial projection of the fluid 3-velocity with respect to the co-orbiting observer.
Vector bsn
3-vector shift, divided by N, of the rotating coordinates, .
Scalar loggam
Logarithm of the Lorentz factor between the fluid and the co-orbiting observer.
virtual void hydro_euler()
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid fram...
bool irrotational
true for an irrotational star, false for a corotating one
virtual void del_deriv() const
Deletes all the derived quantities.
Vector d_psi
Gradient of (in the irrotational case) (Spherical components with respect to the mapping of the star...
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.
int nzet
Number of domains of *mp occupied by the star.
Class intended to describe valence-2 symmetric tensors.
Cmp sqrt(const Cmp &)
Square root.
Cmp exp(const Cmp &)
Exponential.
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 .