47 #include "hole_bhns.h" 48 #include "star_bhns.h" 170 bool irrot_ns,
bool kerrschild,
171 bool bc_lapse_nd,
bool bc_lapse_fs,
bool irrot_bh,
252 virtual void sauve(FILE *)
const ;
271 double mass_adm_bhns_vol()
const ;
276 double mass_kom_bhns_vol()
const ;
341 void orbit_omega(
double fact_omeg_min,
double fact_omeg_max) ;
359 void rotation_axis_y(
double thres_rot,
double rot_exp_y,
double fact) ;
369 void shift_analytic(
double reduce_shift_bh,
double reduce_shift_ns) ;
373 ostream& operator<<(ostream& ,
const Bin_bhns& ) ;
Class for stars in black hole-neutron star binaries.
Hole_bhns hole
Black hole.
const Tbl & line_mom_bhns() const
Total linear momentum.
void orbit_omega(double fact_omeg_min, double fact_omeg_max)
Estimates the relative error on the Hamiltonian constraint.
double & set_omega()
Sets the orbital angular velocity [{ f_unit}].
double get_x_rot() const
Returns the absolute coordinate X of the rotation axis [{ r_unit}].
double ya_barycenter() const
Absolute coordinate Y of the barycenter of the baryon density.
double & set_x_rot()
Sets the absolute coordinate X of the rotation axis [{ r_unit}].
double get_y_rot() const
Returns the absolute coordinate Y of the rotation axis [{ r_unit}].
double xa_barycenter() const
Absolute coordinate X of the barycenter of the baryon density.
Equation of state base class.
double * p_omega_two_points
Orbital angular velocity derived from another method.
Base class for coordinate mappings.
Tbl * p_angu_mom_bhns
Total angular momentum of the system.
Tbl * p_line_mom_bhns
Total linear momentum of the system.
double * p_mass_kom_bhns_surf
Total Komar mass of the system calculated by the surface integral at infinity.
double virial_bhns_vol() const
Estimates the relative error on the virial theorem $|1 - M_{ Komar} / M_{ ADM}|$. ...
double get_omega() const
Returns the orbital angular velocity [{ f_unit}].
void operator=(const Bin_bhns &)
Assignment to another Bin_bhns.
void shift_analytic(double reduce_shift_bh, double reduce_shift_ns)
Sets some analytical template for the initial shift vector.
double mass_kom_bhns_surf() const
Total Komar mass.
double * p_mass_kom_bhns_vol
Total Komar mass of the system calculated by the volume integral and the surface integral at the appa...
double separ
Absolute orbital separation between two centers of BH and NS.
double get_separ() const
Returns the coordinate separation of the binary system [{ r_unit}].
Star_bhns & set_ns()
Read/write of the neutron star.
double * p_xa_barycenter
Absolute coordinate X of the barycenter of the baryon density.
ostream & operator>>(ostream &) const
Operator >> (function called by the operator <<)
double omega
Angular velocity with respect to an asymptotically inertial observer.
virtual ~Bin_bhns()
Destructor.
Star_bhns star
Neutron star.
Bin_bhns(Map &mp_bh, Map &mp_ns, int nzet, const Eos &eos, bool irrot_ns, bool kerrschild, bool bc_lapse_nd, bool bc_lapse_fs, bool irrot_bh, double mass_bh)
Relative error on the Hamiltonian constraint.
double mass_adm_bhns_surf() const
Total ADM mass.
void rotation_axis_x(double rot_exp_x)
Computes the position of the rotation axis X.
const Star_bhns & get_ns() const
Returns a reference to the neutron star.
double * p_mass_adm_bhns_vol
Total ADM mass of the system calculated by the volume integral and the surface integral at the appare...
const Base_vect_cart ref_triad
Cartesian triad of the absolute reference frame.
void display_poly(ostream &) const
Display in polytropic units.
Class for black holes in black hole-neutron star binaries.
Cartesian vectorial bases (triads).
double omega_two_points() const
Orbital angular velocity derived from another method.
const Hole_bhns & get_bh() const
Returns a reference to the black hole.
const Tbl & angu_mom_bhns() const
Total angular momentum.
friend ostream & operator<<(ostream &, const Bin_bhns &)
Display.
double * p_virial_bhns_vol
Virial theorem error calculated by the ADM mass and the Komar mass of the volume integral.
double * p_ya_barycenter
Absolute coordinate Y of the barycenter of the baryon density.
double & set_y_rot()
Sets the absolute coordinate Y of the rotation axis [{ r_unit}].
void del_deriv() const
Deletes all the derived quantities.
void rotation_axis_y(double thres_rot, double rot_exp_y, double fact)
Computes the position of the rotation axis Y.
double * p_mass_adm_bhns_surf
Total ADM mass of the system calculated by the surface integral at infinity.
Class for computing a black hole - neutron star binary system with comparable mass () ...
Hole_bhns & set_bh()
Read/write of the black hole.
double virial_bhns_surf() const
Estimates the relative error on the virial theorem $|1 - M_{ Komar} / M_{ ADM}|$. ...
double x_rot
Absolute X coordinate of the rotation axis.
virtual void sauve(FILE *) const
Save in a file.
double * p_virial_bhns_surf
Virial theorem error calculated by the ADM mass and the Komar mass of the surface integral at infinit...
double & set_separ()
Sets the orbital separation [{ r_unit}].
void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
double y_rot
Absolute Y coordinate of the rotation axis.