LORENE
|
Class for two-fluid rotating relativistic stars. More...
#include <et_rot_bifluid.h>
Public Member Functions | |
Et_rot_bifluid (Map &mp_i, int nzet_i, bool relat, const Eos_bifluid &eos_i) | |
Standard constructor. | |
Et_rot_bifluid (const Et_rot_bifluid &) | |
Copy constructor. | |
Et_rot_bifluid (Map &mp_i, const Eos_bifluid &eos_i, FILE *fich) | |
Constructor from a file (see sauve(FILE*) ) Works only for relativistic stars. | |
virtual | ~Et_rot_bifluid () |
Destructor. | |
void | operator= (const Et_rot_bifluid &) |
Assignment to another Et_rot_bifluid. | |
void | set_enthalpies (const Cmp &, const Cmp &) |
Sets both enthalpy profiles. | |
void | equilibrium_spher_bi (double ent_c, double ent_c2, double precis=1.e-14) |
Computes a spherical static configuration. | |
void | equil_spher_regular (double ent_c, double ent_c2, double precis=1.e-14) |
Computes a spherical static configuration. | |
const Eos_bifluid & | get_eos () const |
Returns the equation of state. | |
const Tenseur & | get_ent2 () const |
Returns the enthalpy field for fluid 2. | |
const Tenseur & | get_nbar2 () const |
Returns the proper baryon density for fluid 2. | |
const Tenseur & | get_K_nn () const |
Returns the coefficient Knn. | |
const Tenseur & | get_K_np () const |
Returns the coefficient Knp. | |
const Tenseur & | get_K_pp () const |
Returns the coefficient Kpp. | |
const Tenseur & | get_delta_car () const |
Returns the "relative velocity" (squared) ![]() | |
const Tenseur & | get_gam_euler2 () const |
Returns the Lorentz factor between the fluid 2 and Eulerian observers. | |
double | get_omega2 () const |
Returns the rotation angular velocity of fluid 2( [f_unit] ) | |
const Tenseur & | get_uuu2 () const |
Returns the norm of the fluid 2 3-velocity with respect to the eulerian frame. | |
virtual void | sauve (FILE *) const |
Save in a file. | |
virtual ostream & | operator>> (ostream &) const |
Operator >> (virtual function called by the operator <<). | |
virtual void | partial_display (ostream &) const |
Printing of some informations, excluding all global quantities. | |
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 l on the surface at the collocation points in ![]() | |
const Itbl & | l_surf2 () const |
Description of the surface of fluid 2: returns a 2-D Itbl containing the values of the domain index l on the surface at the collocation points in ![]() | |
const Tbl & | xi_surf2 () const |
Description of the surface of fluid 2: returns a 2-D Tbl containing the values of the radial coordinate ![]() ![]() | |
double | ray_eq2 () const |
Coordinate radius for fluid 2 at ![]() ![]() | |
double | ray_eq2_pis2 () const |
Coordinate radius for fluid 2 at ![]() ![]() | |
double | ray_eq2_pi () const |
Coordinate radius for fluid 2 at ![]() ![]() | |
double | ray_pole2 () const |
Coordinate radius for fluid 2 at ![]() | |
double | mass_b1 () const |
Baryon mass of fluid 1. | |
double | mass_b2 () const |
Baryon mass of fluid 2. | |
virtual double | mass_b () const |
Total Baryon mass. | |
virtual double | mass_g () const |
Gravitational mass. | |
virtual double | angu_mom () const |
Angular momentum. | |
virtual double | grv2 () const |
Error on the virial identity GRV2. | |
virtual double | grv3 (ostream *ost=0x0) const |
Error on the virial identity GRV3. | |
virtual double | r_circ2 () const |
Circumferential radius for fluid 2. | |
virtual double | area2 () const |
Surface area for fluid 2. | |
virtual double | mean_radius2 () const |
Mean radius for fluid 2. | |
virtual double | aplat2 () const |
Flatening r_pole/r_eq for fluid 2. | |
virtual double | mom_quad () const |
Quadrupole moment. | |
virtual double | mom_quad_old () const |
Part of the quadrupole moment. | |
virtual double | mom_quad_Bo () const |
Part of the quadrupole moment. | |
virtual double | angu_mom_1 () const |
Angular momentum of fluid 1. | |
virtual double | angu_mom_2 () const |
Angular momentum of fluid 2. | |
virtual double | angu_mom_1_part1_1 () const |
To compute In (1st version) | |
virtual double | angu_mom_2_part1_1 () const |
To compute Ip (1st version) | |
virtual double | angu_mom_1_part2_1 () const |
To compute Xn (1st version) | |
virtual double | angu_mom_2_part2_1 () const |
To compute Xp (1st version) | |
virtual double | angu_mom_1_part1_2 () const |
To compute In (2nd version) | |
virtual double | angu_mom_2_part1_2 () const |
To compute Ip (2nd version) | |
virtual double | angu_mom_1_part2_2 () const |
To compute Xn (2nd version) | |
virtual double | angu_mom_2_part2_2 () const |
To compute Xp (2nd version) | |
virtual void | hydro_euler () |
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid frame. | |
virtual void | equation_of_state () |
Computes the proper baryon and energy densities, as well as pressure and the coefficients Knn, Knp and Kpp, from the enthalpies and both velocities. | |
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. | |
virtual double | get_omega_c () const |
Returns the central value of the rotation angular velocity ( [f_unit] ) | |
const Tenseur & | get_bbb () const |
Returns the metric factor B. | |
const Tenseur & | get_b_car () const |
Returns the square of the metric factor B. | |
const Tenseur & | get_nphi () const |
Returns the metric coefficient ![]() | |
const Tenseur & | get_tnphi () const |
Returns the component ![]() | |
const Tenseur & | get_uuu () const |
Returns the norm of u_euler . | |
const Tenseur & | get_logn () const |
Returns the metric potential ![]() logn_auto . | |
const Tenseur & | get_nuf () const |
Returns the part of the Metric potential ![]() logn generated by the matter terms. | |
const Tenseur & | get_nuq () const |
Returns the Part of the Metric potential ![]() logn generated by the quadratic terms. | |
const Tenseur & | get_dzeta () const |
Returns the Metric potential ![]() beta_auto . | |
const Tenseur & | get_tggg () const |
Returns the Metric potential ![]() | |
const Tenseur & | get_w_shift () const |
Returns the vector ![]() shift , following Shibata's prescription [Prog. | |
const Tenseur & | get_khi_shift () const |
Returns the scalar ![]() shift following Shibata's prescription [Prog. | |
const Tenseur_sym & | get_tkij () const |
Returns the tensor ![]() ![]() | |
const Tenseur & | get_ak_car () const |
Returns the scalar ![]() | |
virtual void | display_poly (ostream &) const |
Display in polytropic units. | |
virtual double | tsw () const |
Ratio T/W. | |
virtual double | r_circ () const |
Circumferential radius. | |
virtual double | area () const |
Surface area. | |
virtual double | mean_radius () const |
Mean radius. | |
virtual double | aplat () const |
Flatening r_pole/r_eq. | |
virtual double | z_eqf () const |
Forward redshift factor at equator. | |
virtual double | z_eqb () const |
Backward redshift factor at equator. | |
virtual double | z_pole () const |
Redshift factor at North pole. | |
virtual double | r_isco (ostream *ost=0x0) const |
Circumferential radius of the innermost stable circular orbit (ISCO). | |
virtual double | f_isco () const |
Orbital frequency at the innermost stable circular orbit (ISCO). | |
virtual double | espec_isco () const |
Energy of a particle on the ISCO. | |
virtual double | lspec_isco () const |
Angular momentum of a particle on the ISCO. | |
virtual double | f_eccentric (double ecc, double periast, ostream *ost=0x0) const |
Computation of frequency of eccentric orbits. | |
virtual double | f_eq () const |
Orbital frequency at the equator. | |
void | update_metric () |
Computes metric coefficients from known potentials. | |
void | fait_shift () |
Computes shift from w_shift and khi_shift according to Shibata's prescription [Prog. | |
void | fait_nphi () |
Computes tnphi and nphi from the Cartesian components of the shift, stored in shift . | |
void | extrinsic_curvature () |
Computes tkij and ak_car from shift , nnn and b_car . | |
virtual void | equilibrium (double ent_c, double omega0, double fact_omega, int nzadapt, const Tbl &ent_limit, const Itbl &icontrol, const Tbl &control, double mbar_wanted, double aexp_mass, Tbl &diff, Param *=0x0) |
Computes an equilibrium configuration. | |
Map & | set_mp () |
Read/write of the mapping. | |
void | set_enthalpy (const Cmp &) |
Assignment of the enthalpy field. | |
virtual void | equilibrium_spher (double ent_c, double precis=1.e-14, const Tbl *ent_limit=0x0) |
Computes a spherical static configuration. | |
void | equil_spher_regular (double ent_c, double precis=1.e-14) |
Computes a spherical static configuration. | |
virtual void | equil_spher_falloff (double ent_c, double precis=1.e-14) |
Computes a spherical static configuration with the outer boundary condition at a finite radius. | |
const Map & | get_mp () const |
Returns the mapping. | |
int | get_nzet () const |
Returns the number of domains occupied by the star. | |
bool | is_relativistic () const |
Returns true for a relativistic star, false for a Newtonian one. | |
const Tenseur & | get_ent () const |
Returns the enthalpy field. | |
const Tenseur & | get_nbar () const |
Returns the proper baryon density. | |
const Tenseur & | get_ener () const |
Returns the proper total energy density. | |
const Tenseur & | get_press () const |
Returns the fluid pressure. | |
const Tenseur & | get_ener_euler () const |
Returns the total energy density with respect to the Eulerian observer. | |
const Tenseur & | get_s_euler () const |
Returns the trace of the stress tensor in the Eulerian frame. | |
const Tenseur & | get_gam_euler () const |
Returns the Lorentz factor between the fluid and Eulerian observers. | |
const Tenseur & | get_u_euler () const |
Returns the fluid 3-velocity with respect to the Eulerian observer. | |
const Tenseur & | get_logn_auto () const |
Returns the logarithm of the part of the lapse N generated principaly by the star. | |
const Tenseur & | get_logn_auto_regu () const |
Returns the regular part of the logarithm of the part of the lapse N generated principaly by the star. | |
const Tenseur & | get_logn_auto_div () const |
Returns the divergent part of the logarithm of the part of the lapse N generated principaly by the star. | |
const Tenseur & | get_d_logn_auto_div () const |
Returns the gradient of logn_auto_div . | |
const Tenseur & | get_beta_auto () const |
Returns the logarithm of the part of the product AN generated principaly by the star. | |
const Tenseur & | get_nnn () const |
Returns the total lapse function N. | |
const Tenseur & | get_shift () const |
Returns the total shift vector ![]() | |
const Tenseur & | get_a_car () const |
Returns the total conformal factor ![]() | |
double | ray_eq () const |
Coordinate radius at ![]() ![]() | |
double | ray_eq (int kk) const |
Coordinate radius at ![]() ![]() | |
double | ray_eq_pis2 () const |
Coordinate radius at ![]() ![]() | |
double | ray_eq_pi () const |
Coordinate radius at ![]() ![]() | |
double | ray_eq_3pis2 () const |
Coordinate radius at ![]() ![]() | |
double | ray_pole () const |
Coordinate radius at ![]() | |
const Tbl & | xi_surf () const |
Description of the stellar surface: returns a 2-D Tbl containing the values of the radial coordinate ![]() ![]() | |
Static Public Member Functions | |
static double | lambda_grv2 (const Cmp &sou_m, const Cmp &sou_q) |
Computes the coefficient ![]() | |
Protected Member Functions | |
virtual void | del_deriv () const |
Deletes all the derived quantities. | |
virtual void | set_der_0x0 () const |
Sets to 0x0 all the pointers on derived quantities. | |
virtual void | del_hydro_euler () |
Sets to ETATNONDEF (undefined state) the hydrodynamical quantities relative to the Eulerian observer. | |
Protected Attributes | |
const Eos_bifluid & | eos |
Equation of state for two-fluids model. | |
double | omega2 |
Rotation angular velocity for fluid 2 ( [f_unit] ) | |
Tenseur | ent2 |
Log-enthalpy for the second fluid. | |
Tenseur | nbar2 |
Baryon density in the fluid frame, for fluid 2. | |
Tenseur | K_nn |
Coefficient Knn. | |
Tenseur | K_np |
Coefficient Knp. | |
Tenseur | K_pp |
Coefficient Kpp. | |
Tenseur | sphph_euler |
The component ![]() ![]() | |
Tenseur | j_euler |
Total angular momentum (flat-space!) 3-vector ![]() ![]() | |
Tenseur | j_euler1 |
To compute Jn. | |
Tenseur | j_euler2 |
To compute Jp. | |
Tenseur | j_euler11_1 |
To compute In (1st version) | |
Tenseur | j_euler12_1 |
To compute Ip (1st version) | |
Tenseur | j_euler21_1 |
Tenseur | j_euler22_1 |
Tenseur | j_euler11_2 |
Tenseur | j_euler12_2 |
Tenseur | j_euler21_2 |
Tenseur | j_euler22_2 |
Tenseur | enerps_euler |
the combination ![]() ![]() | |
Tenseur | uuu2 |
Norm of the (fluid no.2) 3-velocity with respect to the eulerian observer. | |
Tenseur | gam_euler2 |
Lorentz factor between the fluid 2 and Eulerian observers | |
Tenseur | delta_car |
The "relative velocity" (squared) ![]() | |
double * | p_ray_eq2 |
Coordinate radius at ![]() ![]() | |
double * | p_ray_eq2_pis2 |
Coordinate radius at ![]() ![]() | |
double * | p_ray_eq2_pi |
Coordinate radius at ![]() ![]() | |
double * | p_ray_pole2 |
Coordinate radius at ![]() | |
Itbl * | p_l_surf2 |
Description of the surface of fluid 2: 2-D Itbl containing the values of the domain index l on the surface at the collocation points in ![]() | |
Tbl * | p_xi_surf2 |
Description of the surface of fluid 2: 2-D Tbl containing the values of the radial coordinate ![]() ![]() | |
double * | p_r_circ2 |
Circumferential radius of fluid no.2. | |
double * | p_area2 |
Surface area of fluid no.2. | |
double * | p_aplat2 |
Flatening r_pole/r_eq of fluid no.2. | |
double * | p_mass_b1 |
Baryon mass of fluid 1. | |
double * | p_mass_b2 |
Baryon mass of fluid 2. | |
double * | p_angu_mom_1 |
Angular momentum of fluid 1. | |
double * | p_angu_mom_2 |
Angular momentum of fluid 2. | |
double * | p_angu_mom_1_part1_1 |
To compute In (1st version) | |
double * | p_angu_mom_2_part1_1 |
To compute Ip (1st version) | |
double * | p_angu_mom_1_part2_1 |
To compute Xn (1st version) | |
double * | p_angu_mom_2_part2_1 |
To compute Xp (1st version) | |
double * | p_angu_mom_1_part1_2 |
To compute In (2nd version) | |
double * | p_angu_mom_2_part1_2 |
To compute Ip (2nd version) | |
double * | p_angu_mom_1_part2_2 |
To compute Xn (2nd version) | |
double * | p_angu_mom_2_part2_2 |
To compute Xp (2nd version) | |
double | omega |
Rotation angular velocity ( [f_unit] ) | |
Tenseur | bbb |
Metric factor B. | |
Tenseur | b_car |
Square of the metric factor B. | |
Tenseur | nphi |
Metric coefficient ![]() | |
Tenseur | tnphi |
Component ![]() | |
Tenseur | uuu |
Norm of u_euler . | |
Tenseur & | logn |
Metric potential ![]() logn_auto . | |
Tenseur | nuf |
Part of the Metric potential ![]() logn generated by the matter terms. | |
Tenseur | nuq |
Part of the Metric potential ![]() logn generated by the quadratic terms. | |
Tenseur & | dzeta |
Metric potential ![]() beta_auto . | |
Tenseur | tggg |
Metric potential ![]() | |
Tenseur | w_shift |
Vector ![]() shift , following Shibata's prescription [Prog. | |
Tenseur | khi_shift |
Scalar ![]() shift , following Shibata's prescription [Prog. | |
Tenseur_sym | tkij |
Tensor ![]() ![]() | |
Tenseur | ak_car |
Scalar ![]() | |
Cmp | ssjm1_nuf |
Effective source at the previous step for the resolution of the Poisson equation for nuf by means of Map_et::poisson . | |
Cmp | ssjm1_nuq |
Effective source at the previous step for the resolution of the Poisson equation for nuq by means of Map_et::poisson . | |
Cmp | ssjm1_dzeta |
Effective source at the previous step for the resolution of the Poisson equation for dzeta . | |
Cmp | ssjm1_tggg |
Effective source at the previous step for the resolution of the Poisson equation for tggg . | |
Cmp | ssjm1_khi |
Effective source at the previous step for the resolution of the Poisson equation for the scalar ![]() Map_et::poisson . | |
Tenseur | ssjm1_wshift |
Effective source at the previous step for the resolution of the vector Poisson equation for ![]() | |
double * | p_angu_mom |
Angular momentum. | |
double * | p_tsw |
Ratio T/W. | |
double * | p_grv2 |
Error on the virial identity GRV2. | |
double * | p_grv3 |
Error on the virial identity GRV3. | |
double * | p_r_circ |
Circumferential radius. | |
double * | p_area |
Surface area. | |
double * | p_aplat |
Flatening r_pole/r_eq. | |
double * | p_z_eqf |
Forward redshift factor at equator. | |
double * | p_z_eqb |
Backward redshift factor at equator. | |
double * | p_z_pole |
Redshift factor at North pole. | |
double * | p_mom_quad |
Quadrupole moment. | |
double * | p_mom_quad_old |
Part of the quadrupole moment. | |
double * | p_mom_quad_Bo |
Part of the quadrupole moment. | |
double * | p_r_isco |
Circumferential radius of the ISCO. | |
double * | p_f_isco |
Orbital frequency of the ISCO. | |
double * | p_espec_isco |
Specific energy of a particle on the ISCO. | |
double * | p_lspec_isco |
Specific angular momentum of a particle on the ISCO. | |
double * | p_f_eq |
Orbital frequency at the equator. | |
Map & | mp |
Mapping associated with the star. | |
int | nzet |
Number of domains of *mp occupied by the star. | |
bool | relativistic |
Indicator of relativity: true for a relativistic star, false for a Newtonian one. | |
double | unsurc2 |
![]() unsurc2=1 for a relativistic star, 0 for a Newtonian one. | |
int | k_div |
Index of regularity of the gravitational potential logn_auto . | |
Tenseur | ent |
Log-enthalpy (relativistic case) or specific enthalpy (Newtonian case) | |
Tenseur | nbar |
Baryon density in the fluid frame. | |
Tenseur | ener |
Total energy density in the fluid frame. | |
Tenseur | press |
Fluid pressure. | |
Tenseur | ener_euler |
Total energy density in the Eulerian frame. | |
Tenseur | s_euler |
Trace of the stress tensor in the Eulerian frame. | |
Tenseur | gam_euler |
Lorentz factor between the fluid and Eulerian observers. | |
Tenseur | u_euler |
Fluid 3-velocity with respect to the Eulerian observer. | |
Tenseur | logn_auto |
Total of the logarithm of the part of the lapse N generated principaly by the star. | |
Tenseur | logn_auto_regu |
Regular part of the logarithm of the part of the lapse N generated principaly by the star. | |
Tenseur | logn_auto_div |
Divergent part (if k_div!=0 ) of the logarithm of the part of the lapse N generated principaly by the star. | |
Tenseur | d_logn_auto_div |
Gradient of logn_auto_div (if k_div!=0 ) | |
Tenseur | beta_auto |
Logarithm of the part of the product AN generated principaly by by the star. | |
Tenseur | nnn |
Total lapse function. | |
Tenseur | shift |
Total shift vector. | |
Tenseur | a_car |
Total conformal factor ![]() | |
double * | p_ray_eq |
Coordinate radius at ![]() ![]() | |
double * | p_ray_eq_pis2 |
Coordinate radius at ![]() ![]() | |
double * | p_ray_eq_pi |
Coordinate radius at ![]() ![]() | |
double * | p_ray_eq_3pis2 |
Coordinate radius at ![]() ![]() | |
double * | p_ray_pole |
Coordinate radius at ![]() | |
Itbl * | p_l_surf |
Description of the stellar surface: 2-D Itbl containing the values of the domain index l on the surface at the collocation points in ![]() | |
Tbl * | p_xi_surf |
Description of the stellar surface: 2-D Tbl containing the values of the radial coordinate ![]() ![]() | |
double * | p_mass_b |
Baryon mass. | |
double * | p_mass_g |
Gravitational mass. | |
Class for two-fluid rotating relativistic stars.
()
This is a child class of Etoile_rot
, with the same metric and overloaded member functions.
There are two number-density fields nbar
and nbar2
(and 2 log-enthalpies, see class Eos_bifluid
), as well as two velocity fields, with phi-components (with respect to the Eulerian observer) uuu
and uuu2
.
Fluid 1 can be considered to correspond to the (superfluid) neutrons, whereas fluid 2 would consist of the protons (and electrons) The quantity u_euler
of the class
Etoile is not used in this class! Only the "3+1" components of hydro_euler()
, namely s_euler
, sphph_euler
, j_euler
and ener_euler
.
Definition at line 147 of file et_rot_bifluid.h.
Lorene::Et_rot_bifluid::Et_rot_bifluid | ( | Map & | mp_i, |
int | nzet_i, | ||
bool | relat, | ||
const Eos_bifluid & | eos_i | ||
) |
Standard constructor.
Definition at line 122 of file et_rot_bifluid.C.
References delta_car, enerps_euler, ent2, Lorene::Etoile::gam_euler, gam_euler2, j_euler, j_euler1, j_euler11_1, j_euler12_1, j_euler2, K_nn, K_np, K_pp, nbar2, omega2, set_der_0x0(), Lorene::Tenseur::set_std_base(), sphph_euler, and uuu2.
Lorene::Et_rot_bifluid::Et_rot_bifluid | ( | const Et_rot_bifluid & | et | ) |
Copy constructor.
Definition at line 187 of file et_rot_bifluid.C.
References omega2, and set_der_0x0().
Lorene::Et_rot_bifluid::Et_rot_bifluid | ( | Map & | mp_i, |
const Eos_bifluid & | eos_i, | ||
FILE * | fich | ||
) |
Constructor from a file (see sauve(FILE*)
) Works only for relativistic stars.
This has to be improved....
Definition at line 221 of file et_rot_bifluid.C.
References delta_car, ent2, Lorene::fread_be(), Lorene::Etoile::mp, omega2, set_der_0x0(), and uuu2.
|
virtual |
|
virtual |
Angular momentum.
Reimplemented from Lorene::Etoile_rot.
Definition at line 190 of file et_bfrot_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::b_car, Lorene::Etoile_rot::bbb, Lorene::Tenseur::change_triad(), Lorene::Map::get_bvect_spher(), Lorene::Cmp::integrale(), j_euler, Lorene::Etoile::mp, Lorene::Cmp::mult_rsint(), Lorene::Etoile_rot::p_angu_mom, and Lorene::Cmp::std_base_scal().
|
virtual |
Angular momentum of fluid 1.
Definition at line 216 of file et_bfrot_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::b_car, Lorene::Etoile_rot::bbb, Lorene::Tenseur::change_triad(), Lorene::Map::get_bvect_spher(), Lorene::Cmp::integrale(), j_euler1, Lorene::Etoile::mp, Lorene::Cmp::mult_rsint(), p_angu_mom_1, and Lorene::Cmp::std_base_scal().
|
virtual |
To compute In (1st version)
Definition at line 266 of file et_bfrot_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::b_car, Lorene::Etoile_rot::bbb, Lorene::Tenseur::change_triad(), Lorene::Map::get_bvect_spher(), Lorene::Cmp::integrale(), j_euler11_1, Lorene::Etoile::mp, Lorene::Cmp::mult_rsint(), p_angu_mom_1_part1_1, and Lorene::Cmp::std_base_scal().
|
virtual |
To compute In (2nd version)
Definition at line 366 of file et_bfrot_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::b_car, Lorene::Etoile_rot::bbb, Lorene::Tenseur::change_triad(), Lorene::Map::get_bvect_spher(), Lorene::Cmp::integrale(), Lorene::Etoile::mp, Lorene::Cmp::mult_rsint(), p_angu_mom_1_part1_2, and Lorene::Cmp::std_base_scal().
|
virtual |
To compute Xn (1st version)
Definition at line 316 of file et_bfrot_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::b_car, Lorene::Etoile_rot::bbb, Lorene::Tenseur::change_triad(), Lorene::Map::get_bvect_spher(), Lorene::Cmp::integrale(), j_euler12_1, Lorene::Etoile::mp, Lorene::Cmp::mult_rsint(), p_angu_mom_1_part2_1, and Lorene::Cmp::std_base_scal().
|
virtual |
To compute Xn (2nd version)
Definition at line 416 of file et_bfrot_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::b_car, Lorene::Etoile_rot::bbb, Lorene::Tenseur::change_triad(), Lorene::Map::get_bvect_spher(), Lorene::Cmp::integrale(), Lorene::Etoile::mp, Lorene::Cmp::mult_rsint(), p_angu_mom_1_part2_2, and Lorene::Cmp::std_base_scal().
|
virtual |
Angular momentum of fluid 2.
Definition at line 241 of file et_bfrot_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::b_car, Lorene::Etoile_rot::bbb, Lorene::Tenseur::change_triad(), Lorene::Map::get_bvect_spher(), Lorene::Cmp::integrale(), j_euler2, Lorene::Etoile::mp, Lorene::Cmp::mult_rsint(), p_angu_mom_2, and Lorene::Cmp::std_base_scal().
|
virtual |
To compute Ip (1st version)
Definition at line 291 of file et_bfrot_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::b_car, Lorene::Etoile_rot::bbb, Lorene::Tenseur::change_triad(), Lorene::Map::get_bvect_spher(), Lorene::Cmp::integrale(), Lorene::Etoile::mp, Lorene::Cmp::mult_rsint(), p_angu_mom_2_part1_1, and Lorene::Cmp::std_base_scal().
|
virtual |
To compute Ip (2nd version)
Definition at line 391 of file et_bfrot_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::b_car, Lorene::Etoile_rot::bbb, Lorene::Tenseur::change_triad(), Lorene::Map::get_bvect_spher(), Lorene::Cmp::integrale(), Lorene::Etoile::mp, Lorene::Cmp::mult_rsint(), p_angu_mom_2_part1_2, and Lorene::Cmp::std_base_scal().
|
virtual |
To compute Xp (1st version)
Definition at line 341 of file et_bfrot_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::b_car, Lorene::Etoile_rot::bbb, Lorene::Tenseur::change_triad(), Lorene::Map::get_bvect_spher(), Lorene::Cmp::integrale(), Lorene::Etoile::mp, Lorene::Cmp::mult_rsint(), p_angu_mom_2_part2_1, and Lorene::Cmp::std_base_scal().
|
virtual |
To compute Xp (2nd version)
Definition at line 441 of file et_bfrot_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::b_car, Lorene::Etoile_rot::bbb, Lorene::Tenseur::change_triad(), Lorene::Map::get_bvect_spher(), Lorene::Cmp::integrale(), Lorene::Etoile::mp, Lorene::Cmp::mult_rsint(), p_angu_mom_2_part2_2, and Lorene::Cmp::std_base_scal().
|
virtualinherited |
Flatening r_pole/r_eq.
Definition at line 496 of file et_rot_global.C.
References Lorene::Etoile_rot::p_aplat, Lorene::Etoile::ray_eq(), and Lorene::Etoile::ray_pole().
|
virtual |
Flatening r_pole/r_eq for fluid 2.
Definition at line 618 of file et_bfrot_global.C.
References p_aplat2, ray_eq2(), and ray_pole2().
|
virtualinherited |
Surface area.
Definition at line 420 of file et_rot_global.C.
References Lorene::Valeur::annule_hard(), Lorene::Valeur::c_cf, Lorene::Valeur::dsdt(), Lorene::Etoile::get_a_car(), Lorene::Mg3d::get_angu(), Lorene::Etoile_rot::get_bbb(), Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Etoile_rot::l_surf(), Lorene::Etoile::mp, Lorene::Valeur::mult_st(), Lorene::Etoile_rot::p_area, Lorene::Valeur::set(), Lorene::sqrt(), Lorene::Valeur::std_base_scal(), Lorene::Cmp::va, Lorene::Valeur::val_point_jk(), Lorene::Map_radial::val_r_jk(), and Lorene::Etoile::xi_surf().
|
virtual |
Surface area for fluid 2.
Definition at line 636 of file et_bfrot_global.C.
References Lorene::Valeur::annule_hard(), Lorene::Valeur::c_cf, Lorene::Valeur::dsdt(), Lorene::Etoile::get_a_car(), Lorene::Mg3d::get_angu(), Lorene::Etoile_rot::get_bbb(), Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), l_surf2(), Lorene::Etoile::mp, Lorene::Valeur::mult_st(), p_area2, Lorene::Valeur::set(), Lorene::sqrt(), Lorene::Valeur::std_base_scal(), Lorene::Cmp::va, Lorene::Valeur::val_point_jk(), Lorene::Map_radial::val_r_jk(), and xi_surf2().
|
protectedvirtual |
Deletes all the derived quantities.
Reimplemented from Lorene::Etoile_rot.
Definition at line 286 of file et_rot_bifluid.C.
References Lorene::Etoile_rot::del_deriv(), p_angu_mom_1, p_angu_mom_1_part1_1, p_angu_mom_1_part1_2, p_angu_mom_1_part2_1, p_angu_mom_1_part2_2, p_angu_mom_2, p_angu_mom_2_part1_1, p_angu_mom_2_part1_2, p_angu_mom_2_part2_1, p_angu_mom_2_part2_2, p_aplat2, p_area2, p_l_surf2, p_mass_b1, p_mass_b2, p_r_circ2, p_ray_eq2, p_ray_eq2_pi, p_ray_eq2_pis2, p_ray_pole2, p_xi_surf2, and set_der_0x0().
|
protectedvirtual |
Sets to ETATNONDEF
(undefined state) the hydrodynamical quantities relative to the Eulerian observer.
Reimplemented from Lorene::Etoile_rot.
Definition at line 346 of file et_rot_bifluid.C.
References del_deriv(), Lorene::Etoile_rot::del_hydro_euler(), delta_car, enerps_euler, gam_euler2, j_euler, j_euler1, j_euler11_1, j_euler12_1, j_euler2, K_nn, K_np, K_pp, Lorene::Tenseur::set_etat_nondef(), sphph_euler, and uuu2.
Display in polytropic units.
Reimplemented in Lorene::Et_rot_diff.
Definition at line 690 of file etoile_rot.C.
References Lorene::Etoile_rot::angu_mom(), Lorene::Etoile::ener, Lorene::Etoile::eos, Lorene::Eos_poly::get_gam(), Lorene::Eos_poly::get_kap(), Lorene::Etoile_rot::get_omega_c(), Lorene::Etoile_rot::mass_b(), Lorene::Etoile_rot::mass_g(), Lorene::Etoile::nbar, Lorene::pow(), Lorene::Etoile_rot::r_circ(), Lorene::Etoile::ray_eq(), and Lorene::sqrt().
|
virtual |
Computes the proper baryon and energy densities, as well as pressure and the coefficients Knn, Knp and Kpp, from the enthalpies and both velocities.
Reimplemented from Lorene::Etoile.
Definition at line 732 of file et_rot_bifluid.C.
References Lorene::Cmp::allocate_all(), Lorene::Eos_bf_tabul::calcule_interpol(), Lorene::Eos_bifluid::calcule_tout(), del_deriv(), delta_car, Lorene::Etoile::ener, Lorene::Etoile::ent, ent2, eos, Lorene::Mg3d::get_grille3d(), Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), K_nn, K_np, K_pp, Lorene::Etoile::mp, Lorene::Etoile::nbar, nbar2, Lorene::Etoile::nzet, Lorene::Etoile::press, Lorene::Tenseur::set(), Lorene::Cmp::set(), Lorene::Mtbl::set(), Lorene::Mtbl::set_etat_qcq(), Lorene::Tbl::set_etat_qcq(), Lorene::Tenseur::set_etat_qcq(), Lorene::Tenseur::set_std_base(), Lorene::Cmp::std_base_scal(), Lorene::Mtbl::t, and Lorene::Grille3d::x.
Computes a spherical static configuration with the outer boundary condition at a finite radius.
ent_c | [input] central value of the enthalpy |
precis | [input] threshold in the relative difference between the enthalpy fields of two consecutive steps to stop the iterative procedure (default value: 1.e-14) |
Definition at line 57 of file etoile_eqsph_falloff.C.
References Lorene::Etoile::a_car, Lorene::Tenseur::annule(), Lorene::Etoile::beta_auto, Lorene::diffrel(), Lorene::Cmp::dsdr(), Lorene::Map_af::dsdr(), Lorene::Etoile::ener, Lorene::Etoile::ener_euler, Lorene::Etoile::ent, Lorene::Etoile::equation_of_state(), Lorene::exp(), Lorene::Etoile::gam_euler, Lorene::Map::get_mg(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Map_af::homothetie(), Lorene::Etoile::logn_auto, Lorene::Etoile::mass_b(), Lorene::Etoile::mass_g(), Lorene::Etoile::mp, Lorene::Etoile::nbar, Lorene::Etoile::nnn, Lorene::norme(), Lorene::Etoile::nzet, Lorene::Etoile::press, Lorene::Etoile::relativistic, Lorene::Etoile::s_euler, Lorene::Tenseur::set(), Lorene::Tenseur::set_etat_qcq(), Lorene::Tenseur::set_std_base(), Lorene::Etoile::shift, Lorene::sqrt(), Lorene::Etoile::u_euler, Lorene::Etoile::unsurc2, and Lorene::Map::val_r().
void Lorene::Et_rot_bifluid::equil_spher_regular | ( | double | ent_c, |
double | ent_c2, | ||
double | precis = 1.e-14 |
||
) |
Computes a spherical static configuration.
The sources for Poisson equations are regularized by extracting analytical diverging parts.
ent_c | [input] central value of the enthalpy 1 |
ent_c2 | [input] central value of the enthalpy 2 |
precis | [input] threshold in the relative difference between the enthalpy fields of two consecutive steps to stop the iterative procedure (default value: 1.e-14) |
Computes a spherical static configuration.
The sources for Poisson equations are regularized by extracting analytical diverging parts.
ent_c | [input] central value of the enthalpy |
precis | [input] threshold in the relative difference between the enthalpy fields of two consecutive steps to stop the iterative procedure (default value: 1.e-14) |
Definition at line 115 of file et_equil_spher_regu.C.
References Lorene::Etoile::a_car, Lorene::Tenseur::annule(), Lorene::Etoile::beta_auto, Lorene::Etoile::d_logn_auto_div, Lorene::Eos::der_ener_ent_p(), Lorene::Eos::der_nbar_ent_p(), Lorene::diffrel(), Lorene::Map_af::dsdr(), Lorene::Etoile::ener, Lorene::Etoile::ener_euler, Lorene::Etoile::ent, Lorene::Etoile::eos, Lorene::Etoile::equation_of_state(), Lorene::exp(), Lorene::Etoile::gam_euler, Lorene::Map::get_bvect_spher(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Tenseur::gradient_spher(), Lorene::Map_af::homothetie(), Lorene::Etoile::k_div, Lorene::Etoile::logn_auto, Lorene::Etoile::logn_auto_div, Lorene::Etoile::logn_auto_regu, Lorene::Etoile::mass_b(), Lorene::Etoile::mass_g(), Lorene::Etoile::mp, Lorene::Etoile::nbar, Lorene::Etoile::nnn, Lorene::norme(), Lorene::Etoile::nzet, Lorene::Map_af::poisson(), Lorene::Map_af::poisson_regular(), Lorene::Etoile::press, Lorene::Etoile::relativistic, Lorene::Etoile::s_euler, Lorene::Tenseur::set(), Lorene::Tenseur::set_etat_qcq(), Lorene::Tenseur::set_std_base(), Lorene::Tenseur::set_triad(), Lorene::Etoile::shift, Lorene::sqrt(), Lorene::Cmp::std_base_scal(), Lorene::Etoile::u_euler, Lorene::Etoile::unsurc2, and Lorene::Map::val_r().
|
virtualinherited |
Computes an equilibrium configuration.
ent_c | [input] Central enthalpy |
omega0 | [input] Requested angular velocity (if fact_omega=1 . ) |
fact_omega | [input] 1.01 = search for the Keplerian frequency,
|
nzadapt | [input] Number of (inner) domains where the mapping adaptation to an iso-enthalpy surface should be performed |
ent_limit | [input] 1-D Tbl of dimension nzet which defines the enthalpy at the outer boundary of each domain |
icontrol | [input] Set of integer parameters (stored as a 1-D Itbl of size 8) to control the iteration:
|
control | [input] Set of parameters (stored as a 1-D Tbl of size 7) to control the iteration:
|
mbar_wanted | [input] Requested baryon mass (effective only if mer_mass > mer_max ) |
aexp_mass | [input] Exponent for the increase factor of the central enthalpy to converge to the requested baryon mass |
diff | [output] 1-D Tbl of size 7 for the storage of some error indicators :
|
Reimplemented in Lorene::Et_rot_diff.
Definition at line 147 of file et_rot_equilibrium.C.
References Lorene::Etoile::a_car, Lorene::abs(), Lorene::Map::adapt(), Lorene::Param::add_cmp_mod(), Lorene::Param::add_double(), Lorene::Param::add_double_mod(), Lorene::Param::add_int(), Lorene::Param::add_int_mod(), Lorene::Param::add_tbl(), Lorene::Param::add_tenseur_mod(), Lorene::Etoile_rot::ak_car, Lorene::Cmp::annule(), Lorene::Etoile_rot::bbb, Lorene::Valeur::c_cf, Lorene::Tenseur::change_triad(), Lorene::Map::cmp_zero(), Lorene::Valeur::coef(), Lorene::cos(), Lorene::diffrel(), Lorene::Etoile_rot::dzeta, Lorene::Etoile::ener_euler, Lorene::Etoile::ent, Lorene::Etoile::equation_of_state(), Lorene::Etoile_rot::fait_nphi(), Lorene::flat_scalar_prod(), Lorene::Etoile::gam_euler, Lorene::Map::get_bvect_cart(), Lorene::Tenseur::get_etat(), Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Mg3d::get_type_t(), Lorene::Tenseur::gradient_spher(), Lorene::Etoile_rot::grv2(), Lorene::Map_et::homothetie(), Lorene::Etoile_rot::hydro_euler(), Lorene::Etoile_rot::khi_shift, Lorene::log(), Lorene::log10(), Lorene::Etoile_rot::logn, Lorene::Etoile_rot::mass_b(), Lorene::Etoile_rot::mass_g(), Lorene::Etoile::mp, Lorene::Cmp::mult_rsint(), Lorene::Etoile::nbar, Lorene::Etoile::nnn, Lorene::Etoile_rot::nphi, Lorene::Etoile_rot::nuf, Lorene::Etoile_rot::nuq, Lorene::Etoile::nzet, Lorene::Etoile_rot::omega, Lorene::Etoile_rot::partial_display(), Lorene::Map::phi, Lorene::Map::poisson2d(), Lorene::Tenseur::poisson_vect(), Lorene::pow(), Lorene::Etoile::press, Lorene::Etoile::ray_eq(), Lorene::Etoile::ray_pole(), Lorene::Map::reevaluate(), Lorene::Etoile::relativistic, Lorene::Etoile::s_euler, Lorene::Tenseur::set(), Lorene::Tbl::set(), Lorene::Tbl::set_etat_qcq(), Lorene::Tenseur::set_etat_qcq(), Lorene::Tenseur::set_std_base(), Lorene::Etoile::shift, Lorene::Map::sint, Lorene::sqrt(), Lorene::Etoile_rot::ssjm1_khi, Lorene::Etoile_rot::ssjm1_nuf, Lorene::Etoile_rot::ssjm1_nuq, Lorene::Etoile_rot::ssjm1_tggg, Lorene::Etoile_rot::ssjm1_wshift, Lorene::Cmp::std_base_scal(), Lorene::Etoile_rot::tggg, Lorene::Etoile_rot::tkij, Lorene::Etoile::u_euler, Lorene::Etoile_rot::update_metric(), Lorene::Etoile_rot::uuu, Lorene::Cmp::va, and Lorene::Etoile_rot::w_shift.
void Lorene::Et_rot_bifluid::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.
ent_c | [input] Central enthalpy for fluid 1 |
ent_c2 | [input] Central enthalpy for fluid 2 |
omega0 | [input] Requested angular velocity for fluid 1 |
omega20 | [input] Requested angular velocity for fluid 2 |
ent_limit | [input] 1-D Tbl of dimension nzet which defines the enthalpy for fluid 1 at the outer boundary of each domain |
ent2_limit | [input] 1-D Tbl of dimension nzet which defines the enthalpy for fluid 2 at the outer boundary of each domain |
icontrol | [input] Set of integer parameters (stored as a 1-D Itbl of size 5) to control the iteration:
|
control | [input] Set of parameters (stored as a 1-D Tbl of size 5) to control the iteration:
|
diff | [output] 1-D Tbl of size 8 for the storage of some error indicators :
|
Definition at line 134 of file et_bfrot_equilibre.C.
References Lorene::Etoile::a_car, Lorene::Map::adapt(), Lorene::Param::add_cmp_mod(), Lorene::Param::add_double(), Lorene::Param::add_double_mod(), Lorene::Param::add_int(), Lorene::Param::add_int_mod(), Lorene::Param::add_tbl(), Lorene::Param::add_tenseur_mod(), Lorene::Etoile_rot::ak_car, Lorene::Etoile_rot::bbb, Lorene::Valeur::c_cf, Lorene::Tenseur::change_triad(), Lorene::Map::cmp_zero(), Lorene::Valeur::coef(), Lorene::cos(), Lorene::diffrel(), Lorene::Etoile_rot::dzeta, enerps_euler, Lorene::Etoile::ent, ent2, eos, equation_of_state(), Lorene::Etoile_rot::fait_nphi(), Lorene::flat_scalar_prod(), Lorene::Etoile::gam_euler, gam_euler2, Lorene::Eos_bf_poly::get_beta(), Lorene::Map::get_bvect_cart(), Lorene::Tenseur::get_etat(), Lorene::Eos_bf_poly::get_kap1(), Lorene::Eos_bf_poly::get_kap2(), Lorene::Eos_bf_poly::get_kap3(), Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Mg3d::get_type_t(), Lorene::Tenseur::gradient_spher(), grv2(), Lorene::Map_et::homothetie(), Lorene::Map::homothetie(), hydro_euler(), Lorene::Eos_bifluid::identify(), j_euler, Lorene::Etoile_rot::khi_shift, Lorene::log(), Lorene::log10(), Lorene::Etoile_rot::logn, mass_b(), mass_b1(), mass_b2(), Lorene::Etoile::mp, Lorene::Etoile::nnn, Lorene::Etoile_rot::nuf, Lorene::Etoile_rot::nuq, Lorene::Etoile::nzet, Lorene::Etoile_rot::omega, omega2, Lorene::Map::phi, Lorene::Map::poisson2d(), Lorene::Tenseur::poisson_vect(), Lorene::pow(), Lorene::Etoile::ray_eq(), Lorene::Etoile::ray_pole(), Lorene::Map::reevaluate(), Lorene::Etoile::relativistic, Lorene::Etoile::s_euler, Lorene::Tenseur::set(), Lorene::Tbl::set(), Lorene::Tbl::set_etat_qcq(), Lorene::Tenseur::set_etat_qcq(), Lorene::Tenseur::set_std_base(), Lorene::Etoile::shift, Lorene::Map::sint, sphph_euler, Lorene::sqrt(), Lorene::Etoile_rot::ssjm1_khi, Lorene::Etoile_rot::ssjm1_nuf, Lorene::Etoile_rot::ssjm1_nuq, Lorene::Etoile_rot::ssjm1_tggg, Lorene::Etoile_rot::ssjm1_wshift, Lorene::Etoile_rot::tggg, Lorene::Etoile_rot::tkij, Lorene::Etoile_rot::update_metric(), Lorene::Etoile_rot::uuu, uuu2, Lorene::Cmp::va, and Lorene::Etoile_rot::w_shift.
|
virtualinherited |
Computes a spherical static configuration.
ent_c | [input] central value of the enthalpy |
precis | [input] threshold in the relative difference between the enthalpy fields of two consecutive steps to stop the iterative procedure (default value: 1.e-14) |
ent_limit | [input] : array of enthalpy values to be set at the boundaries between the domains; if set to 0x0 (default), the initial values will be kept. |
Definition at line 87 of file etoile_equil_spher.C.
References Lorene::Etoile::a_car, Lorene::Map_et::adapt(), Lorene::Param::add_double(), Lorene::Param::add_int(), Lorene::Param::add_int_mod(), Lorene::Param::add_tbl(), Lorene::Tenseur::annule(), Lorene::Etoile::beta_auto, Lorene::diffrel(), Lorene::Cmp::dsdr(), Lorene::Map_af::dsdr(), Lorene::Etoile::ener, Lorene::Etoile::ener_euler, Lorene::Etoile::ent, Lorene::Etoile::equation_of_state(), Lorene::exp(), Lorene::Etoile::gam_euler, Lorene::Map_af::get_alpha(), Lorene::Map_et::get_alpha(), Lorene::Map_af::get_beta(), Lorene::Map_et::get_beta(), Lorene::Etoile::get_ent(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Etoile::get_press(), Lorene::Map_af::homothetie(), Lorene::Etoile::logn_auto, Lorene::Etoile::mass_b(), Lorene::Etoile::mass_g(), Lorene::Etoile::mp, Lorene::Etoile::nbar, Lorene::Etoile::nnn, Lorene::norme(), Lorene::Etoile::nzet, Lorene::Map_af::poisson(), Lorene::Etoile::press, Lorene::Etoile::relativistic, Lorene::Etoile::s_euler, Lorene::Tenseur::set(), Lorene::Map_af::set_alpha(), Lorene::Map_af::set_beta(), Lorene::Tenseur::set_etat_qcq(), Lorene::Tenseur::set_std_base(), Lorene::Etoile::shift, Lorene::sqrt(), Lorene::Etoile::u_euler, Lorene::Etoile::unsurc2, and Lorene::Map::val_r().
void Lorene::Et_rot_bifluid::equilibrium_spher_bi | ( | double | ent_c, |
double | ent_c2, | ||
double | precis = 1.e-14 |
||
) |
Computes a spherical static configuration.
ent_c | [input] central value of the enthalpy 1 |
ent_c2 | [input] central value of the enthalpy 2 |
precis | [input] threshold in the relative difference between the enthalpy fields of two consecutive steps to stop the iterative procedure (default value: 1.e-14) |
|
virtualinherited |
Energy of a particle on the ISCO.
Definition at line 301 of file et_rot_isco.C.
References Lorene::Etoile_rot::p_espec_isco, and Lorene::Etoile_rot::r_isco().
|
inherited |
Computes tkij
and ak_car
from shift
, nnn
and b_car
.
Definition at line 57 of file et_rot_extr_curv.C.
References Lorene::Etoile_rot::ak_car, Lorene::Etoile_rot::b_car, Lorene::contract(), Lorene::Cmp::get_etat(), Lorene::Tenseur::get_etat(), Lorene::Map::get_mg(), Lorene::Tenseur::gradient(), Lorene::Etoile::mp, Lorene::Cmp::mult_rsint(), Lorene::Etoile::nnn, Lorene::Etoile_rot::nphi, Lorene::Tenseur::set(), Lorene::Tenseur::set_etat_qcq(), Lorene::Tenseur::set_etat_zero(), Lorene::Etoile::shift, Lorene::Etoile_rot::tkij, and Lorene::Cmp::va.
|
virtualinherited |
Computation of frequency of eccentric orbits.
ecc | eccentricity of the orbit |
periasrt | periastron of the orbit |
ost | output stream to give details of the computation; if set to 0x0 [default value], no details will be given. |
Definition at line 78 of file et_rot_f_eccentric.C.
References Lorene::Param::add_cmp(), Lorene::Param::add_int(), Lorene::Cmp::annule(), Lorene::Etoile_rot::bbb, Lorene::Cmp::dsdr(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nzone(), Lorene::Etoile::mp, Lorene::Etoile::nnn, Lorene::Etoile_rot::nphi, Lorene::Etoile::nzet, Lorene::Etoile_rot::p_f_isco, Lorene::Etoile_rot::p_r_isco, Lorene::Map::r, Lorene::Etoile::ray_eq(), Lorene::sqrt(), Lorene::Cmp::std_base_scal(), Lorene::Cmp::va, Lorene::Valeur::val_point(), and Lorene::Map::val_r().
|
virtualinherited |
Orbital frequency at the equator.
Definition at line 319 of file et_rot_isco.C.
References Lorene::Etoile_rot::p_f_eq, and Lorene::Etoile_rot::r_isco().
|
virtualinherited |
Orbital frequency at the innermost stable circular orbit (ISCO).
Definition at line 267 of file et_rot_isco.C.
References Lorene::Etoile_rot::p_f_isco, and Lorene::Etoile_rot::r_isco().
|
inherited |
Computes tnphi
and nphi
from the Cartesian components of the shift, stored in shift
.
Definition at line 781 of file etoile_rot.C.
References Lorene::Map::comp_p_from_cartesian(), Lorene::Tenseur::get_etat(), Lorene::Etoile::mp, Lorene::Etoile_rot::nphi, Lorene::Tenseur::set(), Lorene::Tenseur::set_etat_qcq(), Lorene::Etoile::shift, and Lorene::Etoile_rot::tnphi.
|
inherited |
Computes shift
from w_shift
and khi_shift
according to Shibata's prescription [Prog.
Theor. Phys. 101 , 1199 (1999)] :
Definition at line 748 of file etoile_rot.C.
References Lorene::Tenseur::dec2_dzpuis(), Lorene::Tenseur::dec_dzpuis(), Lorene::Tenseur::get_etat(), Lorene::Tenseur::get_triad(), Lorene::Tenseur::gradient(), Lorene::Etoile_rot::khi_shift, Lorene::Tenseur::set(), Lorene::Tenseur::set_etat_qcq(), Lorene::Tenseur::set_triad(), Lorene::Etoile::shift, Lorene::skxk(), and Lorene::Etoile_rot::w_shift.
Returns the total conformal factor
Definition at line 733 of file etoile.h.
References Lorene::Etoile::a_car.
Returns the scalar
For axisymmetric stars, this quantity is related to the derivatives of
In particular it is related to the quantities
Definition at line 1799 of file etoile.h.
References Lorene::Etoile_rot::ak_car.
Returns the square of the metric factor B.
Definition at line 1715 of file etoile.h.
References Lorene::Etoile_rot::b_car.
Returns the metric factor B.
Definition at line 1712 of file etoile.h.
References Lorene::Etoile_rot::bbb.
Returns the logarithm of the part of the product AN generated principaly by the star.
Definition at line 724 of file etoile.h.
References Lorene::Etoile::beta_auto.
Returns the gradient of logn_auto_div
.
Definition at line 719 of file etoile.h.
References Lorene::Etoile::d_logn_auto_div.
Returns the "relative velocity" (squared)
Definition at line 351 of file et_rot_bifluid.h.
References delta_car.
Returns the Metric potential beta_auto
.
Definition at line 1742 of file etoile.h.
References Lorene::Etoile_rot::dzeta.
Returns the proper total energy density.
Definition at line 679 of file etoile.h.
References Lorene::Etoile::ener.
Returns the total energy density with respect to the Eulerian observer.
Definition at line 685 of file etoile.h.
References Lorene::Etoile::ener_euler.
Returns the enthalpy field.
Definition at line 673 of file etoile.h.
References Lorene::Etoile::ent.
Returns the enthalpy field for fluid 2.
Definition at line 338 of file et_rot_bifluid.h.
References ent2.
|
inline |
Returns the Lorentz factor between the fluid and Eulerian observers.
Definition at line 691 of file etoile.h.
References Lorene::Etoile::gam_euler.
Returns the Lorentz factor between the fluid 2 and Eulerian observers.
Definition at line 354 of file et_rot_bifluid.h.
References gam_euler2.
Returns the scalar shift
following Shibata's prescription [Prog.
Theor. Phys. 101 , 1199 (1999)] :
NB: w_shift
contains the components of mp
.
Definition at line 1773 of file etoile.h.
References Lorene::Etoile_rot::khi_shift.
Returns the metric potential logn_auto
.
Definition at line 1729 of file etoile.h.
References Lorene::Etoile_rot::logn.
Returns the logarithm of the part of the lapse N generated principaly by the star.
In the Newtonian case, this is the Newtonian gravitational potential (in units of
Definition at line 701 of file etoile.h.
References Lorene::Etoile::logn_auto.
Returns the divergent part of the logarithm of the part of the lapse N generated principaly by the star.
In the Newtonian case, this is the diverging part of the Newtonian gravitational potential (in units of
Definition at line 715 of file etoile.h.
References Lorene::Etoile::logn_auto_div.
Returns the regular part of the logarithm of the part of the lapse N generated principaly by the star.
In the Newtonian case, this is the Newtonian gravitational potential (in units of
Definition at line 708 of file etoile.h.
References Lorene::Etoile::logn_auto_regu.
Returns the proper baryon density.
Definition at line 676 of file etoile.h.
References Lorene::Etoile::nbar.
Returns the proper baryon density for fluid 2.
Definition at line 341 of file et_rot_bifluid.h.
References nbar2.
Returns the total lapse function N.
Definition at line 727 of file etoile.h.
References Lorene::Etoile::nnn.
Returns the metric coefficient
Definition at line 1718 of file etoile.h.
References Lorene::Etoile_rot::nphi.
Returns the part of the Metric potential logn
generated by the matter terms.
Definition at line 1734 of file etoile.h.
References Lorene::Etoile_rot::nuf.
Returns the Part of the Metric potential logn
generated by the quadratic terms.
Definition at line 1739 of file etoile.h.
References Lorene::Etoile_rot::nuq.
|
inlineinherited |
Returns the number of domains occupied by the star.
Definition at line 662 of file etoile.h.
References Lorene::Etoile::nzet.
|
inline |
Returns the rotation angular velocity of fluid 2([f_unit] )
Definition at line 357 of file et_rot_bifluid.h.
References omega2.
|
virtualinherited |
Returns the central value of the rotation angular velocity ([f_unit] )
Reimplemented in Lorene::Et_rot_diff.
Definition at line 680 of file etoile_rot.C.
References Lorene::Etoile_rot::omega.
Returns the fluid pressure.
Definition at line 682 of file etoile.h.
References Lorene::Etoile::press.
Returns the trace of the stress tensor in the Eulerian frame.
Definition at line 688 of file etoile.h.
References Lorene::Etoile::s_euler.
Returns the total shift vector
Definition at line 730 of file etoile.h.
References Lorene::Etoile::shift.
Returns the Metric potential
Definition at line 1745 of file etoile.h.
References Lorene::Etoile_rot::tggg.
|
inlineinherited |
Returns the tensor
tkij
contains the Cartesian components of
Definition at line 1780 of file etoile.h.
References Lorene::Etoile_rot::tkij.
Returns the component
Definition at line 1723 of file etoile.h.
References Lorene::Etoile_rot::tnphi.
Returns the fluid 3-velocity with respect to the Eulerian observer.
Definition at line 694 of file etoile.h.
References Lorene::Etoile::u_euler.
Returns the norm of u_euler
.
Definition at line 1726 of file etoile.h.
References Lorene::Etoile_rot::uuu.
Returns the norm of the fluid 2 3-velocity with respect to the eulerian frame.
Definition at line 360 of file et_rot_bifluid.h.
References uuu2.
Returns the vector shift
, following Shibata's prescription [Prog.
Theor. Phys. 101 , 1199 (1999)] :
NB: w_shift
contains the components of mp
.
Definition at line 1759 of file etoile.h.
References Lorene::Etoile_rot::w_shift.
|
virtual |
Error on the virial identity GRV2.
Given by the integral Eq. (4.6) in [Bonazzola, Gougoulhon, Salgado, Marck, A&A 278 , 421 (1993)].
Reimplemented from Lorene::Etoile_rot.
Definition at line 471 of file et_bfrot_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::ak_car, Lorene::flat_scalar_prod(), Lorene::Tenseur::gradient_spher(), Lorene::Etoile_rot::lambda_grv2(), Lorene::Etoile_rot::logn, Lorene::Etoile::mp, Lorene::Etoile_rot::p_grv2, and sphph_euler.
Error on the virial identity GRV3.
The error is computed as the integral defined by Eq. (43) of [Gourgoulhon and Bonazzola, Class. Quantum Grav. 11 , 443 (1994)] divided by the integral of the matter terms.
ost | output stream to give details of the computation; if set to 0x0 [default value], no details will be given. |
Reimplemented from Lorene::Etoile_rot.
Definition at line 496 of file et_bfrot_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::ak_car, Lorene::Etoile_rot::bbb, Lorene::Cmp::dsdr(), Lorene::Etoile_rot::dzeta, Lorene::flat_scalar_prod(), Lorene::Cmp::get_dzpuis(), Lorene::Cmp::get_etat(), Lorene::Tenseur::gradient_spher(), Lorene::log(), Lorene::Etoile_rot::logn, Lorene::Etoile::mp, Lorene::Valeur::mult_ct(), Lorene::Etoile_rot::p_grv3, Lorene::Etoile::relativistic, Lorene::Etoile::s_euler, Lorene::Cmp::set_dzpuis(), Lorene::Tenseur::set_std_base(), Lorene::Cmp::srdsdt(), Lorene::Valeur::ssint(), Lorene::Cmp::std_base_scal(), Lorene::Valeur::sx(), Lorene::Cmp::va, and Lorene::Map_radial::xsr.
|
virtual |
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid frame.
The calculation is performed starting from the quantities ent
, ent2
, ener
, press
, K_nn
, K_np
, K_pp
and a_car
, which are supposed to be up to date. From these,
the following fields are updated: delta_car
, gam_euler
, gam_euler2
, ener_euler
, s_euler
, sphph_euler
and j_euler
.
Reimplemented from Lorene::Etoile_rot.
Definition at line 826 of file et_rot_bifluid.C.
References Lorene::Tenseur::annule(), Lorene::Etoile_rot::bbb, Lorene::Tenseur::change_triad(), del_deriv(), delta_car, Lorene::Etoile::ener_euler, enerps_euler, Lorene::Etoile::ent, eos, Lorene::Etoile::gam_euler, gam_euler2, Lorene::Map::get_bvect_cart(), Lorene::Map::get_bvect_spher(), Lorene::Tenseur::get_etat(), Lorene::Eos_bifluid::get_Knn(), Lorene::Eos_bifluid::get_Knp(), Lorene::Eos_bifluid::get_Kpp(), Lorene::Eos_bifluid::get_m1(), Lorene::Eos_bifluid::get_m2(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Eos_bifluid::identify(), j_euler, j_euler1, j_euler11_1, j_euler12_1, j_euler2, K_nn, K_np, K_pp, Lorene::Etoile::mp, Lorene::Etoile::nbar, nbar2, Lorene::Etoile::nnn, Lorene::Etoile_rot::nphi, Lorene::Etoile::nzet, Lorene::Etoile_rot::omega, omega2, Lorene::pow(), Lorene::Etoile::press, Lorene::Etoile::relativistic, Lorene::Etoile::s_euler, Lorene::Tenseur::set(), Lorene::Tenseur::set_etat_nondef(), Lorene::Tenseur::set_etat_qcq(), Lorene::Tenseur::set_std_base(), Lorene::Tenseur::set_triad(), sphph_euler, Lorene::sqrt(), Lorene::Etoile::u_euler, Lorene::Etoile::unsurc2, Lorene::Etoile_rot::uuu, and uuu2.
|
inlineinherited |
Returns true
for a relativistic star, false
for a Newtonian one.
Definition at line 667 of file etoile.h.
References Lorene::Etoile::relativistic.
Description of the surface of fluid 1: returns a 2-D Itbl
containing the values of the domain index l on the surface at the collocation points in
This surface is defined as the location where the density 1 (member nbar
) vanishes.
Reimplemented from Lorene::Etoile_rot.
Definition at line 811 of file et_bfrot_global.C.
References Lorene::Cmp::annule(), Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Etoile::mp, Lorene::Etoile::nbar, Lorene::Etoile::nzet, Lorene::Etoile::p_l_surf, Lorene::Etoile::p_xi_surf, and Lorene::Cmp::va.
Description of the surface of fluid 2: returns a 2-D Itbl
containing the values of the domain index l on the surface at the collocation points in
This surface is defined as the location where the density 2 (member nbar2
) vanishes.
Definition at line 844 of file et_bfrot_global.C.
References Lorene::Cmp::annule(), Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Etoile::mp, nbar2, Lorene::Etoile::nzet, p_l_surf2, p_xi_surf2, and Lorene::Cmp::va.
Computes the coefficient
in order that the total source does not contain any monopolar term, i.e. in order that
where
Then, by construction, the new source
sou_m | [input] matter source term ![]() |
sou_q | [input] quadratic source term ![]() |
Definition at line 79 of file et_rot_lambda_grv2.C.
References Lorene::Valeur::c, Lorene::Cmp::check_dzpuis(), Lorene::Valeur::coef_i(), Lorene::Map_radial::dxdr, Lorene::Map_af::get_alpha(), Lorene::Map_af::get_beta(), Lorene::Cmp::get_etat(), Lorene::Tbl::get_etat(), Lorene::Valeur::get_etat(), Lorene::Mg3d::get_grille3d(), Lorene::Map::get_mg(), Lorene::Cmp::get_mp(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Mg3d::get_type_r(), Lorene::Map_af::set_alpha(), Lorene::Map_af::set_beta(), Lorene::Mtbl::t, Lorene::Tbl::t, Lorene::Cmp::va, Lorene::Map::val_r(), Lorene::Grille3d::x, and Lorene::Map_radial::xsr.
|
virtualinherited |
Angular momentum of a particle on the ISCO.
Definition at line 284 of file et_rot_isco.C.
References Lorene::Etoile_rot::p_lspec_isco, and Lorene::Etoile_rot::r_isco().
|
virtual |
Total Baryon mass.
Reimplemented from Lorene::Etoile_rot.
Definition at line 148 of file et_bfrot_global.C.
References mass_b1(), mass_b2(), and Lorene::Etoile::p_mass_b.
double Lorene::Et_rot_bifluid::mass_b1 | ( | ) | const |
Baryon mass of fluid 1.
Definition at line 116 of file et_bfrot_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::bbb, eos, Lorene::Etoile::gam_euler, Lorene::Tenseur::get_etat(), Lorene::Eos_bifluid::get_m1(), Lorene::Cmp::integrale(), Lorene::Etoile::nbar, p_mass_b1, and Lorene::Cmp::std_base_scal().
double Lorene::Et_rot_bifluid::mass_b2 | ( | ) | const |
Baryon mass of fluid 2.
Definition at line 132 of file et_bfrot_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::bbb, eos, gam_euler2, Lorene::Tenseur::get_etat(), Lorene::Eos_bifluid::get_m2(), Lorene::Cmp::integrale(), nbar2, p_mass_b2, and Lorene::Cmp::std_base_scal().
|
virtual |
Gravitational mass.
Reimplemented from Lorene::Etoile_rot.
Definition at line 162 of file et_bfrot_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::b_car, Lorene::Etoile_rot::bbb, Lorene::Tenseur::change_triad(), enerps_euler, Lorene::Map::get_bvect_spher(), j_euler, Lorene::Etoile::mp, Lorene::Etoile::nnn, Lorene::Etoile::p_mass_g, Lorene::Tenseur::set_std_base(), and Lorene::Etoile_rot::tnphi.
|
virtualinherited |
Mean radius.
Definition at line 472 of file et_rot_global.C.
References Lorene::Etoile_rot::area(), and Lorene::sqrt().
|
virtual |
Mean radius for fluid 2.
Definition at line 690 of file et_bfrot_global.C.
References area2(), and Lorene::sqrt().
|
virtual |
Quadrupole moment.
The quadrupole moment Q is defined according to Eq. (11) of [Pappas and Apostolatos, Physical Review Letters 108, 231104 (2012)]. This is a corrected version of the quadrupole moment defined by [Salgado, Bonazzola, Gourgoulhon and Haensel, Astron. Astrophys. 291 , 155 (1994)]. Following this definition,
Reimplemented from Lorene::Etoile_rot.
Definition at line 703 of file et_bfrot_global.C.
References mass_g(), mom_quad_Bo(), mom_quad_old(), Lorene::Etoile_rot::p_mom_quad, and Lorene::pow().
|
virtual |
Part of the quadrupole moment.
B_o is defined as
Reimplemented from Lorene::Etoile_rot.
Definition at line 719 of file et_bfrot_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::bbb, Lorene::Cmp::integrale(), Lorene::Etoile::mp, Lorene::Cmp::mult_rsint(), Lorene::Etoile::nnn, Lorene::Etoile_rot::p_mom_quad_Bo, Lorene::Etoile::press, and Lorene::Cmp::std_base_scal().
|
virtual |
Part of the quadrupole moment.
This term
Reimplemented from Lorene::Etoile_rot.
Definition at line 742 of file et_bfrot_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::ak_car, Lorene::Etoile_rot::bbb, Lorene::Cmp::check_dzpuis(), enerps_euler, Lorene::flat_scalar_prod(), Lorene::Cmp::get_etat(), Lorene::Tenseur::gradient_spher(), Lorene::Cmp::inc2_dzpuis(), Lorene::log(), Lorene::Etoile_rot::logn, Lorene::Etoile::mp, Lorene::Valeur::mult_ct(), Lorene::Cmp::mult_r(), Lorene::Etoile::nbar, nbar2, Lorene::Etoile_rot::p_mom_quad_old, Lorene::Etoile::relativistic, Lorene::Tenseur::set(), Lorene::Tenseur::set_std_base(), and Lorene::Cmp::va.
void Lorene::Et_rot_bifluid::operator= | ( | const Et_rot_bifluid & | et | ) |
Assignment to another Et_rot_bifluid.
Definition at line 394 of file et_rot_bifluid.C.
References del_deriv(), delta_car, enerps_euler, ent2, eos, gam_euler2, j_euler, j_euler1, j_euler11_1, j_euler12_1, j_euler2, K_nn, K_np, K_pp, nbar2, omega2, Lorene::Etoile_rot::operator=(), sphph_euler, and uuu2.
Operator >> (virtual function called by the operator <<).
Reimplemented from Lorene::Etoile_rot.
Definition at line 450 of file et_rot_bifluid.C.
References Lorene::Etoile::a_car, angu_mom(), angu_mom_1(), angu_mom_1_part1_1(), angu_mom_1_part1_2(), angu_mom_1_part2_1(), angu_mom_1_part2_2(), angu_mom_2(), angu_mom_2_part1_1(), angu_mom_2_part1_2(), angu_mom_2_part2_1(), angu_mom_2_part2_2(), Lorene::Etoile_rot::aplat(), aplat2(), Lorene::Etoile_rot::b_car, Lorene::diffrel(), Lorene::Etoile_rot::dzeta, Lorene::Map::get_mg(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), grv2(), grv3(), Lorene::Etoile_rot::logn, mass_b(), mass_g(), Lorene::Etoile_rot::mean_radius(), mean_radius2(), mom_quad(), mom_quad_Bo(), mom_quad_old(), Lorene::Etoile::mp, Lorene::Etoile_rot::nphi, Lorene::Etoile::nzet, Lorene::Etoile_rot::omega, omega2, Lorene::Etoile::operator>>(), Lorene::pow(), Lorene::Etoile_rot::r_circ(), r_circ2(), Lorene::Etoile::ray_eq(), ray_eq2(), Lorene::Etoile_rot::uuu, uuu2, Lorene::Etoile_rot::z_eqb(), Lorene::Etoile_rot::z_eqf(), and Lorene::Etoile_rot::z_pole().
Printing of some informations, excluding all global quantities.
Reimplemented from Lorene::Etoile_rot.
Definition at line 666 of file et_rot_bifluid.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::aplat(), aplat2(), Lorene::Etoile_rot::b_car, Lorene::Etoile_rot::dzeta, Lorene::Etoile::ener, Lorene::Etoile::ent, ent2, Lorene::Map::get_mg(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Etoile_rot::logn, Lorene::Etoile::mp, Lorene::Etoile::nbar, nbar2, Lorene::Etoile::nnn, Lorene::Etoile_rot::nphi, Lorene::Etoile::nzet, Lorene::Etoile_rot::omega, omega2, Lorene::Etoile::press, Lorene::Etoile::ray_eq(), ray_eq2(), Lorene::Etoile_rot::uuu, and uuu2.
|
virtualinherited |
Circumferential radius.
Definition at line 390 of file et_rot_global.C.
References Lorene::Etoile_rot::bbb, Lorene::Map::get_mg(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_t(), Lorene::Etoile::mp, Lorene::Etoile::nzet, Lorene::Etoile_rot::p_r_circ, and Lorene::Etoile::ray_eq().
|
virtual |
Circumferential radius for fluid 2.
Definition at line 593 of file et_bfrot_global.C.
References Lorene::Etoile_rot::bbb, Lorene::Map::get_mg(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_t(), Lorene::Etoile::mp, Lorene::Etoile::nzet, p_r_circ2, and ray_eq2().
Circumferential radius of the innermost stable circular orbit (ISCO).
ost | output stream to give details of the computation; if set to 0x0 [default value], no details will be given. |
Definition at line 84 of file et_rot_isco.C.
References Lorene::Param::add_cmp(), Lorene::Param::add_int(), Lorene::Cmp::annule(), Lorene::Etoile_rot::bbb, Lorene::Cmp::dsdr(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nzone(), Lorene::Etoile::mp, Lorene::Etoile::nnn, Lorene::Etoile_rot::nphi, Lorene::Etoile::nzet, Lorene::Etoile_rot::p_espec_isco, Lorene::Etoile_rot::p_f_eq, Lorene::Etoile_rot::p_f_isco, Lorene::Etoile_rot::p_lspec_isco, Lorene::Etoile_rot::p_r_isco, Lorene::Map::r, Lorene::Etoile::ray_eq(), Lorene::sqrt(), Lorene::Cmp::std_base_scal(), Lorene::Cmp::va, Lorene::Valeur::val_point(), Lorene::Map::val_r(), and Lorene::zerosec().
|
inherited |
Coordinate radius at
Definition at line 120 of file etoile_global.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_p(), Lorene::Mg3d::get_type_t(), Lorene::Etoile::l_surf(), Lorene::Etoile::mp, Lorene::Etoile::p_ray_eq, Lorene::Map::val_r(), and Lorene::Etoile::xi_surf().
Coordinate radius at
Definition at line 440 of file etoile_global.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_p(), Lorene::Mg3d::get_type_t(), Lorene::Etoile::l_surf(), Lorene::Etoile::mp, Lorene::Map::val_r(), and Lorene::Etoile::xi_surf().
double Lorene::Et_rot_bifluid::ray_eq2 | ( | ) | const |
Coordinate radius for fluid 2 at
Definition at line 896 of file et_bfrot_global.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_p(), Lorene::Mg3d::get_type_t(), l_surf2(), Lorene::Etoile::mp, p_ray_eq2, Lorene::Map::val_r(), and xi_surf2().
double Lorene::Et_rot_bifluid::ray_eq2_pi | ( | ) | const |
Coordinate radius for fluid 2 at
Definition at line 987 of file et_bfrot_global.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_p(), Lorene::Mg3d::get_type_t(), l_surf2(), Lorene::Etoile::mp, p_ray_eq2_pi, ray_eq2(), Lorene::Map::val_r(), and xi_surf2().
double Lorene::Et_rot_bifluid::ray_eq2_pis2 | ( | ) | const |
Coordinate radius for fluid 2 at
Definition at line 930 of file et_bfrot_global.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_p(), Lorene::Mg3d::get_type_t(), l_surf2(), Lorene::Etoile::mp, p_ray_eq2_pis2, Lorene::Map::val_r(), and xi_surf2().
|
inherited |
Coordinate radius at
Definition at line 335 of file etoile_global.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_p(), Lorene::Mg3d::get_type_t(), Lorene::Etoile::l_surf(), Lorene::Etoile::mp, Lorene::Etoile::p_ray_eq_3pis2, Lorene::Etoile::ray_eq_pis2(), Lorene::Map::val_r(), and Lorene::Etoile::xi_surf().
|
inherited |
Coordinate radius at
Definition at line 256 of file etoile_global.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_p(), Lorene::Mg3d::get_type_t(), Lorene::Etoile::l_surf(), Lorene::Etoile::mp, Lorene::Etoile::p_ray_eq_pi, Lorene::Etoile::ray_eq(), Lorene::Map::val_r(), and Lorene::Etoile::xi_surf().
|
inherited |
Coordinate radius at
Definition at line 169 of file etoile_global.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_p(), Lorene::Mg3d::get_type_t(), Lorene::Etoile::l_surf(), Lorene::Etoile::mp, Lorene::Etoile::p_ray_eq_pis2, Lorene::Map::val_r(), and Lorene::Etoile::xi_surf().
|
inherited |
Coordinate radius at
Definition at line 415 of file etoile_global.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_type_t(), Lorene::Etoile::l_surf(), Lorene::Etoile::mp, Lorene::Etoile::p_ray_pole, Lorene::Map::val_r(), and Lorene::Etoile::xi_surf().
double Lorene::Et_rot_bifluid::ray_pole2 | ( | ) | const |
Coordinate radius for fluid 2 at
Definition at line 1036 of file et_bfrot_global.C.
References Lorene::Map::get_mg(), l_surf2(), Lorene::Etoile::mp, p_ray_pole2, Lorene::Map::val_r(), and xi_surf2().
Save in a file.
Reimplemented from Lorene::Etoile_rot.
Definition at line 436 of file et_rot_bifluid.C.
References ent2, Lorene::fwrite_be(), omega2, Lorene::Etoile_rot::sauve(), and Lorene::Tenseur::sauve().
|
protectedvirtual |
Sets to 0x0
all the pointers on derived quantities.
Reimplemented from Lorene::Etoile_rot.
Definition at line 319 of file et_rot_bifluid.C.
References p_angu_mom_1, p_angu_mom_1_part1_1, p_angu_mom_1_part1_2, p_angu_mom_1_part2_1, p_angu_mom_1_part2_2, p_angu_mom_2, p_angu_mom_2_part1_1, p_angu_mom_2_part1_2, p_angu_mom_2_part2_1, p_angu_mom_2_part2_2, p_aplat2, p_area2, p_l_surf2, p_mass_b1, p_mass_b2, p_r_circ2, p_ray_eq2, p_ray_eq2_pi, p_ray_eq2_pis2, p_ray_pole2, p_xi_surf2, and Lorene::Etoile_rot::set_der_0x0().
Sets both enthalpy profiles.
Definition at line 374 of file et_rot_bifluid.C.
References del_deriv(), Lorene::Etoile::ent, ent2, and equation_of_state().
Assignment of the enthalpy field.
Definition at line 465 of file etoile.C.
References Lorene::Etoile::del_deriv(), Lorene::Etoile::ent, and Lorene::Etoile::equation_of_state().
|
inlineinherited |
|
virtualinherited |
Ratio T/W.
Reimplemented in Lorene::Et_rot_diff, and Lorene::Et_rot_mag.
Definition at line 220 of file et_rot_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::angu_mom(), Lorene::Etoile_rot::bbb, Lorene::Etoile::ener, Lorene::Etoile::gam_euler, Lorene::Cmp::integrale(), Lorene::Etoile_rot::logn, Lorene::Etoile_rot::mass_g(), Lorene::Etoile::nbar, Lorene::Etoile_rot::omega, Lorene::Etoile_rot::p_tsw, Lorene::Etoile::relativistic, and Lorene::Cmp::std_base_scal().
|
inherited |
Computes metric coefficients from known potentials.
The calculation is performed starting from the quantities logn
, dzeta
, tggg
and shift
, which are supposed to be up to date.
From these, the following fields are updated: nnn
, a_car
, bbb
and b_car
.
Definition at line 69 of file et_rot_upmetr.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::b_car, Lorene::Etoile_rot::bbb, Lorene::Etoile_rot::del_deriv(), Lorene::Etoile_rot::dzeta, Lorene::exp(), Lorene::Etoile_rot::extrinsic_curvature(), Lorene::Etoile_rot::logn, Lorene::Etoile::nnn, Lorene::Tenseur::set(), Lorene::Tenseur::set_etat_qcq(), Lorene::Tenseur::set_std_base(), Lorene::Etoile_rot::tggg, and Lorene::Etoile::unsurc2.
Description of the stellar surface: returns a 2-D Tbl
containing the values of the radial coordinate
The stellar surface is defined as the location where the enthalpy (member ent
) vanishes.
Definition at line 101 of file etoile_global.C.
References Lorene::Etoile::l_surf(), Lorene::Etoile::p_l_surf, and Lorene::Etoile::p_xi_surf.
Description of the surface of fluid 2: returns a 2-D Tbl
containing the values of the radial coordinate
This surface is defined as the location where the density 2 (member nbar2
) vanishes.
Definition at line 878 of file et_bfrot_global.C.
References l_surf2(), p_l_surf2, and p_xi_surf2.
|
virtualinherited |
Backward redshift factor at equator.
Definition at line 545 of file et_rot_global.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_t(), Lorene::Etoile::mp, Lorene::Etoile::nnn, Lorene::Etoile_rot::nphi, Lorene::Etoile::nzet, Lorene::Etoile_rot::p_z_eqb, Lorene::Etoile_rot::r_circ(), Lorene::sqrt(), and Lorene::Etoile_rot::uuu.
|
virtualinherited |
Forward redshift factor at equator.
Definition at line 513 of file et_rot_global.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_t(), Lorene::Etoile::mp, Lorene::Etoile::nnn, Lorene::Etoile_rot::nphi, Lorene::Etoile::nzet, Lorene::Etoile_rot::p_z_eqf, Lorene::Etoile_rot::r_circ(), Lorene::sqrt(), and Lorene::Etoile_rot::uuu.
|
virtualinherited |
Redshift factor at North pole.
Definition at line 580 of file et_rot_global.C.
References Lorene::Etoile::nnn, Lorene::Etoile_rot::p_z_pole, and Lorene::Etoile::ray_pole().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
The "relative velocity" (squared)
See Prix et al.(2003) and see also Eos_bifluid
.
Definition at line 213 of file et_rot_bifluid.h.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
the combination
Definition at line 201 of file et_rot_bifluid.h.
|
protectedinherited |
|
protected |
Log-enthalpy for the second fluid.
Definition at line 160 of file et_rot_bifluid.h.
|
protected |
Equation of state for two-fluids model.
Definition at line 152 of file et_rot_bifluid.h.
|
protectedinherited |
|
protected |
Lorentz factor between the fluid 2 and Eulerian observers
Definition at line 207 of file et_rot_bifluid.h.
|
protected |
Total angular momentum (flat-space!) 3-vector
In axisymmetric circular cases, only
Definition at line 182 of file et_rot_bifluid.h.
|
protected |
To compute Jn.
Definition at line 184 of file et_rot_bifluid.h.
|
protected |
To compute In (1st version)
Definition at line 187 of file et_rot_bifluid.h.
|
protected |
Definition at line 193 of file et_rot_bifluid.h.
|
protected |
To compute Ip (1st version)
Definition at line 188 of file et_rot_bifluid.h.
|
protected |
Definition at line 194 of file et_rot_bifluid.h.
|
protected |
To compute Jp.
Definition at line 185 of file et_rot_bifluid.h.
|
protected |
Definition at line 190 of file et_rot_bifluid.h.
|
protected |
Definition at line 196 of file et_rot_bifluid.h.
|
protected |
Definition at line 191 of file et_rot_bifluid.h.
|
protected |
Definition at line 197 of file et_rot_bifluid.h.
|
protectedinherited |
|
protected |
Coefficient Knn.
Definition at line 164 of file et_rot_bifluid.h.
|
protected |
Coefficient Knp.
Definition at line 165 of file et_rot_bifluid.h.
|
protected |
Coefficient Kpp.
Definition at line 166 of file et_rot_bifluid.h.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
Baryon density in the fluid frame, for fluid 2.
Definition at line 162 of file et_rot_bifluid.h.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
Rotation angular velocity for fluid 2 ([f_unit] )
Definition at line 154 of file et_rot_bifluid.h.
|
mutableprotectedinherited |
|
mutableprotected |
Angular momentum of fluid 1.
Definition at line 249 of file et_rot_bifluid.h.
|
mutableprotected |
To compute In (1st version)
Definition at line 252 of file et_rot_bifluid.h.
|
mutableprotected |
To compute In (2nd version)
Definition at line 258 of file et_rot_bifluid.h.
|
mutableprotected |
To compute Xn (1st version)
Definition at line 255 of file et_rot_bifluid.h.
|
mutableprotected |
To compute Xn (2nd version)
Definition at line 261 of file et_rot_bifluid.h.
|
mutableprotected |
Angular momentum of fluid 2.
Definition at line 250 of file et_rot_bifluid.h.
|
mutableprotected |
To compute Ip (1st version)
Definition at line 253 of file et_rot_bifluid.h.
|
mutableprotected |
To compute Ip (2nd version)
Definition at line 259 of file et_rot_bifluid.h.
|
mutableprotected |
To compute Xp (1st version)
Definition at line 256 of file et_rot_bifluid.h.
|
mutableprotected |
To compute Xp (2nd version)
Definition at line 262 of file et_rot_bifluid.h.
|
mutableprotectedinherited |
|
mutableprotected |
Flatening r_pole/r_eq of fluid no.2.
Definition at line 244 of file et_rot_bifluid.h.
|
mutableprotectedinherited |
|
mutableprotected |
Surface area of fluid no.2.
Definition at line 243 of file et_rot_bifluid.h.
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotected |
Description of the surface of fluid 2: 2-D Itbl
containing the values of the domain index l on the surface at the collocation points in
Definition at line 234 of file et_rot_bifluid.h.
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotected |
Baryon mass of fluid 1.
Definition at line 246 of file et_rot_bifluid.h.
|
mutableprotected |
Baryon mass of fluid 2.
Definition at line 247 of file et_rot_bifluid.h.
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotected |
Circumferential radius of fluid no.2.
Definition at line 242 of file et_rot_bifluid.h.
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotected |
Coordinate radius at
Definition at line 219 of file et_rot_bifluid.h.
|
mutableprotected |
Coordinate radius at
Definition at line 225 of file et_rot_bifluid.h.
|
mutableprotected |
Coordinate radius at
Definition at line 222 of file et_rot_bifluid.h.
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotected |
Coordinate radius at
Definition at line 228 of file et_rot_bifluid.h.
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotected |
Description of the surface of fluid 2: 2-D Tbl
containing the values of the radial coordinate
Definition at line 240 of file et_rot_bifluid.h.
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
The component
Definition at line 175 of file et_rot_bifluid.h.
|
protectedinherited |
|
protectedinherited |
Effective source at the previous step for the resolution of the Poisson equation for the scalar Map_et::poisson
.
|
protectedinherited |
Effective source at the previous step for the resolution of the Poisson equation for nuf
by means of Map_et::poisson
.
|
protectedinherited |
Effective source at the previous step for the resolution of the Poisson equation for nuq
by means of Map_et::poisson
.
|
protectedinherited |
|
protectedinherited |
Effective source at the previous step for the resolution of the vector Poisson equation for
mp
)
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
Norm of the (fluid no.2) 3-velocity with respect to the eulerian observer.
Definition at line 204 of file et_rot_bifluid.h.
|
protectedinherited |