29 #ifndef __ET_ROT_BIFLUID_H_ 30 #define __ET_ROT_BIFLUID_H_ 121 #include "eos_bifluid.h" 127 Cmp prolonge_c1(
const Cmp& uu,
const int nzet) ;
302 double precis = 1.e-14) ;
315 double precis = 1.e-14) ;
357 virtual void sauve(FILE *)
const ;
360 virtual ostream&
operator>>(ostream& )
const ;
414 virtual double mass_b()
const ;
415 virtual double mass_g()
const ;
422 virtual double grv2()
const ;
435 virtual double grv3(ostream* ost = 0x0)
const ;
437 virtual double r_circ2()
const ;
438 virtual double area2()
const ;
440 virtual double aplat2()
const ;
487 virtual double coupling_mominert_2()
const ;
488 virtual double coupling_entr()
const ;
489 virtual double coupling_LT_1()
const ;
490 virtual double coupling_LT_2()
const ;
572 double omega20,
const Tbl& ent_limit,
573 const Tbl& ent2_limit,
const Itbl& icontrol,
574 const Tbl& control,
Tbl& diff,
575 int mer_mass,
double mbar1_wanted,
double mbar2_wanted,
const Tenseur & get_K_np() const
Returns the coefficient .
double * p_mass_b2
Baryon mass of fluid 2.
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
virtual double mass_g() const
Gravitational mass.
Tenseur j_euler2
To compute .
Tenseur j_euler1
To compute .
Tenseur K_pp
Coefficient .
virtual double mass_b() const
Total Baryon mass.
const Tenseur & get_K_pp() const
Returns the coefficient .
double mass_b1() const
Baryon mass of fluid 1.
void equil_spher_regular(double ent_c, double ent_c2, double precis=1.e-14)
Computes a spherical static configuration.
void set_enthalpies(const Cmp &, const Cmp &)
Sets both enthalpy profiles.
double * p_r_circ2
Circumferential radius of fluid no.2.
Tbl * p_xi_surf2
Description of the surface of fluid 2: 2-D Tbl containing the values of the radial coordinate on the...
Tenseur uuu2
Norm of the (fluid no.2) 3-velocity with respect to the eulerian observer.
virtual void equation_of_state()
Computes the proper baryon and energy densities, as well as pressure and the coefficients Knn...
double * p_angu_mom_1
Angular momentum of fluid 1.
Base class for coordinate mappings.
Class for isolated rotating stars *** DEPRECATED : use class Star_rot instead ***.
Basic integer array class.
virtual void sauve(FILE *) const
Save in a file.
double get_omega2() const
Returns the rotation angular velocity of fluid 2([f_unit] )
const Eos_bifluid & get_eos() const
Returns the equation of state.
double * p_ray_eq2
Coordinate radius at , .
Class for two-fluid rotating relativistic stars.
virtual double mom_quad_Bo() const
Part of the quadrupole moment.
const Itbl & l_surf2() const
Description of the surface of fluid 2: returns a 2-D Itbl containing the values of the domain index ...
2-fluids equation of state base class.
const Tenseur & get_uuu2() const
Returns the norm of the fluid 2 3-velocity with respect to the eulerian frame.
Tenseur j_euler
Total angular momentum (flat-space!) 3-vector , which is related to of the "3+1" decomposition...
double * p_mass_b1
Baryon mass of fluid 1.
Tenseur gam_euler2
Lorentz factor between the fluid 2 and Eulerian observers.
double ray_eq2_pi() const
Coordinate radius for fluid 2 at , [r_unit].
const Eos_bifluid & eos
Equation of state for two-fluids model.
double * p_coupling_mominert_1
Quantities used to describe the different couplings between the fluids.
double omega2
Rotation angular velocity for fluid 2 ([f_unit] )
const Tenseur & get_delta_car() const
Returns the "relative velocity" (squared) of the two fluids.
virtual double grv3(ostream *ost=0x0) const
Error on the virial identity GRV3.
double * p_coupling_mominert_2
virtual double angu_mom_2() const
Angular momentum of fluid 2.
double * p_area2
Surface area of fluid no.2.
virtual void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
const Tbl & xi_surf2() const
Description of the surface of fluid 2: returns a 2-D Tbl containing the values of the radial coordin...
double ray_eq2_pis2() const
Coordinate radius for fluid 2 at , [r_unit].
Tenseur enerps_euler
the combination : useful because in the Newtonian limit .
double * p_ray_eq2_pi
Coordinate radius at , .
Tenseur K_np
Coefficient .
virtual const Itbl & l_surf() const
Description of the surface of fluid 1: returns a 2-D Itbl containing the values of the domain index ...
void operator=(const Et_rot_bifluid &)
Assignment to another Et_rot_bifluid.
virtual double mom_quad_old() const
Part of the quadrupole moment.
virtual double grv2() const
Error on the virial identity GRV2.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
const Tenseur & get_ent2() const
Returns the enthalpy field for fluid 2.
virtual double mean_radius2() const
Mean radius for fluid 2.
virtual void del_deriv() const
Deletes all the derived quantities.
virtual void partial_display(ostream &) const
Printing of some informations, excluding all global quantities.
double ray_pole2() const
Coordinate radius for fluid 2 at [r_unit].
virtual double angu_mom_1() const
Angular momentum of fluid 1.
double * p_angu_mom_2
Angular momentum of fluid 2.
Tenseur ent2
Log-enthalpy for the second fluid.
Tenseur sphph_euler
The component of the stress tensor .
virtual void del_hydro_euler()
Sets to ETATNONDEF (undefined state) the hydrodynamical quantities relative to the Eulerian observer...
virtual double mom_quad() const
Quadrupole moment.
double * p_ray_eq2_pis2
Coordinate radius at , .
double * p_ray_pole2
Coordinate radius at .
virtual double r_circ2() const
Circumferential radius for fluid 2.
Tenseur nbar2
Baryon density in the fluid frame, for fluid 2.
Tenseur K_nn
Coefficient .
const Tenseur & get_alpha_eos() const
Returns the coefficient (entrainment parameter)
const Tenseur & get_gam_euler2() const
Returns the Lorentz factor between the fluid 2 and Eulerian observers.
const Tenseur & get_K_nn() const
Returns the coefficient .
virtual double coupling_mominert_1() const
Quantities used to study the different fluid couplings: , and .
const Tenseur & get_nbar2() const
Returns the proper baryon density for fluid 2.
virtual double angu_mom() const
Angular momentum.
double mass_b2() const
Baryon mass of fluid 2.
virtual ~Et_rot_bifluid()
Destructor.
void equilibrium_spher_bi(double ent_c, double ent_c2, double precis=1.e-14)
Computes a spherical static configuration.
Tenseur alpha_eos
Coefficient relative to entrainment effects.
Tenseur delta_car
The "relative velocity" (squared) of the two fluids.
void equilibrium_bi(double ent_c, double ent_c2, double omega0, double omega20, const Tbl &ent_limit, const Tbl &ent2_limit, const Itbl &icontrol, const Tbl &control, Tbl &diff, int mer_mass, double mbar1_wanted, double mbar2_wanted, double aexp_mass)
Computes an equilibrium configuration.
double ray_eq2() const
Coordinate radius for fluid 2 at , [r_unit].
virtual double aplat2() const
Flatening r_pole/r_eq for fluid 2.
double * p_aplat2
Flatening r_pole/r_eq of fluid no.2.
virtual void hydro_euler()
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid fram...
virtual double area2() const
Surface area for fluid 2.
Tensor handling *** DEPRECATED : use class Tensor instead ***.
Et_rot_bifluid(Map &mp_i, int nzet_i, bool relat, const Eos_bifluid &eos_i)
Standard constructor.
Itbl * p_l_surf2
Description of the surface of fluid 2: 2-D Itbl containing the values of the domain index l on the su...