LORENE
et_rot_bifluid.h
1 /*
2  * Definition of Lorene class Et_rot_bifluid
3  *
4  */
5 
6 /*
7  * Copyright (c) 2001 Jerome Novak
8  * (c) 2015 Aurelien Sourie
9  *
10  * This file is part of LORENE.
11  *
12  * LORENE is free software; you can redistribute it and/or modify
13  * it under the terms of the GNU General Public License as published by
14  * the Free Software Foundation; either version 2 of the License, or
15  * (at your option) any later version.
16  *
17  * LORENE is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20  * GNU General Public License for more details.
21  *
22  * You should have received a copy of the GNU General Public License
23  * along with LORENE; if not, write to the Free Software
24  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25  *
26  */
27 
28 
29 #ifndef __ET_ROT_BIFLUID_H_
30 #define __ET_ROT_BIFLUID_H_
31 
32 /*
33  * $Id: et_rot_bifluid.h,v 1.20 2015/06/26 14:10:08 j_novak Exp $
34  * $Log: et_rot_bifluid.h,v $
35  * Revision 1.20 2015/06/26 14:10:08 j_novak
36  * Modified comments.
37  *
38  * Revision 1.19 2015/06/11 13:50:18 j_novak
39  * Minor corrections
40  *
41  * Revision 1.18 2015/06/10 14:39:17 a_sourie
42  * New class Eos_bf_tabul for tabulated 2-fluid EoSs and associated functions for the computation of rotating stars with such EoSs.
43  *
44  * Revision 1.17 2014/10/13 08:52:34 j_novak
45  * Lorene classes and functions now belong to the namespace Lorene.
46  *
47  * Revision 1.16 2013/11/25 13:50:55 j_novak
48  * The inheritance from Etoile_rot is no longer virtual.
49  *
50  * Revision 1.15 2011/10/06 14:55:36 j_novak
51  * equation_of_state() is now virtual to be able to call to the magnetized
52  * Eos_mag.
53  *
54  * Revision 1.14 2004/09/01 10:56:05 r_prix
55  * added option of converging baryon-mass to equilibrium_bi()
56  *
57  * Revision 1.13 2004/03/22 13:12:41 j_novak
58  * Modification of comments to use doxygen instead of doc++
59  *
60  * Revision 1.12 2003/12/04 14:13:32 r_prix
61  * added method get_typeos {return typeos}; and fixed some comments.
62  *
63  * Revision 1.11 2003/11/20 14:01:45 r_prix
64  * changed member names to better conform to Lorene coding standards:
65  * J_euler -> j_euler, EpS_euler -> enerps_euler, Delta_car -> delta_car
66  *
67  * Revision 1.10 2003/11/18 18:32:36 r_prix
68  * added new class-member: EpS_euler := ener_euler + s_euler
69  * has the advantage of a nice Newtonian limit -> rho
70  * (ener_euler is no longer used in this class!)
71  *
72  * Revision 1.9 2003/11/13 12:02:03 r_prix
73  * - adapted/extended some of the documentation
74  * - changed xxx2 -> Delta_car
75  * - added members J_euler, sphph_euler, representing 3+1 components of Tmunu
76  * (NOTE: these are not 2-fluid specific, and should ideally be moved into Class Etoile!)
77  *
78  * Revision 1.8 2003/09/17 08:27:50 j_novak
79  * New methods: mass_b1() and mass_b2().
80  *
81  * Revision 1.7 2002/10/09 07:54:29 j_novak
82  * Et_rot_bifluid and Et_rot_mag inheritate virtually from Etoile_rot
83  *
84  * Revision 1.6 2002/09/13 09:17:33 j_novak
85  * Modif. commentaires
86  *
87  * Revision 1.5 2002/04/05 09:09:36 j_novak
88  * The inversion of the EOS for 2-fluids polytrope has been modified.
89  * Some errors in the determination of the surface were corrected.
90  *
91  * Revision 1.4 2002/01/16 15:03:28 j_novak
92  * *** empty log message ***
93  *
94  * Revision 1.3 2002/01/08 14:43:53 j_novak
95  * better determination of surfaces for 2-fluid stars
96  *
97  * Revision 1.2 2002/01/03 15:30:27 j_novak
98  * Some comments modified.
99  *
100  * Revision 1.1.1.1 2001/11/20 15:19:27 e_gourgoulhon
101  * LORENE
102  *
103  * Revision 1.3 2001/10/03 09:49:06 novak
104  * *** empty log message ***
105  *
106  * Revision 1.2 2001/08/28 14:14:10 novak
107  * overrided l_surf function
108  *
109  * Revision 1.1 2001/06/22 15:38:52 novak
110  * Initial revision
111  *
112  *
113  * $Header: /cvsroot/Lorene/C++/Include/et_rot_bifluid.h,v 1.20 2015/06/26 14:10:08 j_novak Exp $
114  *
115  */
116 
117 // Headers Lorene
118 #include "eos_bifluid.h"
119 #include "etoile.h"
120 
121 namespace Lorene {
122 
123  // Local prototype (for determining the surface)
124  Cmp prolonge_c1(const Cmp& uu, const int nzet) ;
125 
147  class Et_rot_bifluid : public Etoile_rot {
148 
149  // Data :
150  // -----
151  protected:
152  const Eos_bifluid& eos ;
153 
154  double omega2 ;
155 
156  // Fluid quantities with respect to the fluid frame
157  // ------------------------------------------------
158 
161 
163 
167 
168  // Fluid quantities with respect to the Eulerian frame
169  // ---------------------------------------------------
170 
171  // FIXME: the following three variables are not specific to 2-fluid stars
172  // and should ideally be moved to class Etoile!
173 
176 
183 
186 
189 
190  Tenseur j_euler21_1;// To compute epsN (1st version)
191  Tenseur j_euler22_1;// To compute epsP (1st version)
192 
193  Tenseur j_euler11_2;//To compute In (2nd version)
194  Tenseur j_euler12_2;//To compute Ip (2nd version)
195 
196  Tenseur j_euler21_2;// To compute epsN (2nd version)
197  Tenseur j_euler22_2;// To compute epsP (2nd version)
198 
199 
202 
205 
208 
214 
215  // Derived data :
216  // ------------
217  protected:
219  mutable double* p_ray_eq2 ;
220 
222  mutable double* p_ray_eq2_pis2 ;
223 
225  mutable double* p_ray_eq2_pi ;
226 
228  mutable double* p_ray_pole2 ;
229 
234  mutable Itbl* p_l_surf2 ;
235 
240  mutable Tbl* p_xi_surf2 ;
241 
242  mutable double* p_r_circ2 ;
243  mutable double* p_area2 ;
244  mutable double* p_aplat2 ;
245 
246  mutable double* p_mass_b1 ;
247  mutable double* p_mass_b2 ;
248 
249  mutable double* p_angu_mom_1;
250  mutable double* p_angu_mom_2;
251 
252  mutable double* p_angu_mom_1_part1_1;
253  mutable double* p_angu_mom_2_part1_1;
254 
255  mutable double* p_angu_mom_1_part2_1;
256  mutable double* p_angu_mom_2_part2_1;
257 
258  mutable double* p_angu_mom_1_part1_2;
259  mutable double* p_angu_mom_2_part1_2;
260 
261  mutable double* p_angu_mom_1_part2_2;
262  mutable double* p_angu_mom_2_part2_2;
263 
264  // Constructors - Destructor
265  // -------------------------
266  public:
267 
268  Et_rot_bifluid(Map& mp_i, int nzet_i, bool relat,
269  const Eos_bifluid& eos_i) ;
270 
271  Et_rot_bifluid(const Et_rot_bifluid& ) ;
272 
277  Et_rot_bifluid(Map& mp_i, const Eos_bifluid& eos_i, FILE* fich) ;
278 
279  virtual ~Et_rot_bifluid() ;
280 
281  // Memory management
282  // -----------------
283  protected:
284 
286  virtual void del_deriv() const ;
287 
289  virtual void set_der_0x0() const ;
290 
294  virtual void del_hydro_euler() ;
295 
296  // Mutators / assignment
297  // ---------------------
298  public:
299 
301  void operator=(const Et_rot_bifluid&) ;
302 
304  void set_enthalpies(const Cmp&, const Cmp&) ;
305 
314  void equilibrium_spher_bi(double ent_c, double ent_c2,
315  double precis = 1.e-14) ;
316 
327  void equil_spher_regular(double ent_c, double ent_c2,
328  double precis = 1.e-14) ;
329 
330  // Accessors
331  // ---------
332  public:
333 
335  const Eos_bifluid& get_eos() const {return eos; } ;
336 
338  const Tenseur& get_ent2() const {return ent2 ; } ;
339 
341  const Tenseur& get_nbar2() const {return nbar2 ; } ;
342 
344  const Tenseur& get_K_nn() const {return K_nn ; } ;
346  const Tenseur& get_K_np() const {return K_np ; } ;
348  const Tenseur& get_K_pp() const {return K_pp ; } ;
349 
351  const Tenseur& get_delta_car() const {return delta_car ; } ;
352 
354  const Tenseur& get_gam_euler2() const {return gam_euler2 ; } ;
355 
357  double get_omega2() const {return omega2 ; } ;
358 
360  const Tenseur& get_uuu2() const {return uuu2 ; } ;
361 
362  // Outputs
363  // -------
364  public:
365  virtual void sauve(FILE *) const ;
366 
368  virtual ostream& operator>>(ostream& ) const ;
369 
371  virtual void partial_display(ostream& ) const ;
372 
373  // Global quantities
374  // -----------------
375  public:
376 
384  virtual const Itbl& l_surf() const ;
385 
393  const Itbl& l_surf2() const ;
394 
402  const Tbl& xi_surf2() const ;
403 
405  double ray_eq2() const ;
406 
408  double ray_eq2_pis2() const ;
409 
411  double ray_eq2_pi() const ;
412 
414  double ray_pole2() const ;
415 
417  double mass_b1() const ;
418 
420  double mass_b2() const ;
421 
422  virtual double mass_b() const ;
423  virtual double mass_g() const ;
424  virtual double angu_mom() const ;
425 
430  virtual double grv2() const ;
431 
443  virtual double grv3(ostream* ost = 0x0) const ;
444 
445  virtual double r_circ2() const ;
446  virtual double area2() const ;
447  virtual double mean_radius2() const ;
448  virtual double aplat2() const ;
449 
464  virtual double mom_quad() const ;
465 
473  virtual double mom_quad_old() const ;
474 
481  virtual double mom_quad_Bo() const ;
482 
483  virtual double angu_mom_1() const ;
484  virtual double angu_mom_2() const ;
485  virtual double angu_mom_1_part1_1() const ;
486  virtual double angu_mom_2_part1_1() const ;
487  virtual double angu_mom_1_part2_1() const ;
488  virtual double angu_mom_2_part2_1() const ;
489  virtual double angu_mom_1_part1_2() const ;
490  virtual double angu_mom_2_part1_2() const ;
491  virtual double angu_mom_1_part2_2() const ;
492  virtual double angu_mom_2_part2_2() const ;
493 
494  // Computational routines
495  // ----------------------
496  public:
507  virtual void hydro_euler() ;
508 
513  virtual void equation_of_state() ;
514 
573  void equilibrium_bi(double ent_c, double ent_c2, double omega0,
574  double omega20, const Tbl& ent_limit,
575  const Tbl& ent2_limit, const Itbl& icontrol,
576  const Tbl& control, Tbl& diff,
577  int mer_mass, double mbar1_wanted, double mbar2_wanted,
578  double aexp_mass);
579  };
580 
581 }
582 #endif
Lorene::Et_rot_bifluid::angu_mom_2
virtual double angu_mom_2() const
Angular momentum of fluid 2.
Definition: et_bfrot_global.C:241
Lorene::Et_rot_bifluid::equilibrium_bi
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.
Definition: et_bfrot_equilibre.C:135
Lorene::Et_rot_bifluid::mom_quad
virtual double mom_quad() const
Quadrupole moment.
Definition: et_bfrot_global.C:703
Lorene::Et_rot_bifluid::j_euler1
Tenseur j_euler1
To compute Jn.
Definition: et_rot_bifluid.h:184
Lorene::Et_rot_bifluid::angu_mom_2_part2_2
virtual double angu_mom_2_part2_2() const
To compute Xp (2nd version)
Definition: et_bfrot_global.C:441
Lorene::Et_rot_bifluid::mass_b2
double mass_b2() const
Baryon mass of fluid 2.
Definition: et_bfrot_global.C:132
Lorene::Et_rot_bifluid::equation_of_state
virtual void equation_of_state()
Computes the proper baryon and energy densities, as well as pressure and the coefficients Knn,...
Definition: et_rot_bifluid.C:732
Lorene::Et_rot_bifluid::j_euler2
Tenseur j_euler2
To compute Jp.
Definition: et_rot_bifluid.h:185
Lorene::Et_rot_bifluid::get_K_nn
const Tenseur & get_K_nn() const
Returns the coefficient Knn.
Definition: et_rot_bifluid.h:344
Lorene::Tenseur
Tensor handling *** DEPRECATED : use class Tensor instead ***.
Definition: tenseur.h:301
Lorene::Et_rot_bifluid::p_r_circ2
double * p_r_circ2
Circumferential radius of fluid no.2.
Definition: et_rot_bifluid.h:242
Lorene::Et_rot_bifluid::p_ray_eq2_pis2
double * p_ray_eq2_pis2
Coordinate radius at , .
Definition: et_rot_bifluid.h:222
Lorene::Et_rot_bifluid::p_angu_mom_2_part1_2
double * p_angu_mom_2_part1_2
To compute Ip (2nd version)
Definition: et_rot_bifluid.h:259
Lorene::Et_rot_bifluid::p_angu_mom_2
double * p_angu_mom_2
Angular momentum of fluid 2.
Definition: et_rot_bifluid.h:250
Lorene::Et_rot_bifluid::xi_surf2
const Tbl & xi_surf2() const
Description of the surface of fluid 2: returns a 2-D Tbl containing the values of the radial coordi...
Definition: et_bfrot_global.C:878
Lorene::Et_rot_bifluid::enerps_euler
Tenseur enerps_euler
the combination : useful because in the Newtonian limit .
Definition: et_rot_bifluid.h:201
Lorene::Et_rot_bifluid::sphph_euler
Tenseur sphph_euler
The component of the stress tensor .
Definition: et_rot_bifluid.h:175
Lorene::Et_rot_bifluid::~Et_rot_bifluid
virtual ~Et_rot_bifluid()
Destructor.
Definition: et_rot_bifluid.C:276
Lorene::Et_rot_bifluid::mean_radius2
virtual double mean_radius2() const
Mean radius for fluid 2.
Definition: et_bfrot_global.C:690
Lorene::Et_rot_bifluid::operator>>
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Definition: et_rot_bifluid.C:450
Lorene::Et_rot_bifluid::K_pp
Tenseur K_pp
Coefficient Kpp.
Definition: et_rot_bifluid.h:166
Lorene::Et_rot_bifluid::angu_mom_1
virtual double angu_mom_1() const
Angular momentum of fluid 1.
Definition: et_bfrot_global.C:216
Lorene::Et_rot_bifluid::get_ent2
const Tenseur & get_ent2() const
Returns the enthalpy field for fluid 2.
Definition: et_rot_bifluid.h:338
Lorene::Et_rot_bifluid::ray_eq2
double ray_eq2() const
Coordinate radius for fluid 2 at , [r_unit].
Definition: et_bfrot_global.C:896
Lorene::Et_rot_bifluid::operator=
void operator=(const Et_rot_bifluid &)
Assignment to another Et_rot_bifluid.
Definition: et_rot_bifluid.C:394
Lorene::Et_rot_bifluid::set_enthalpies
void set_enthalpies(const Cmp &, const Cmp &)
Sets both enthalpy profiles.
Definition: et_rot_bifluid.C:374
Lorene::Et_rot_bifluid::K_np
Tenseur K_np
Coefficient Knp.
Definition: et_rot_bifluid.h:165
Lorene::Eos_bifluid
2-fluids equation of state base class.
Definition: eos_bifluid.h:173
Lorene
Lorene prototypes.
Definition: app_hor.h:64
Lorene::Et_rot_bifluid::uuu2
Tenseur uuu2
Norm of the (fluid no.2) 3-velocity with respect to the eulerian observer.
Definition: et_rot_bifluid.h:204
Lorene::Et_rot_bifluid::partial_display
virtual void partial_display(ostream &) const
Printing of some informations, excluding all global quantities.
Definition: et_rot_bifluid.C:666
Lorene::Et_rot_bifluid::delta_car
Tenseur delta_car
The "relative velocity" (squared) of the two fluids.
Definition: et_rot_bifluid.h:213
Lorene::Et_rot_bifluid::omega2
double omega2
Rotation angular velocity for fluid 2 ([f_unit] )
Definition: et_rot_bifluid.h:154
Lorene::Et_rot_bifluid::equilibrium_spher_bi
void equilibrium_spher_bi(double ent_c, double ent_c2, double precis=1.e-14)
Computes a spherical static configuration.
Lorene::Etoile_rot
Class for isolated rotating stars *** DEPRECATED : use class Star_rot instead ***.
Definition: etoile.h:1496
Lorene::Et_rot_bifluid::mom_quad_old
virtual double mom_quad_old() const
Part of the quadrupole moment.
Definition: et_bfrot_global.C:742
Lorene::Et_rot_bifluid::p_area2
double * p_area2
Surface area of fluid no.2.
Definition: et_rot_bifluid.h:243
Lorene::Et_rot_bifluid::ray_eq2_pi
double ray_eq2_pi() const
Coordinate radius for fluid 2 at , [r_unit].
Definition: et_bfrot_global.C:987
Lorene::Et_rot_bifluid::ent2
Tenseur ent2
Log-enthalpy for the second fluid.
Definition: et_rot_bifluid.h:160
Lorene::Et_rot_bifluid::get_gam_euler2
const Tenseur & get_gam_euler2() const
Returns the Lorentz factor between the fluid 2 and Eulerian observers.
Definition: et_rot_bifluid.h:354
Lorene::Et_rot_bifluid::Et_rot_bifluid
Et_rot_bifluid(Map &mp_i, int nzet_i, bool relat, const Eos_bifluid &eos_i)
Standard constructor.
Definition: et_rot_bifluid.C:122
Lorene::Et_rot_bifluid::angu_mom_1_part2_1
virtual double angu_mom_1_part2_1() const
To compute Xn (1st version)
Definition: et_bfrot_global.C:316
Lorene::Et_rot_bifluid::p_angu_mom_1
double * p_angu_mom_1
Angular momentum of fluid 1.
Definition: et_rot_bifluid.h:249
Lorene::Itbl
Basic integer array class.
Definition: itbl.h:122
Lorene::Et_rot_bifluid::grv3
virtual double grv3(ostream *ost=0x0) const
Error on the virial identity GRV3.
Definition: et_bfrot_global.C:496
Lorene::Et_rot_bifluid::mass_g
virtual double mass_g() const
Gravitational mass.
Definition: et_bfrot_global.C:162
Lorene::Et_rot_bifluid::ray_pole2
double ray_pole2() const
Coordinate radius for fluid 2 at [r_unit].
Definition: et_bfrot_global.C:1036
Lorene::Et_rot_bifluid::j_euler
Tenseur j_euler
Total angular momentum (flat-space!) 3-vector , which is related to of the "3+1" decomposition,...
Definition: et_rot_bifluid.h:182
Lorene::Et_rot_bifluid::p_angu_mom_2_part2_1
double * p_angu_mom_2_part2_1
To compute Xp (1st version)
Definition: et_rot_bifluid.h:256
Lorene::Et_rot_bifluid::p_mass_b1
double * p_mass_b1
Baryon mass of fluid 1.
Definition: et_rot_bifluid.h:246
Lorene::Et_rot_bifluid::angu_mom_2_part1_2
virtual double angu_mom_2_part1_2() const
To compute Ip (2nd version)
Definition: et_bfrot_global.C:391
Lorene::Et_rot_bifluid::p_ray_pole2
double * p_ray_pole2
Coordinate radius at .
Definition: et_rot_bifluid.h:228
Lorene::Et_rot_bifluid::K_nn
Tenseur K_nn
Coefficient Knn.
Definition: et_rot_bifluid.h:164
Lorene::Et_rot_bifluid::grv2
virtual double grv2() const
Error on the virial identity GRV2.
Definition: et_bfrot_global.C:471
Lorene::Et_rot_bifluid::angu_mom_1_part1_1
virtual double angu_mom_1_part1_1() const
To compute In (1st version)
Definition: et_bfrot_global.C:266
Lorene::Et_rot_bifluid::l_surf
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...
Definition: et_bfrot_global.C:811
Lorene::Et_rot_bifluid::get_uuu2
const Tenseur & get_uuu2() const
Returns the norm of the fluid 2 3-velocity with respect to the eulerian frame.
Definition: et_rot_bifluid.h:360
Lorene::Et_rot_bifluid::hydro_euler
virtual void hydro_euler()
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid fram...
Definition: et_rot_bifluid.C:826
Lorene::Et_rot_bifluid::angu_mom_1_part2_2
virtual double angu_mom_1_part2_2() const
To compute Xn (2nd version)
Definition: et_bfrot_global.C:416
Lorene::Et_rot_bifluid::angu_mom
virtual double angu_mom() const
Angular momentum.
Definition: et_bfrot_global.C:190
Lorene::Et_rot_bifluid::equil_spher_regular
void equil_spher_regular(double ent_c, double ent_c2, double precis=1.e-14)
Computes a spherical static configuration.
Lorene::Et_rot_bifluid::sauve
virtual void sauve(FILE *) const
Save in a file.
Definition: et_rot_bifluid.C:436
Lorene::Et_rot_bifluid::j_euler12_1
Tenseur j_euler12_1
To compute Ip (1st version)
Definition: et_rot_bifluid.h:188
Lorene::Et_rot_bifluid::get_delta_car
const Tenseur & get_delta_car() const
Returns the "relative velocity" (squared) of the two fluids.
Definition: et_rot_bifluid.h:351
Lorene::Et_rot_bifluid::eos
const Eos_bifluid & eos
Equation of state for two-fluids model.
Definition: et_rot_bifluid.h:152
Lorene::Cmp
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
Definition: cmp.h:446
Lorene::Et_rot_bifluid::p_l_surf2
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...
Definition: et_rot_bifluid.h:234
Lorene::Et_rot_bifluid::p_angu_mom_1_part1_2
double * p_angu_mom_1_part1_2
To compute In (2nd version)
Definition: et_rot_bifluid.h:258
Lorene::Et_rot_bifluid::p_angu_mom_1_part2_2
double * p_angu_mom_1_part2_2
To compute Xn (2nd version)
Definition: et_rot_bifluid.h:261
Lorene::Et_rot_bifluid::p_angu_mom_2_part1_1
double * p_angu_mom_2_part1_1
To compute Ip (1st version)
Definition: et_rot_bifluid.h:253
Lorene::Tbl
Basic array class.
Definition: tbl.h:161
Lorene::Et_rot_bifluid::p_xi_surf2
Tbl * p_xi_surf2
Description of the surface of fluid 2: 2-D Tbl containing the values of the radial coordinate on the...
Definition: et_rot_bifluid.h:240
Lorene::Et_rot_bifluid::ray_eq2_pis2
double ray_eq2_pis2() const
Coordinate radius for fluid 2 at , [r_unit].
Definition: et_bfrot_global.C:930
Lorene::Et_rot_bifluid::mom_quad_Bo
virtual double mom_quad_Bo() const
Part of the quadrupole moment.
Definition: et_bfrot_global.C:719
Lorene::Et_rot_bifluid::get_K_pp
const Tenseur & get_K_pp() const
Returns the coefficient Kpp.
Definition: et_rot_bifluid.h:348
Lorene::Et_rot_bifluid::r_circ2
virtual double r_circ2() const
Circumferential radius for fluid 2.
Definition: et_bfrot_global.C:593
Lorene::Et_rot_bifluid::angu_mom_2_part2_1
virtual double angu_mom_2_part2_1() const
To compute Xp (1st version)
Definition: et_bfrot_global.C:341
Lorene::Et_rot_bifluid::nbar2
Tenseur nbar2
Baryon density in the fluid frame, for fluid 2.
Definition: et_rot_bifluid.h:162
Lorene::Et_rot_bifluid::get_K_np
const Tenseur & get_K_np() const
Returns the coefficient Knp.
Definition: et_rot_bifluid.h:346
Lorene::Et_rot_bifluid::mass_b
virtual double mass_b() const
Total Baryon mass.
Definition: et_bfrot_global.C:148
Lorene::Et_rot_bifluid::del_deriv
virtual void del_deriv() const
Deletes all the derived quantities.
Definition: et_rot_bifluid.C:286
Lorene::Et_rot_bifluid
Class for two-fluid rotating relativistic stars.
Definition: et_rot_bifluid.h:147
Lorene::Et_rot_bifluid::gam_euler2
Tenseur gam_euler2
Lorentz factor between the fluid 2 and Eulerian observers
Definition: et_rot_bifluid.h:207
Lorene::Et_rot_bifluid::p_aplat2
double * p_aplat2
Flatening r_pole/r_eq of fluid no.2.
Definition: et_rot_bifluid.h:244
Lorene::Et_rot_bifluid::p_angu_mom_1_part2_1
double * p_angu_mom_1_part2_1
To compute Xn (1st version)
Definition: et_rot_bifluid.h:255
Lorene::Et_rot_bifluid::mass_b1
double mass_b1() const
Baryon mass of fluid 1.
Definition: et_bfrot_global.C:116
Lorene::Et_rot_bifluid::get_omega2
double get_omega2() const
Returns the rotation angular velocity of fluid 2([f_unit] )
Definition: et_rot_bifluid.h:357
Lorene::Et_rot_bifluid::p_ray_eq2
double * p_ray_eq2
Coordinate radius at , .
Definition: et_rot_bifluid.h:219
Lorene::Et_rot_bifluid::p_angu_mom_1_part1_1
double * p_angu_mom_1_part1_1
To compute In (1st version)
Definition: et_rot_bifluid.h:252
Lorene::Et_rot_bifluid::aplat2
virtual double aplat2() const
Flatening r_pole/r_eq for fluid 2.
Definition: et_bfrot_global.C:618
Lorene::Et_rot_bifluid::set_der_0x0
virtual void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
Definition: et_rot_bifluid.C:319
Lorene::Et_rot_bifluid::p_ray_eq2_pi
double * p_ray_eq2_pi
Coordinate radius at , .
Definition: et_rot_bifluid.h:225
Lorene::Et_rot_bifluid::p_mass_b2
double * p_mass_b2
Baryon mass of fluid 2.
Definition: et_rot_bifluid.h:247
Lorene::Et_rot_bifluid::j_euler11_1
Tenseur j_euler11_1
To compute In (1st version)
Definition: et_rot_bifluid.h:187
Lorene::Map
Base class for coordinate mappings.
Definition: map.h:670
Lorene::Et_rot_bifluid::l_surf2
const Itbl & l_surf2() const
Description of the surface of fluid 2: returns a 2-D Itbl containing the values of the domain index...
Definition: et_bfrot_global.C:844
Lorene::Et_rot_bifluid::angu_mom_2_part1_1
virtual double angu_mom_2_part1_1() const
To compute Ip (1st version)
Definition: et_bfrot_global.C:291
Lorene::Et_rot_bifluid::del_hydro_euler
virtual void del_hydro_euler()
Sets to ETATNONDEF (undefined state) the hydrodynamical quantities relative to the Eulerian observer.
Definition: et_rot_bifluid.C:346
Lorene::Et_rot_bifluid::get_nbar2
const Tenseur & get_nbar2() const
Returns the proper baryon density for fluid 2.
Definition: et_rot_bifluid.h:341
Lorene::Et_rot_bifluid::angu_mom_1_part1_2
virtual double angu_mom_1_part1_2() const
To compute In (2nd version)
Definition: et_bfrot_global.C:366
Lorene::Et_rot_bifluid::p_angu_mom_2_part2_2
double * p_angu_mom_2_part2_2
To compute Xp (2nd version)
Definition: et_rot_bifluid.h:262
Lorene::Et_rot_bifluid::get_eos
const Eos_bifluid & get_eos() const
Returns the equation of state.
Definition: et_rot_bifluid.h:335
Lorene::Et_rot_bifluid::area2
virtual double area2() const
Surface area for fluid 2.
Definition: et_bfrot_global.C:636