Class for computing a Black hole - Neutron star binary system with an extreme mass ratio. More...
#include <bin_bhns_extr.h>
Public Member Functions | |
| Bin_bhns_extr (Map &mp, int nzet, const Eos &eos, bool irrot, bool relat, bool kerrs, bool multi) | |
| Standard constructor. | |
| Bin_bhns_extr (const Bin_bhns_extr &) | |
| Copy constructor. | |
| Bin_bhns_extr (Map &mp, const Eos &eos, FILE *fich) | |
Constructor from a file (see sauve(FILE*) ). | |
| ~Bin_bhns_extr () | |
| Destructor. | |
| void | operator= (const Bin_bhns_extr &) |
| Assignment to another Bin_bhns_extr. | |
| Et_bin_bhns_extr & | set_ns () |
| Read/write of the neutron star. | |
| double & | set_omega () |
| Sets the orbital angular velocity [{ f}]. | |
| double & | set_separ () |
| Sets the orbital separation [{ r}]. | |
| double & | set_mass_bh () |
| Sets the gravitational mass of BH [{ m}]. | |
| const Et_bin_bhns_extr & | get_ns () const |
| Returns a reference to the neutron star. | |
| double | get_omega () const |
| Returns the orbital angular velocity [{ f}]. | |
| double | get_separ () const |
| Returns the coordinate separation of the binary system [{ r}]. | |
| double | get_mass_bh () const |
| Returns the gravitational mass of BH [{ m}]. | |
| void | sauve (FILE *) const |
| Save in a file. | |
| void | display_poly (ostream &) const |
| Display in polytropic units. | |
| double | xa_barycenter_extr () const |
| Absolute coordinate X of the barycenter of the baryon density in the Kerr-Schild background metric or in the conformally flat one. | |
| double | ya_barycenter_extr () const |
| in the Kerr-Schild background metric | |
| double | mass_b_extr () const |
| Baryon mass of the neutron star in the Kerr-Schild background metric or in the conformally flat. | |
| void | orbit_omega_ks (double fact_omeg_min, double fact_omeg_max) |
| Computes the orbital angular velocity { omega} in the Kerr-Schild background metric. | |
| void | orbit_omega_cf (double fact_omeg_min, double fact_omeg_max) |
| Computes the orbital angular velocity { omega} in the conformally flat background metric. | |
| void | analytical_omega () |
| Sets the orbital angular velocity to some 2-PN analytical value (Keplerian value in the Newtonian case). | |
| void | analytical_shift () |
| Sets some analytical template for the shift vector (via the members { w} and { khi} of { Etoile}). | |
Private Member Functions | |
| void | del_deriv () const |
| Deletes all the derived quantities. | |
| void | set_der_0x0 () const |
Sets to 0x0 all the pointers on derived quantities. | |
| ostream & | operator>> (ostream &) const |
| Operator >> (function called by the operator <<). | |
Private Attributes | |
| const Base_vect_cart | ref_triad |
| Cartesian triad of the absolute reference frame. | |
| Et_bin_bhns_extr | star |
| Neutron star. | |
| double | omega |
| Angular velocity with respect to an asymptotically inertial observer. | |
| double | separ |
| Absolute orbital separation between two centers of BH and NS. | |
| double | mass_bh |
| Gravitational mass of BH. | |
| double * | p_xa_barycenter_extr |
| Absolute coordinate X of the barycenter of the baryon density in the Kerr-Schild background metric or in the conformally flat one. | |
| double * | p_ya_barycenter_extr |
| Absolute coordinate Y of the barycenter of the baryon density in the Kerr-Schild background metric. | |
| double * | p_mass_b_extr |
| Baryon mass of the neutron star in the Kerr-Schild background metric or in the conformally flat one. | |
Friends | |
| ostream & | operator<< (ostream &, const Bin_bhns_extr &) |
| Display. | |
Class for computing a Black hole - Neutron star binary system with an extreme mass ratio.
()
Definition at line 53 of file bin_bhns_extr.h.
| Bin_bhns_extr::Bin_bhns_extr | ( | Map & | mp, | |
| int | nzet, | |||
| const Eos & | eos, | |||
| bool | irrot, | |||
| bool | relat, | |||
| bool | kerrs, | |||
| bool | multi | |||
| ) |
Standard constructor.
| mp | Mapping on which the neutron star will be defined | |
| nzet | Number of domains occupied by the neutron star | |
| eos | Equation of state of the neutron star | |
| irrot | should be { true} if NS is irrotational, { false} if NS is corotating | |
| relat | should be { true} for a relativistic configuration, { false} for a Newtonian one | |
| kerrs | should be { true} for the Kerr-Schild background metric, { false} for the conformally flat one | |
| multi | should be { true} for the multipole falloff boundary condition, { true} for the one |
Definition at line 81 of file bin_bhns_extr.C.
References mass_bh, omega, separ, and set_der_0x0().
| Bin_bhns_extr::Bin_bhns_extr | ( | const Bin_bhns_extr & | bibi | ) |
Constructor from a file (see sauve(FILE*) ).
| mp | Mapping on which the neutron star will be defined | |
| eos | Equation of state of the neutron star |
Definition at line 113 of file bin_bhns_extr.C.
References fread_be(), mass_bh, omega, separ, and set_der_0x0().
| Bin_bhns_extr::~Bin_bhns_extr | ( | ) |
| void Bin_bhns_extr::analytical_omega | ( | ) |
Sets the orbital angular velocity to some 2-PN analytical value (Keplerian value in the Newtonian case).
Definition at line 51 of file bin_bhns_extr_omegaana.C.
References del_deriv(), Etoile_bin::is_irrotational(), Etoile::is_relativistic(), mass_bh, omega, pow(), Etoile::ray_eq(), separ, sqrt(), and star.
| void Bin_bhns_extr::analytical_shift | ( | ) |
Sets some analytical template for the shift vector (via the members { w} and { khi} of { Etoile}).
Definition at line 51 of file bin_bhns_extr_anashift.C.
References Cmp::annule(), Map::get_mg(), Etoile::get_mp(), Etoile::get_nzet(), Mg3d::get_nzone(), Etoile::is_relativistic(), Etoile_bin::mass_g(), omega, Map::r, Etoile::ray_eq(), separ, Tenseur::set(), Tenseur::set_etat_qcq(), Etoile_bin::set_khi_shift(), Tenseur::set_std_base(), Etoile_bin::set_w_shift(), Map::sinp, Map::sint, star, and Map::y.
| void Bin_bhns_extr::del_deriv | ( | ) | const [private] |
Deletes all the derived quantities.
Definition at line 141 of file bin_bhns_extr.C.
References p_mass_b_extr, p_xa_barycenter_extr, p_ya_barycenter_extr, and set_der_0x0().
| void Bin_bhns_extr::display_poly | ( | ostream & | ost | ) | const |
Display in polytropic units.
Definition at line 319 of file bin_bhns_extr.C.
References Etoile::get_eos(), Eos_poly::get_gam(), Eos_poly::get_kap(), Etoile_bin::mass_b(), mass_b_extr(), mass_bh, omega, pow(), Etoile::ray_eq(), Etoile::ray_eq_pi(), separ, sqrt(), star, xa_barycenter_extr(), and ya_barycenter_extr().
| double Bin_bhns_extr::get_mass_bh | ( | ) | const [inline] |
Returns the gravitational mass of BH [{ m}].
Definition at line 174 of file bin_bhns_extr.h.
References mass_bh.
| const Et_bin_bhns_extr& Bin_bhns_extr::get_ns | ( | ) | const [inline] |
Returns a reference to the neutron star.
Definition at line 162 of file bin_bhns_extr.h.
References star.
| double Bin_bhns_extr::get_omega | ( | ) | const [inline] |
Returns the orbital angular velocity [{ f}].
Definition at line 166 of file bin_bhns_extr.h.
References omega.
| double Bin_bhns_extr::get_separ | ( | ) | const [inline] |
Returns the coordinate separation of the binary system [{ r}].
Definition at line 171 of file bin_bhns_extr.h.
References separ.
| double Bin_bhns_extr::mass_b_extr | ( | ) | const |
Baryon mass of the neutron star in the Kerr-Schild background metric or in the conformally flat.
Definition at line 214 of file bin_bhns_extr_global.C.
References Etoile::get_a_car(), Etoile::get_gam_euler(), Etoile::get_mp(), Etoile::get_nbar(), Et_bin_bhns_extr::in_kerrschild(), Cmp::integrale(), Etoile::is_relativistic(), mass_bh, p_mass_b_extr, pow(), separ, Tenseur::set(), Tenseur::set_etat_qcq(), Tenseur::set_std_base(), sqrt(), star, Cmp::std_base_scal(), Map::x, Map::y, and Map::z.
| void Bin_bhns_extr::operator= | ( | const Bin_bhns_extr & | bibi | ) |
Assignment to another Bin_bhns_extr.
Definition at line 165 of file bin_bhns_extr.C.
References del_deriv(), mass_bh, omega, ref_triad, separ, and star.
| ostream & Bin_bhns_extr::operator>> | ( | ostream & | ost | ) | const [private] |
Operator >> (function called by the operator <<).
Definition at line 206 of file bin_bhns_extr.C.
References Etoile::get_a_car(), Etoile::get_ener(), Etoile::get_ent(), Etoile::get_eos(), Etoile::get_mp(), Etoile::get_nbar(), Etoile::get_nnn(), Etoile::get_nzet(), Map::get_ori_x(), Etoile::get_press(), Map::get_rot_phi(), Et_bin_bhns_extr::in_kerrschild(), Etoile_bin::is_irrotational(), Etoile::is_relativistic(), Etoile_bin::mass_b(), mass_b_extr(), mass_bh, Etoile_bin::mass_g(), omega, Etoile::ray_eq(), Etoile::ray_eq_pi(), separ, star, and Et_bin_bhns_extr::with_multipole().
| void Bin_bhns_extr::orbit_omega_cf | ( | double | fact_omeg_min, | |
| double | fact_omeg_max | |||
| ) |
Computes the orbital angular velocity { omega} in the conformally flat background metric.
| fact_omeg_min | [input] : determines the lower bound of the interval { [omega, omega]} in which { omega} is searched by { omega = fact * omega}, where { omega} is the previous value of the angular velocity (typical value : { fact = 0.5}) | |
| fact_omeg_max | [input] : determines the higher bound of the interval { [omega, omega]} in which { omega} is searched by { omega = fact * omega}, where { omega} is the previous value of the angular velocity. (typical value : { fact = 1.5}) |
Definition at line 314 of file bin_bhns_extr_orbit.C.
References Param::add_double(), Param::add_int(), Tenseur::change_triad(), Cmp::dsdx(), flat_scalar_prod(), Etoile::get_a_car(), Map::get_bvect_cart(), Etoile::get_d_logn_auto_div(), Etoile_bin::get_loggam(), Etoile::get_logn_auto_regu(), Etoile_bin::get_logn_comp(), Etoile::get_mp(), Etoile::get_nnn(), Map::get_rot_phi(), Etoile::get_shift(), Tbl::get_taille(), Tenseur::get_triad(), Etoile::is_relativistic(), omega, ref_triad, star, zero_list(), and zerosec_b().
| void Bin_bhns_extr::orbit_omega_ks | ( | double | fact_omeg_min, | |
| double | fact_omeg_max | |||
| ) |
Computes the orbital angular velocity { omega} in the Kerr-Schild background metric.
| fact_omeg_min | [input] : determines the lower bound of the interval { [omega, omega]} in which { omega} is searched by { omega = fact * omega}, where { omega} is the previous value of the angular velocity (typical value : { fact = 0.5}) | |
| fact_omeg_max | [input] : determines the higher bound of the interval { [omega, omega]} in which { omega} is searched by { omega = fact * omega}, where { omega} is the previous value of the angular velocity. (typical value : { fact = 1.5}) |
Definition at line 63 of file bin_bhns_extr_orbit.C.
References Param::add_double(), Param::add_int(), Tenseur::change_triad(), Cmp::dsdx(), flat_scalar_prod(), Etoile::get_a_car(), Map::get_bvect_cart(), Etoile::get_d_logn_auto_div(), Etoile_bin::get_d_logn_comp(), Etoile_bin::get_loggam(), Etoile::get_logn_auto_regu(), Etoile::get_mp(), Etoile::get_nnn(), Map::get_rot_phi(), Etoile::get_shift(), Tbl::get_taille(), Tenseur::get_triad(), Etoile::is_relativistic(), mass_bh, omega, ref_triad, separ, star, zero_list(), and zerosec_b().
| void Bin_bhns_extr::sauve | ( | FILE * | fich | ) | const |
Save in a file.
Definition at line 187 of file bin_bhns_extr.C.
References fwrite_be(), mass_bh, omega, Et_bin_bhns_extr::sauve(), separ, and star.
| void Bin_bhns_extr::set_der_0x0 | ( | ) | const [private] |
Sets to 0x0 all the pointers on derived quantities.
Definition at line 151 of file bin_bhns_extr.C.
References p_mass_b_extr, p_xa_barycenter_extr, and p_ya_barycenter_extr.
| double& Bin_bhns_extr::set_mass_bh | ( | ) | [inline] |
Sets the gravitational mass of BH [{ m}].
Definition at line 156 of file bin_bhns_extr.h.
References mass_bh.
| Et_bin_bhns_extr& Bin_bhns_extr::set_ns | ( | ) | [inline] |
Read/write of the neutron star.
Definition at line 145 of file bin_bhns_extr.h.
References del_deriv(), and star.
| double& Bin_bhns_extr::set_omega | ( | ) | [inline] |
Sets the orbital angular velocity [{ f}].
Definition at line 150 of file bin_bhns_extr.h.
References omega.
| double& Bin_bhns_extr::set_separ | ( | ) | [inline] |
Sets the orbital separation [{ r}].
Definition at line 153 of file bin_bhns_extr.h.
References separ.
| double Bin_bhns_extr::xa_barycenter_extr | ( | ) | const |
Absolute coordinate X of the barycenter of the baryon density in the Kerr-Schild background metric or in the conformally flat one.
Definition at line 59 of file bin_bhns_extr_global.C.
References Etoile::get_a_car(), Etoile::get_gam_euler(), Etoile::get_mp(), Etoile::get_nbar(), Et_bin_bhns_extr::in_kerrschild(), Cmp::integrale(), mass_b_extr(), mass_bh, p_xa_barycenter_extr, pow(), separ, Tenseur::set(), Tenseur::set_etat_qcq(), Tenseur::set_std_base(), sqrt(), star, Cmp::std_base_scal(), Map::x, Map::xa, Map::y, and Map::z.
| double Bin_bhns_extr::ya_barycenter_extr | ( | ) | const |
in the Kerr-Schild background metric
Definition at line 136 of file bin_bhns_extr_global.C.
References Etoile::get_a_car(), Etoile::get_gam_euler(), Etoile::get_mp(), Etoile::get_nbar(), Et_bin_bhns_extr::in_kerrschild(), Cmp::integrale(), mass_b_extr(), mass_bh, p_ya_barycenter_extr, pow(), separ, Tenseur::set(), Tenseur::set_etat_qcq(), Tenseur::set_std_base(), sqrt(), star, Cmp::std_base_scal(), Map::x, Map::y, Map::ya, and Map::z.
| ostream& operator<< | ( | ostream & | , | |
| const Bin_bhns_extr & | ||||
| ) | [friend] |
Display.
double Bin_bhns_extr::mass_bh [private] |
Gravitational mass of BH.
Definition at line 73 of file bin_bhns_extr.h.
double Bin_bhns_extr::omega [private] |
Angular velocity with respect to an asymptotically inertial observer.
Definition at line 67 of file bin_bhns_extr.h.
double* Bin_bhns_extr::p_mass_b_extr [mutable, private] |
Baryon mass of the neutron star in the Kerr-Schild background metric or in the conformally flat one.
Definition at line 92 of file bin_bhns_extr.h.
double* Bin_bhns_extr::p_xa_barycenter_extr [mutable, private] |
Absolute coordinate X of the barycenter of the baryon density in the Kerr-Schild background metric or in the conformally flat one.
Definition at line 82 of file bin_bhns_extr.h.
double* Bin_bhns_extr::p_ya_barycenter_extr [mutable, private] |
Absolute coordinate Y of the barycenter of the baryon density in the Kerr-Schild background metric.
Definition at line 87 of file bin_bhns_extr.h.
const Base_vect_cart Bin_bhns_extr::ref_triad [private] |
Cartesian triad of the absolute reference frame.
Definition at line 59 of file bin_bhns_extr.h.
double Bin_bhns_extr::separ [private] |
Absolute orbital separation between two centers of BH and NS.
Definition at line 70 of file bin_bhns_extr.h.
Et_bin_bhns_extr Bin_bhns_extr::star [private] |
Neutron star.
Definition at line 62 of file bin_bhns_extr.h.
1.6.1