LORENE
Lorene::Star_bin_xcts Class Reference

Class for stars in binary system in eXtended Conformal Thin Sandwich formulation. More...

#include <star.h>

Inheritance diagram for Lorene::Star_bin_xcts:
Lorene::Star

Public Member Functions

 Star_bin_xcts (Map &mp_i, int nzet_i, const Eos &eos_i, bool irrot)
 Standard constructor. More...
 
 Star_bin_xcts (const Star_bin_xcts &)
 Copy constructor. More...
 
 Star_bin_xcts (Map &mp_i, const Eos &eos_i, FILE *fich)
 Constructor from a file (see sauve(FILE* )). More...
 
virtual ~Star_bin_xcts ()
 Destructor. More...
 
void operator= (const Star_bin_xcts &)
 Assignment to another Star_bin_xcts. More...
 
Scalarset_pot_centri ()
 Read/write the centrifugal potential. More...
 
Scalarset_Psi_auto ()
 Read/write the conformal factor $\Psi_{auto}$. More...
 
Scalarset_Psi_comp ()
 Read/write the conformal factor $\Psi_{comp}$. More...
 
Scalarset_chi_auto ()
 Read/write the conformal factor $\chi_{auto}$. More...
 
Scalarset_chi_comp ()
 Read/write the conformal factor $\chi_{comp}$. More...
 
Vectorset_beta_auto ()
 Read/write of $\beta_{auto}$. More...
 
Vectorset_beta ()
 Read/write of $\beta$. More...
 
bool is_irrotational () const
 Returns true for an irrotational motion, false for a corotating one. More...
 
const Scalarget_psi0 () const
 Returns the non-translational part of the velocity potential. More...
 
const Vectorget_d_psi () const
 Returns the covariant derivative of the velocity potential (Spherical components with respect to the mapping of the star) More...
 
const Vectorget_wit_w () const
 Returns the spatial projection of the fluid 3-velocity with respect to the co-orbiting observer. More...
 
const Scalarget_loggam () const
 Returns the logarithm of the Lorentz factor between the fluid and the co-orbiting observer. More...
 
const Vectorget_bsn () const
 Returns the shift vector, divided by N, of the rotating coordinates, $\beta^i/N$. More...
 
const Scalarget_pot_centri () const
 Returns the centrifugal potential. More...
 
const Vectorget_beta_auto () const
 Returns the part of the shift vector $\beta^i$ generated principally by the star ( $\beta^i_{auto}$). More...
 
const Vectorget_beta_comp () const
 Returns the part of the shift vector $\beta^i$ generated principally by the companion ( $\beta^i_{comp}$). More...
 
const Scalarget_Psi_auto () const
 Returns the scalar field $\Psi_{auto}$ generated principally by the star. More...
 
const Scalarget_Psi_comp () const
 Returns the scalar field $\Psi_{comp}$ generated principally by the companion star. More...
 
const Scalarget_chi_auto () const
 Returns the scalar field $\chi_{auto} = (N\Psi)_{auto}$ generated principally by the star. More...
 
const Scalarget_chi_comp () const
 Returns the scalar field $\chi_{comp} = (N\Psi)_{comp}$ generated principally by the companion star. More...
 
const Vectorget_dcov_chi () const
 Returns the covariant derivative of $\chi$. More...
 
const Vectorget_dcov_Psi () const
 Returns the covariant derivative of the conformal factor $\Psi$. More...
 
const Scalarget_Psi () const
 Return the conformal factor $\Psi$. More...
 
const Scalarget_chi () const
 Return the function $\chi$. More...
 
const Scalarget_psi4 () const
 Return the conformal factor $\Psi^4$. More...
 
const Metricget_flat () const
 Return the flat metric defined on the mapping (Spherical components with respect to the mapping of the star) More...
 
const Sym_tensorget_haij_auto () const
 Returns the part of the extrinsic curvature tensor $\hat{A}^{ij}$ generated by beta_auto. More...
 
const Sym_tensorget_haij_comp () const
 Returns the part of the extrinsic curvature tensor $\hat{A}^{ij}$ generated by beta_comp. More...
 
const Scalarget_hacar_auto () const
 Returns the part of $\hat{A}^{ij}\hat{A}_{ij}$ generated by beta_auto. More...
 
const Scalarget_hacar_comp () const
 Returns the part of $\hat{A}^{ij}\hat{A}_{ij}$ generated by beta_comp. More...
 
virtual void sauve (FILE *) const
 Save in a file. More...
 
virtual double mass_b () const
 Baryon mass. More...
 
virtual double mass_g () const
 Gravitational mass. More...
 
virtual double xa_barycenter () const
 Absolute coordinate X of the barycenter of the baryon density,. More...
 
virtual void hydro_euler ()
 Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid frame, as well as wit_w and loggam. More...
 
void update_metric (const Star_bin_xcts &comp)
 Computes metric coefficients from known potentials, when the companion is another star. More...
 
void update_metric (const Star_bin_xcts &comp, const Star_bin_xcts &star_prev, double relax)
 Same as update_metric(const Star_bin_xcts& ) but with relaxation. More...
 
void update_metric_der_comp (const Star_bin_xcts &comp)
 Computes the derivative of metric functions related to the companion star. More...
 
void kinematics (double omega, double x_axe)
 Computes the quantities bsn and pot_centri. More...
 
void fait_d_psi ()
 Computes the gradient of the total velocity potential $\psi$. More...
 
void extrinsic_curvature ()
 Computes haij_auto and hacar_auto from beta_auto, nn and Psi . More...
 
void equilibrium (double ent_c, int mermax, int mermax_potvit, int mermax_poisson, double relax_poisson, double relax_potvit, double thres_adapt, const Tbl &fact, const Tbl *pent_limit, Tbl &diff)
 Computes an equilibrium configuration. More...
 
double velocity_potential (int mermax, double precis, double relax)
 Computes the non-translational part of the velocity scalar potential $\psi0$ by solving the continuity equation. More...
 
void relaxation (const Star_bin_xcts &star_prev, double relax_ent, double relax_met, int mer, int fmer_met)
 Performs a relaxation on ent, Psi_auto, chi_auto and beta_auto. More...
 
Mapset_mp ()
 Read/write of the mapping. More...
 
void set_enthalpy (const Scalar &)
 Assignment of the enthalpy field. More...
 
void equation_of_state ()
 Computes the proper baryon and energy density, as well as pressure from the enthalpy. More...
 
virtual void equilibrium_spher (double ent_c, double precis=1.e-14, const Tbl *pent_limit=0x0)
 Computes a spherical static configuration. More...
 
const Mapget_mp () const
 Returns the mapping. More...
 
int get_nzet () const
 Returns the number of domains occupied by the star. More...
 
const Eosget_eos () const
 Returns the equation of state. More...
 
const Scalarget_ent () const
 Returns the enthalpy field. More...
 
const Scalarget_nbar () const
 Returns the proper baryon density. More...
 
const Scalarget_ener () const
 Returns the proper total energy density. More...
 
const Scalarget_press () const
 Returns the fluid pressure. More...
 
const Scalarget_ener_euler () const
 Returns the total energy density with respect to the Eulerian observer. More...
 
const Scalarget_s_euler () const
 Returns the trace of the stress tensor in the Eulerian frame. More...
 
const Scalarget_gam_euler () const
 Returns the Lorentz factor between the fluid and Eulerian observers. More...
 
const Vectorget_u_euler () const
 Returns the fluid 3-velocity with respect to the Eulerian observer. More...
 
const Tensorget_stress_euler () const
 Returns the spatial part of the stress-energy tensor with respect to the Eulerian observer. More...
 
const Scalarget_logn () const
 Returns the logarithm of the lapse N. More...
 
const Scalarget_nn () const
 Returns the lapse function N. More...
 
const Vectorget_beta () const
 Returns the shift vector $\beta^i$. More...
 
const Scalarget_lnq () const
 
const Metricget_gamma () const
 Returns the 3-metric $\gamma$. More...
 
double ray_eq () const
 Coordinate radius at $\phi=0$, $\theta=\pi/2$ [r_unit]. More...
 
double ray_eq_pis2 () const
 Coordinate radius at $\phi=\pi/2$, $\theta=\pi/2$ [r_unit]. More...
 
double ray_eq_pi () const
 Coordinate radius at $\phi=\pi$, $\theta=\pi/2$ [r_unit]. More...
 
double ray_eq_3pis2 () const
 Coordinate radius at $\phi=3\pi/2$, $\theta=\pi/2$ [r_unit]. More...
 
double ray_pole () const
 Coordinate radius at $\theta=0$ [r_unit]. More...
 
virtual const Itbll_surf () const
 Description of the stellar surface: returns a 2-D Itbl containing the values of the domain index l on the surface at the collocation points in $(\theta', \phi')$. More...
 
const Tblxi_surf () const
 Description of the stellar surface: returns a 2-D Tbl containing the values of the radial coordinate $\xi$ on the surface at the collocation points in $(\theta', \phi')$. More...
 

Protected Member Functions

virtual void del_deriv () const
 Deletes all the derived quantities. More...
 
virtual void set_der_0x0 () const
 Sets to 0x0 all the pointers on derived quantities. More...
 
virtual void del_hydro_euler ()
 Sets to ETATNONDEF (undefined state) the hydrodynamical quantities relative to the Eulerian observer. More...
 
virtual ostream & operator>> (ostream &) const
 Operator >> (virtual function called by the operator <<). More...
 

Protected Attributes

bool irrotational
 true for an irrotational star, false for a corotating one More...
 
Scalar psi0
 Scalar potential $\Psi_0$ of the non-translational part of fluid 4-velocity (in the irrotational case) More...
 
Vector d_psi
 Gradient of $\Psi$ (in the irrotational case) (Spherical components with respect to the mapping of the star) More...
 
Vector wit_w
 Spatial projection of the fluid 3-velocity with respect to
the co-orbiting observer. More...
 
Scalar loggam
 Logarithm of the Lorentz factor between the fluid and the co-orbiting observer. More...
 
Vector bsn
 3-vector shift, divided by N, of the rotating coordinates, $\beta^i/N$. More...
 
Scalar pot_centri
 Centrifugal potential. More...
 
Scalar chi_auto
 Scalar field $ \chi_{auto} = (N\Psi)_{auto} $ generated principally by the star. More...
 
Scalar chi_comp
 Scalar field $ \chi_{comp} = (N\Psi)_{comp} $ generated principally by the companion star. More...
 
Scalar Psi_auto
 Scalar field $\Psi_{auto}$ generated principally by the star. More...
 
Scalar Psi_comp
 Scalar field $\Psi_{comp}$ generated principally by the companion star. More...
 
Scalar Psi
 Total conformal factor $\Psi$. More...
 
Scalar chi
 Total function $\chi$. More...
 
Scalar psi4
 Conformal factor $\psi^4$. More...
 
Vector w_beta
 Solution for the vector part of the vector Poisson equation for $\beta^i$. More...
 
Scalar khi
 Solution for the scalar part of the vector Poisson equation for $\beta^i$. More...
 
Vector dcov_Psi
 Covariant derivative of the conformal factor $\Psi$. More...
 
Vector dcov_chi
 Covariant derivative of the function $\chi$. More...
 
Metric_flat flat
 Flat metric defined on the mapping (Spherical components with respect to the mapping of the star) . More...
 
Vector beta_auto
 Part of the shift vector generated principally by the star (Spherical components with respect to the mapping of the star) More...
 
Vector beta_comp
 Part of the shift vector generated principally by the star (Spherical components with respect to the mapping of the star) More...
 
Sym_tensor haij_auto
 Part of the extrinsic curvature tensor $\hat{A}^{ij}$ generated by beta_auto. More...
 
Sym_tensor haij_comp
 Part of the extrinsic curvature tensor $\hat{A}^{ij}$ generated by beta_comp. More...
 
Scalar hacar_auto
 Part of the scalar $\hat{A}_{ij}\hat{A}^{ij}$ generated by beta_auto, i.e. More...
 
Scalar hacar_comp
 Part of the scalar $\hat{A}_{ij}\hat{A}^{ij}$ generated by beta_auto and beta_comp, i.e. More...
 
Scalar ssjm1_chi
 Effective source at the previous step for the resolution of the Poisson equation for . More...
 
Scalar ssjm1_psi
 Effective source at the previous step for the resolution of the Poisson equation for . More...
 
Scalar ssjm1_khi
 Effective source at the previous step for the resolution of the Poisson equation for khi. More...
 
Vector ssjm1_wbeta
 Effective source at the previous step for wbeta of the vector Poisson equation for wbeta (needed for the solution of the vector Poisson equation for the shift $\beta^i$) More...
 
double * p_xa_barycenter
 Absolute coordinate X of the barycenter of the baryon density. More...
 
Mapmp
 Mapping associated with the star. More...
 
int nzet
 Number of domains of *mp occupied by the star. More...
 
const Eoseos
 Equation of state of the stellar matter. More...
 
Scalar ent
 Log-enthalpy. More...
 
Scalar nbar
 Baryon density in the fluid frame. More...
 
Scalar ener
 Total energy density in the fluid frame. More...
 
Scalar press
 Fluid pressure. More...
 
Scalar ener_euler
 Total energy density in the Eulerian frame. More...
 
Scalar s_euler
 Trace of the stress scalar in the Eulerian frame. More...
 
Scalar gam_euler
 Lorentz factor between the fluid and Eulerian observers. More...
 
Vector u_euler
 Fluid 3-velocity with respect to the Eulerian observer. More...
 
Sym_tensor stress_euler
 Spatial part of the stress-energy tensor with respect to the Eulerian observer. More...
 
Scalar logn
 Logarithm of the lapse N . More...
 
Scalar nn
 Lapse function N . More...
 
Vector beta
 Shift vector. More...
 
Scalar lnq
 
Metric gamma
 3-metric More...
 
double * p_ray_eq
 Coordinate radius at $\phi=0$, $\theta=\pi/2$. More...
 
double * p_ray_eq_pis2
 Coordinate radius at $\phi=\pi/2$, $\theta=\pi/2$. More...
 
double * p_ray_eq_pi
 Coordinate radius at $\phi=\pi$, $\theta=\pi/2$. More...
 
double * p_ray_eq_3pis2
 Coordinate radius at $\phi=3\pi/2$, $\theta=\pi/2$. More...
 
double * p_ray_pole
 Coordinate radius at $\theta=0$. More...
 
Itblp_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 $(\theta', \phi')$. More...
 
Tblp_xi_surf
 Description of the stellar surface: 2-D Tbl containing the values of the radial coordinate $\xi$ on the surface at the collocation points in $(\theta', \phi')$. More...
 
double * p_mass_b
 Baryon mass. More...
 
double * p_mass_g
 Gravitational mass. More...
 

Friends

class Binary_xcts
 

Detailed Description

Class for stars in binary system in eXtended Conformal Thin Sandwich formulation.

*** UNDER DEEVELOPMENT ***()

A Star_bin_xcts can be construted in two states, represented by the bool member irrotational: (i) irrotational (i.e. the fluid motion is irrotational) or (ii) rigidly corotating with respect to the orbital motion (synchronized binary).

Definition at line 1091 of file star.h.

Constructor & Destructor Documentation

◆ Star_bin_xcts() [1/3]

Lorene::Star_bin_xcts::Star_bin_xcts ( Map mp_i,
int  nzet_i,
const Eos eos_i,
bool  irrot 
)

Standard constructor.

Parameters
mp_iMapping on which the star will be defined
nzet_iNumber of domains occupied by the star
eos_iEquation of state of the stellar matter
irrotshould be true for an irrotational star, false for a corotating one

Definition at line 84 of file star_bin_xcts.C.

References Lorene::Star::beta, beta_auto, beta_comp, bsn, Lorene::Vector::change_triad(), Lorene::Tensor::change_triad(), chi, chi_auto, chi_comp, d_psi, dcov_chi, dcov_Psi, Lorene::Map::flat_met_cart(), Lorene::Star::gamma, Lorene::Map::get_bvect_cart(), hacar_auto, hacar_comp, haij_auto, haij_comp, khi, loggam, Lorene::Star::mp, pot_centri, Psi, psi0, Psi_auto, Psi_comp, set_der_0x0(), Lorene::Tensor::set_etat_zero(), ssjm1_chi, ssjm1_khi, ssjm1_psi, ssjm1_wbeta, Lorene::Star::stress_euler, Lorene::Star::u_euler, w_beta, and wit_w.

◆ Star_bin_xcts() [2/3]

Lorene::Star_bin_xcts::Star_bin_xcts ( const Star_bin_xcts star)

Copy constructor.

Definition at line 168 of file star_bin_xcts.C.

References set_der_0x0().

◆ Star_bin_xcts() [3/3]

Lorene::Star_bin_xcts::Star_bin_xcts ( Map mp_i,
const Eos eos_i,
FILE *  fich 
)

Constructor from a file (see sauve(FILE* )).

Parameters
mp_iMapping on which the star will be defined
eos_iEquation of state of the stellar matter
fichinput file (must have been created by the function sauve)

Definition at line 206 of file star_bin_xcts.C.

References Lorene::Star::beta, beta_comp, bsn, Lorene::Vector::change_triad(), Lorene::Tensor::change_triad(), chi_comp, d_psi, dcov_chi, dcov_Psi, Lorene::Map::flat_met_cart(), Lorene::Star::gam_euler, Lorene::Star::gamma, Lorene::Map::get_bvect_cart(), Lorene::Map::get_mg(), hacar_auto, hacar_comp, haij_auto, haij_comp, irrotational, khi, loggam, Lorene::Star::mp, pot_centri, psi0, Psi_comp, set_der_0x0(), Lorene::Tensor::set_etat_zero(), Lorene::Star::stress_euler, Lorene::Star::u_euler, w_beta, and wit_w.

◆ ~Star_bin_xcts()

Lorene::Star_bin_xcts::~Star_bin_xcts ( )
virtual

Destructor.

Definition at line 297 of file star_bin_xcts.C.

References del_deriv().

Member Function Documentation

◆ del_deriv()

void Lorene::Star_bin_xcts::del_deriv ( ) const
protectedvirtual

Deletes all the derived quantities.

Reimplemented from Lorene::Star.

Definition at line 307 of file star_bin_xcts.C.

References Lorene::Star::del_deriv(), p_xa_barycenter, and set_der_0x0().

◆ del_hydro_euler()

void Lorene::Star_bin_xcts::del_hydro_euler ( )
protectedvirtual

Sets to ETATNONDEF (undefined state) the hydrodynamical quantities relative to the Eulerian observer.

Reimplemented from Lorene::Star.

Definition at line 324 of file star_bin_xcts.C.

References del_deriv(), and Lorene::Star::del_hydro_euler().

◆ equation_of_state()

◆ equilibrium()

void Lorene::Star_bin_xcts::equilibrium ( double  ent_c,
int  mermax,
int  mermax_potvit,
int  mermax_poisson,
double  relax_poisson,
double  relax_potvit,
double  thres_adapt,
const Tbl fact,
const Tbl pent_limit,
Tbl diff 
)

Computes an equilibrium configuration.

Parameters
ent_c[input] Central enthalpy
mermax[input] Maximum number of steps
mermax_poisson[input] Maximum number of steps in poisson scalar
relax_poisson[input] Relaxation factor in poisson scalar
mermax_potvit[input] Maximum number of steps in Map_radial::poisson_compact
relax_potvit[input] Relaxation factor in Map_radial::poisson_compact
thres_adapt[input] Threshold on dH/dr for the adaptation of the mapping
fact[input] 1-D Tbl for the input of some factors:
  • fact(0) : A resizing factor for the first shell
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.
diff[output] 1-D Tbl for the storage of some error indicators

Definition at line 94 of file star_bin_equilibrium_xcts.C.

References Lorene::abs(), Lorene::Map::adapt(), Lorene::Param::add_cmp_mod(), Lorene::Param::add_double(), Lorene::Param::add_int(), Lorene::Param::add_int_mod(), Lorene::Param::add_tbl(), Lorene::Param::add_tenseur_mod(), beta_auto, chi, chi_auto, chi_comp, Lorene::contract(), dcov_chi, dcov_Psi, Lorene::Tensor::dec_dzpuis(), Lorene::Tensor::derive_con(), Lorene::Scalar::derive_con(), Lorene::diffrel(), Lorene::Vector::divergence(), Lorene::Scalar::dsdr(), Lorene::Star::ener_euler, Lorene::Star::ent, Lorene::Star::equation_of_state(), flat, Lorene::Map::get_bvect_cart(), Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), hacar_auto, hacar_comp, haij_auto, Lorene::Map_et::homothetie(), hydro_euler(), irrotational, khi, Lorene::Scalar::laplacian(), Lorene::log(), loggam, Lorene::max(), Lorene::Star::mp, Lorene::Star::nn, Lorene::norme(), Lorene::Star::nzet, Lorene::Scalar::poisson(), pot_centri, Lorene::pow(), Lorene::Star::press, Psi, psi4, Psi_auto, Psi_comp, Lorene::Star::ray_eq(), Lorene::Star::ray_pole(), Lorene::Map::reevaluate_symy(), Lorene::Map::resize(), Lorene::Star::s_euler, Lorene::Tbl::set(), Lorene::Vector::set(), Lorene::Tenseur::set(), Lorene::Tbl::set_etat_qcq(), Lorene::Tenseur::set_etat_qcq(), Lorene::Scalar::set_spectral_va(), Lorene::Tenseur::set_std_base(), Lorene::Valeur::smooth(), Lorene::sqrt(), ssjm1_chi, ssjm1_khi, ssjm1_psi, ssjm1_wbeta, Lorene::Scalar::std_spectral_base(), Lorene::Star::u_euler, Lorene::Scalar::val_grid_point(), Lorene::Scalar::val_point(), Lorene::Map::val_r(), velocity_potential(), and w_beta.

◆ equilibrium_spher()

void Lorene::Star::equilibrium_spher ( double  ent_c,
double  precis = 1.e-14,
const Tbl pent_limit = 0x0 
)
virtualinherited

Computes a spherical static configuration.

Parameters
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 101 of file star_equil_spher.C.

References Lorene::Star_rot::a_car, Lorene::Map_et::adapt(), Lorene::Param::add_double(), Lorene::Param::add_int(), Lorene::Param::add_int_mod(), Lorene::Param::add_tbl(), Lorene::Scalar::annule(), Lorene::Star_rot::b_car, Lorene::Star_rot::bbb, Lorene::diffrel(), Lorene::Scalar::dsdr(), Lorene::Map_af::dsdr(), Lorene::Star_rot::dzeta, Lorene::Star::ener, Lorene::Star::ener_euler, Lorene::Star::ent, Lorene::Star::equation_of_state(), Lorene::exp(), Lorene::Star::gam_euler, Lorene::Star::gamma, Lorene::Map_af::get_alpha(), Lorene::Map_et::get_alpha(), Lorene::Map_af::get_beta(), Lorene::Map_et::get_beta(), Lorene::Map::get_bvect_cart(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Map_af::homothetie(), Lorene::Scalar::integrale(), Lorene::Star::logn, Lorene::Star::mass_b(), Lorene::Star::mass_g(), Lorene::Star::mp, Lorene::Star::nn, Lorene::norme(), Lorene::Star::nzet, Lorene::Map_af::poisson(), Lorene::Star::press, Lorene::Star::s_euler, Lorene::Vector::set(), Lorene::Map_af::set_alpha(), Lorene::Map_af::set_beta(), Lorene::Scalar::set_dzpuis(), Lorene::Cmp::set_etat_qcq(), Lorene::Tensor::set_etat_zero(), Lorene::sqrt(), Lorene::Scalar::std_spectral_base(), Lorene::Star::u_euler, Lorene::Scalar::val_grid_point(), and Lorene::Map::val_r().

◆ extrinsic_curvature()

void Lorene::Star_bin_xcts::extrinsic_curvature ( )

◆ fait_d_psi()

◆ get_beta()

const Vector& Lorene::Star::get_beta ( ) const
inlineinherited

Returns the shift vector $\beta^i$.

Definition at line 402 of file star.h.

References Lorene::Star::beta.

◆ get_beta_auto()

const Vector& Lorene::Star_bin_xcts::get_beta_auto ( ) const
inline

Returns the part of the shift vector $\beta^i$ generated principally by the star ( $\beta^i_{auto}$).

(Spherical components with respect to the mapping of the star)

Definition at line 1351 of file star.h.

References beta_auto.

◆ get_beta_comp()

const Vector& Lorene::Star_bin_xcts::get_beta_comp ( ) const
inline

Returns the part of the shift vector $\beta^i$ generated principally by the companion ( $\beta^i_{comp}$).

(Spherical components with respect to the mapping of the star)

Definition at line 1357 of file star.h.

References beta_comp.

◆ get_bsn()

const Vector& Lorene::Star_bin_xcts::get_bsn ( ) const
inline

Returns the shift vector, divided by N, of the rotating coordinates, $\beta^i/N$.

(Spherical components with respect to the mapping of the star)

Definition at line 1342 of file star.h.

References bsn.

◆ get_chi()

const Scalar& Lorene::Star_bin_xcts::get_chi ( ) const
inline

Return the function $\chi$.

Definition at line 1392 of file star.h.

References chi.

◆ get_chi_auto()

const Scalar& Lorene::Star_bin_xcts::get_chi_auto ( ) const
inline

Returns the scalar field $\chi_{auto} = (N\Psi)_{auto}$ generated principally by the star.

Definition at line 1372 of file star.h.

References chi_auto.

◆ get_chi_comp()

const Scalar& Lorene::Star_bin_xcts::get_chi_comp ( ) const
inline

Returns the scalar field $\chi_{comp} = (N\Psi)_{comp}$ generated principally by the companion star.

Definition at line 1377 of file star.h.

References chi_comp.

◆ get_d_psi()

const Vector& Lorene::Star_bin_xcts::get_d_psi ( ) const
inline

Returns the covariant derivative of the velocity potential (Spherical components with respect to the mapping of the star)

Definition at line 1325 of file star.h.

References d_psi.

◆ get_dcov_chi()

const Vector& Lorene::Star_bin_xcts::get_dcov_chi ( ) const
inline

Returns the covariant derivative of $\chi$.

Definition at line 1381 of file star.h.

References dcov_chi.

◆ get_dcov_Psi()

const Vector& Lorene::Star_bin_xcts::get_dcov_Psi ( ) const
inline

Returns the covariant derivative of the conformal factor $\Psi$.

Definition at line 1386 of file star.h.

References dcov_Psi.

◆ get_ener()

const Scalar& Lorene::Star::get_ener ( ) const
inlineinherited

Returns the proper total energy density.

Definition at line 370 of file star.h.

References Lorene::Star::ener.

◆ get_ener_euler()

const Scalar& Lorene::Star::get_ener_euler ( ) const
inlineinherited

Returns the total energy density with respect to the Eulerian observer.

Definition at line 376 of file star.h.

References Lorene::Star::ener_euler.

◆ get_ent()

const Scalar& Lorene::Star::get_ent ( ) const
inlineinherited

Returns the enthalpy field.

Definition at line 364 of file star.h.

References Lorene::Star::ent.

◆ get_eos()

const Eos& Lorene::Star::get_eos ( ) const
inlineinherited

Returns the equation of state.

Definition at line 361 of file star.h.

References Lorene::Star::eos.

◆ get_flat()

const Metric& Lorene::Star_bin_xcts::get_flat ( ) const
inline

Return the flat metric defined on the mapping (Spherical components with respect to the mapping of the star)

Definition at line 1400 of file star.h.

References flat.

◆ get_gam_euler()

const Scalar& Lorene::Star::get_gam_euler ( ) const
inlineinherited

Returns the Lorentz factor between the fluid and Eulerian observers.

Definition at line 382 of file star.h.

References Lorene::Star::gam_euler.

◆ get_gamma()

const Metric& Lorene::Star::get_gamma ( ) const
inlineinherited

Returns the 3-metric $\gamma$.

Definition at line 409 of file star.h.

References Lorene::Star::gamma.

◆ get_hacar_auto()

const Scalar& Lorene::Star_bin_xcts::get_hacar_auto ( ) const
inline

Returns the part of $\hat{A}^{ij}\hat{A}_{ij}$ generated by beta_auto.

Definition at line 1417 of file star.h.

References hacar_auto.

◆ get_hacar_comp()

const Scalar& Lorene::Star_bin_xcts::get_hacar_comp ( ) const
inline

Returns the part of $\hat{A}^{ij}\hat{A}_{ij}$ generated by beta_comp.

Definition at line 1422 of file star.h.

References hacar_comp.

◆ get_haij_auto()

const Sym_tensor& Lorene::Star_bin_xcts::get_haij_auto ( ) const
inline

Returns the part of the extrinsic curvature tensor $\hat{A}^{ij}$ generated by beta_auto.

(Spherical components with respect to the mapping of the star)

Definition at line 1406 of file star.h.

References haij_auto.

◆ get_haij_comp()

const Sym_tensor& Lorene::Star_bin_xcts::get_haij_comp ( ) const
inline

Returns the part of the extrinsic curvature tensor $\hat{A}^{ij}$ generated by beta_comp.

(Spherical components with respect to the mapping of the star)

Definition at line 1412 of file star.h.

References haij_comp.

◆ get_loggam()

const Scalar& Lorene::Star_bin_xcts::get_loggam ( ) const
inline

Returns the logarithm of the Lorentz factor between the fluid and the co-orbiting observer.

Definition at line 1336 of file star.h.

References loggam.

◆ get_logn()

const Scalar& Lorene::Star::get_logn ( ) const
inlineinherited

Returns the logarithm of the lapse N.

In the Newtonian case, this is the Newtonian gravitational potential (in units of $c^2$).

Definition at line 396 of file star.h.

References Lorene::Star::logn.

◆ get_mp()

const Map& Lorene::Star::get_mp ( ) const
inlineinherited

Returns the mapping.

Definition at line 355 of file star.h.

References Lorene::Star::mp.

◆ get_nbar()

const Scalar& Lorene::Star::get_nbar ( ) const
inlineinherited

Returns the proper baryon density.

Definition at line 367 of file star.h.

References Lorene::Star::nbar.

◆ get_nn()

const Scalar& Lorene::Star::get_nn ( ) const
inlineinherited

Returns the lapse function N.

Definition at line 399 of file star.h.

References Lorene::Star::nn.

◆ get_nzet()

int Lorene::Star::get_nzet ( ) const
inlineinherited

Returns the number of domains occupied by the star.

Definition at line 358 of file star.h.

References Lorene::Star::nzet.

◆ get_pot_centri()

const Scalar& Lorene::Star_bin_xcts::get_pot_centri ( ) const
inline

Returns the centrifugal potential.

Definition at line 1345 of file star.h.

References pot_centri.

◆ get_press()

const Scalar& Lorene::Star::get_press ( ) const
inlineinherited

Returns the fluid pressure.

Definition at line 373 of file star.h.

References Lorene::Star::press.

◆ get_Psi()

const Scalar& Lorene::Star_bin_xcts::get_Psi ( ) const
inline

Return the conformal factor $\Psi$.

Definition at line 1389 of file star.h.

References Psi.

◆ get_psi0()

const Scalar& Lorene::Star_bin_xcts::get_psi0 ( ) const
inline

Returns the non-translational part of the velocity potential.

Definition at line 1320 of file star.h.

References psi0.

◆ get_psi4()

const Scalar& Lorene::Star_bin_xcts::get_psi4 ( ) const
inline

Return the conformal factor $\Psi^4$.

Definition at line 1395 of file star.h.

References psi4.

◆ get_Psi_auto()

const Scalar& Lorene::Star_bin_xcts::get_Psi_auto ( ) const
inline

Returns the scalar field $\Psi_{auto}$ generated principally by the star.

Definition at line 1362 of file star.h.

References Psi_auto.

◆ get_Psi_comp()

const Scalar& Lorene::Star_bin_xcts::get_Psi_comp ( ) const
inline

Returns the scalar field $\Psi_{comp}$ generated principally by the companion star.

Definition at line 1367 of file star.h.

References Psi_comp.

◆ get_s_euler()

const Scalar& Lorene::Star::get_s_euler ( ) const
inlineinherited

Returns the trace of the stress tensor in the Eulerian frame.

Definition at line 379 of file star.h.

References Lorene::Star::s_euler.

◆ get_stress_euler()

const Tensor& Lorene::Star::get_stress_euler ( ) const
inlineinherited

Returns the spatial part of the stress-energy tensor with respect to the Eulerian observer.

Definition at line 390 of file star.h.

References Lorene::Star::stress_euler.

◆ get_u_euler()

const Vector& Lorene::Star::get_u_euler ( ) const
inlineinherited

Returns the fluid 3-velocity with respect to the Eulerian observer.

Definition at line 385 of file star.h.

References Lorene::Star::u_euler.

◆ get_wit_w()

const Vector& Lorene::Star_bin_xcts::get_wit_w ( ) const
inline

Returns the spatial projection of the fluid 3-velocity with respect to the co-orbiting observer.

(Spherical components with respect to the mapping of the star)

Definition at line 1331 of file star.h.

References wit_w.

◆ hydro_euler()

void Lorene::Star_bin_xcts::hydro_euler ( )
virtual

Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid frame, as well as wit_w and loggam.

The calculation is performed starting from the quantities ent, ener, press and bsn,
which are supposed to be up to date.
From these, the following fields are updated: gam_euler, u_euler, ener_euler, s_euler, stress_euler,
wit_w and loggam.

Reimplemented from Lorene::Star.

Definition at line 52 of file star_bin_hydro_xcts.C.

References Lorene::Tensor::annule(), Lorene::Tensor::annule_domain(), bsn, Lorene::Tensor::change_triad(), Lorene::Metric::con(), Lorene::contract(), Lorene::Metric::cov(), d_psi, del_deriv(), Lorene::Star::ener, Lorene::Star::ener_euler, Lorene::Star::ent, Lorene::exp(), Lorene::Star::gam_euler, Lorene::Star::gamma, Lorene::Map::get_bvect_cart(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nzone(), irrotational, Lorene::log(), loggam, Lorene::Star::mp, Lorene::Star::nzet, Lorene::Star::press, Lorene::Star::s_euler, Lorene::Tensor::set(), Lorene::Scalar::set_dzpuis(), Lorene::Tensor::set_etat_zero(), Lorene::sqrt(), Lorene::Vector::std_spectral_base(), Lorene::Scalar::std_spectral_base(), Lorene::Star::stress_euler, Lorene::Star::u_euler, and wit_w.

◆ is_irrotational()

bool Lorene::Star_bin_xcts::is_irrotational ( ) const
inline

Returns true for an irrotational motion, false for a corotating one.

Definition at line 1317 of file star.h.

References irrotational.

◆ kinematics()

void Lorene::Star_bin_xcts::kinematics ( double  omega,
double  x_axe 
)

Computes the quantities bsn and pot_centri.

The calculation is performed starting from the quantities nn, beta, Psi,
which are supposed to be up to date.

Parameters
omegaangular velocity with respect to an asymptotically inertial observer
x_axeabsolute X coordinate of the rotation axis

Definition at line 62 of file star_bin_kinema_xcts.C.

References Lorene::Tensor::annule_domain(), Lorene::Star::beta, bsn, Lorene::Vector::change_triad(), Lorene::Tensor::change_triad(), Lorene::contract(), Lorene::Metric::cov(), del_deriv(), Lorene::Star::gamma, Lorene::Map::get_bvect_cart(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nzone(), Lorene::Map::get_rot_phi(), Lorene::log(), Lorene::Star::mp, Lorene::Star::nn, pot_centri, Lorene::Vector::set(), Lorene::sqrt(), Lorene::Vector::std_spectral_base(), Lorene::Scalar::std_spectral_base(), Lorene::Map::xa, and Lorene::Map::ya.

◆ l_surf()

const Itbl & Lorene::Star::l_surf ( ) const
virtualinherited

Description of the stellar surface: returns a 2-D Itbl containing the values of the domain index l on the surface at the collocation points in $(\theta', \phi')$.

The stellar surface is defined as the location where the enthalpy (member ent) vanishes.

Reimplemented in Lorene::Star_rot.

Definition at line 66 of file star_global.C.

References Lorene::Star::ent, Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Scalar::get_spectral_va(), Lorene::Star::mp, Lorene::Star::nzet, Lorene::Star::p_l_surf, and Lorene::Star::p_xi_surf.

◆ mass_b()

◆ mass_g()

◆ operator=()

◆ operator>>()

◆ ray_eq()

double Lorene::Star::ray_eq ( ) const
inherited

◆ ray_eq_3pis2()

double Lorene::Star::ray_eq_3pis2 ( ) const
inherited

◆ ray_eq_pi()

double Lorene::Star::ray_eq_pi ( ) const
inherited

◆ ray_eq_pis2()

double Lorene::Star::ray_eq_pis2 ( ) const
inherited

◆ ray_pole()

double Lorene::Star::ray_pole ( ) const
inherited

Coordinate radius at $\theta=0$ [r_unit].

Definition at line 281 of file star_global.C.

References Lorene::Map::get_mg(), Lorene::Mg3d::get_type_t(), Lorene::Star::mp, and Lorene::Star::p_ray_pole.

◆ relaxation()

void Lorene::Star_bin_xcts::relaxation ( const Star_bin_xcts star_prev,
double  relax_ent,
double  relax_met,
int  mer,
int  fmer_met 
)

Performs a relaxation on ent, Psi_auto, chi_auto and beta_auto.

Parameters
star_prev[input] star at the previous step.
relax_ent[input] Relaxation factor for ent
relax_met[input] Relaxation factor for logn_auto, lnq_auto, beta_auto, only if (mer % fmer_met == 0).
mer[input] Step number
fmer_met[input] Step interval between metric updates

Definition at line 692 of file star_bin_xcts.C.

References beta_auto, chi_auto, del_deriv(), Lorene::Star::ent, Lorene::Star::equation_of_state(), and Psi_auto.

◆ sauve()

void Lorene::Star_bin_xcts::sauve ( FILE *  fich) const
virtual

◆ set_beta()

Vector & Lorene::Star_bin_xcts::set_beta ( )

Read/write of $\beta$.

Definition at line 421 of file star_bin_xcts.C.

References Lorene::Star::beta, and del_deriv().

◆ set_beta_auto()

Vector & Lorene::Star_bin_xcts::set_beta_auto ( )

Read/write of $\beta_{auto}$.

Definition at line 414 of file star_bin_xcts.C.

References beta_auto, and del_deriv().

◆ set_chi_auto()

Scalar & Lorene::Star_bin_xcts::set_chi_auto ( )

Read/write the conformal factor $\chi_{auto}$.

Definition at line 407 of file star_bin_xcts.C.

References chi_auto, and del_deriv().

◆ set_chi_comp()

Scalar & Lorene::Star_bin_xcts::set_chi_comp ( )

Read/write the conformal factor $\chi_{comp}$.

Definition at line 400 of file star_bin_xcts.C.

References chi_comp, and del_deriv().

◆ set_der_0x0()

void Lorene::Star_bin_xcts::set_der_0x0 ( ) const
protectedvirtual

Sets to 0x0 all the pointers on derived quantities.

Reimplemented from Lorene::Star.

Definition at line 316 of file star_bin_xcts.C.

References p_xa_barycenter, and Lorene::Star::set_der_0x0().

◆ set_enthalpy()

void Lorene::Star::set_enthalpy ( const Scalar ent_i)
inherited

Assignment of the enthalpy field.

Definition at line 382 of file star.C.

References Lorene::Star::del_deriv(), Lorene::Star::ent, and Lorene::Star::equation_of_state().

◆ set_mp()

Map& Lorene::Star::set_mp ( )
inlineinherited

Read/write of the mapping.

Definition at line 322 of file star.h.

References Lorene::Star::mp.

◆ set_pot_centri()

Scalar & Lorene::Star_bin_xcts::set_pot_centri ( )

Read/write the centrifugal potential.

Definition at line 379 of file star_bin_xcts.C.

References del_deriv(), and pot_centri.

◆ set_Psi_auto()

Scalar & Lorene::Star_bin_xcts::set_Psi_auto ( )

Read/write the conformal factor $\Psi_{auto}$.

Definition at line 393 of file star_bin_xcts.C.

References del_deriv(), and Psi_auto.

◆ set_Psi_comp()

Scalar & Lorene::Star_bin_xcts::set_Psi_comp ( )

Read/write the conformal factor $\Psi_{comp}$.

Definition at line 386 of file star_bin_xcts.C.

References del_deriv(), and Psi_comp.

◆ update_metric() [1/2]

void Lorene::Star_bin_xcts::update_metric ( const Star_bin_xcts comp)

Computes metric coefficients from known potentials, when the companion is another star.

The calculation is performed starting from the quantities Psi_auto, chi_auto, beta_auto, comp.Psi_auto, comp.chi_auto, comp.beta_auto which are supposed to be up to date. From these, the following fields are updated: Psi_comp, chi_comp, beta_comp, nn, psi4, beta.

Parameters
compcompanion star.
omegaangular velocity with respect to an asymptotically inertial observer

Definition at line 70 of file star_bin_upmetr_xcts.C.

References Psi_auto.

◆ update_metric() [2/2]

void Lorene::Star_bin_xcts::update_metric ( const Star_bin_xcts comp,
const Star_bin_xcts star_prev,
double  relax 
)

Same as update_metric(const Star_bin_xcts& ) but with relaxation.

Parameters
compcompanion star.
star_prevprevious value of the star.
relaxrelaxation parameter.
omegaangular velocity with respect to an asymptotically inertial observer

Definition at line 155 of file star_bin_upmetr_xcts.C.

References Psi_auto.

◆ update_metric_der_comp()

◆ velocity_potential()

double Lorene::Star_bin_xcts::velocity_potential ( int  mermax,
double  precis,
double  relax 
)

Computes the non-translational part of the velocity scalar potential $\psi0$ by solving the continuity equation.

Parameters
mermax[input] Maximum number of steps in the iteration
precis[input] Required precision: the iteration will be stopped when the relative difference on $\psi0$ between two successive steps is lower than precis.
relax[input] Relaxation factor.
Returns
Relative error of the resolution obtained by comparing the operator acting on the solution with the source.

Definition at line 73 of file star_bin_vel_pot_xcts.C.

References Lorene::Param::add_double(), Lorene::Param::add_int(), Lorene::Param::add_int_mod(), Lorene::Scalar::annule(), bsn, Lorene::Vector::change_triad(), chi, Lorene::contract(), Lorene::Eos::der_nbar_ent(), Lorene::Scalar::derive_con(), Lorene::Scalar::derive_cov(), Lorene::Star::ent, Lorene::Star::eos, Lorene::exp(), flat, Lorene::Map::flat_met_spher(), Lorene::Star::gam_euler, Lorene::Map::get_bvect_cart(), Lorene::Scalar::get_etat(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nzone(), Lorene::Tensor::get_triad(), Lorene::log(), Lorene::Star::mp, Lorene::Star::nzet, Psi, psi0, psi4, Lorene::Scalar::set_domain(), Lorene::Tensor::set_etat_qcq(), Lorene::Tensor::set_triad(), and Lorene::Scalar::std_spectral_base().

◆ xa_barycenter()

◆ xi_surf()

const Tbl & Lorene::Star::xi_surf ( ) const
inherited

Description of the stellar surface: returns a 2-D Tbl containing the values of the radial coordinate $\xi$ on the surface at the collocation points in $(\theta', \phi')$.

The stellar surface is defined as the location where the enthalpy (member ent) vanishes.

Definition at line 92 of file star_global.C.

References Lorene::Star::l_surf(), Lorene::Star::p_l_surf, and Lorene::Star::p_xi_surf.

Member Data Documentation

◆ beta

Vector Lorene::Star::beta
protectedinherited

Shift vector.

Definition at line 228 of file star.h.

◆ beta_auto

Vector Lorene::Star_bin_xcts::beta_auto
protected

Part of the shift vector generated principally by the star (Spherical components with respect to the mapping of the star)

Definition at line 1182 of file star.h.

◆ beta_comp

Vector Lorene::Star_bin_xcts::beta_comp
protected

Part of the shift vector generated principally by the star (Spherical components with respect to the mapping of the star)

Definition at line 1187 of file star.h.

◆ bsn

Vector Lorene::Star_bin_xcts::bsn
protected

3-vector shift, divided by N, of the rotating coordinates, $\beta^i/N$.

(Spherical components with respect to the mapping of the star)

Definition at line 1126 of file star.h.

◆ chi

Scalar Lorene::Star_bin_xcts::chi
protected

Total function $\chi$.

Definition at line 1155 of file star.h.

◆ chi_auto

Scalar Lorene::Star_bin_xcts::chi_auto
protected

Scalar field $ \chi_{auto} = (N\Psi)_{auto} $ generated principally by the star.

Definition at line 1134 of file star.h.

◆ chi_comp

Scalar Lorene::Star_bin_xcts::chi_comp
protected

Scalar field $ \chi_{comp} = (N\Psi)_{comp} $ generated principally by the companion star.

Definition at line 1139 of file star.h.

◆ d_psi

Vector Lorene::Star_bin_xcts::d_psi
protected

Gradient of $\Psi$ (in the irrotational case) (Spherical components with respect to the mapping of the star)

Definition at line 1109 of file star.h.

◆ dcov_chi

Vector Lorene::Star_bin_xcts::dcov_chi
protected

Covariant derivative of the function $\chi$.

Definition at line 1174 of file star.h.

◆ dcov_Psi

Vector Lorene::Star_bin_xcts::dcov_Psi
protected

Covariant derivative of the conformal factor $\Psi$.

Definition at line 1171 of file star.h.

◆ ener

Scalar Lorene::Star::ener
protectedinherited

Total energy density in the fluid frame.

Definition at line 193 of file star.h.

◆ ener_euler

Scalar Lorene::Star::ener_euler
protectedinherited

Total energy density in the Eulerian frame.

Definition at line 198 of file star.h.

◆ ent

Scalar Lorene::Star::ent
protectedinherited

Log-enthalpy.

Definition at line 190 of file star.h.

◆ eos

const Eos& Lorene::Star::eos
protectedinherited

Equation of state of the stellar matter.

Definition at line 185 of file star.h.

◆ flat

Metric_flat Lorene::Star_bin_xcts::flat
protected

Flat metric defined on the mapping (Spherical components with respect to the mapping of the star) .

Definition at line 1177 of file star.h.

◆ gam_euler

Scalar Lorene::Star::gam_euler
protectedinherited

Lorentz factor between the fluid and Eulerian observers.

Definition at line 204 of file star.h.

◆ gamma

Metric Lorene::Star::gamma
protectedinherited

3-metric

Definition at line 235 of file star.h.

◆ hacar_auto

Scalar Lorene::Star_bin_xcts::hacar_auto
protected

Part of the scalar $\hat{A}_{ij}\hat{A}^{ij}$ generated by beta_auto, i.e.

$\hat{A}_{ij}^{\rm auto}\hat{A}^{ij}_{\rm auto}$

Definition at line 1205 of file star.h.

◆ hacar_comp

Scalar Lorene::Star_bin_xcts::hacar_comp
protected

Part of the scalar $\hat{A}_{ij}\hat{A}^{ij}$ generated by beta_auto and beta_comp, i.e.

$\hat{A}_{ij}^{\rm auto}\hat{A}^{ij}_{\rm comp}$

Definition at line 1211 of file star.h.

◆ haij_auto

Sym_tensor Lorene::Star_bin_xcts::haij_auto
protected

Part of the extrinsic curvature tensor $\hat{A}^{ij}$ generated by beta_auto.

(Spherical components with respect to the mapping of the star)

Definition at line 1193 of file star.h.

◆ haij_comp

Sym_tensor Lorene::Star_bin_xcts::haij_comp
protected

Part of the extrinsic curvature tensor $\hat{A}^{ij}$ generated by beta_comp.

(Spherical components with respect to the mapping of the star)

Definition at line 1199 of file star.h.

◆ irrotational

bool Lorene::Star_bin_xcts::irrotational
protected

true for an irrotational star, false for a corotating one

Definition at line 1099 of file star.h.

◆ khi

Scalar Lorene::Star_bin_xcts::khi
protected

Solution for the scalar part of the vector Poisson equation for $\beta^i$.

Definition at line 1168 of file star.h.

◆ loggam

Scalar Lorene::Star_bin_xcts::loggam
protected

Logarithm of the Lorentz factor between the fluid and the co-orbiting observer.

Definition at line 1120 of file star.h.

◆ logn

Scalar Lorene::Star::logn
protectedinherited

Logarithm of the lapse N .

In the Newtonian case, this is the Newtonian gravitational potential (in units of $c^2$).

Definition at line 222 of file star.h.

◆ mp

Map& Lorene::Star::mp
protectedinherited

Mapping associated with the star.

Definition at line 180 of file star.h.

◆ nbar

Scalar Lorene::Star::nbar
protectedinherited

Baryon density in the fluid frame.

Definition at line 192 of file star.h.

◆ nn

Scalar Lorene::Star::nn
protectedinherited

Lapse function N .

Definition at line 225 of file star.h.

◆ nzet

int Lorene::Star::nzet
protectedinherited

Number of domains of *mp occupied by the star.

Definition at line 183 of file star.h.

◆ p_l_surf

Itbl* Lorene::Star::p_l_surf
mutableprotectedinherited

Description of the stellar surface: 2-D Itbl containing the values of the domain index l on the surface at the collocation points in $(\theta', \phi')$.

Definition at line 260 of file star.h.

◆ p_mass_b

double* Lorene::Star::p_mass_b
mutableprotectedinherited

Baryon mass.

Definition at line 268 of file star.h.

◆ p_mass_g

double* Lorene::Star::p_mass_g
mutableprotectedinherited

Gravitational mass.

Definition at line 269 of file star.h.

◆ p_ray_eq

double* Lorene::Star::p_ray_eq
mutableprotectedinherited

Coordinate radius at $\phi=0$, $\theta=\pi/2$.

Definition at line 242 of file star.h.

◆ p_ray_eq_3pis2

double* Lorene::Star::p_ray_eq_3pis2
mutableprotectedinherited

Coordinate radius at $\phi=3\pi/2$, $\theta=\pi/2$.

Definition at line 251 of file star.h.

◆ p_ray_eq_pi

double* Lorene::Star::p_ray_eq_pi
mutableprotectedinherited

Coordinate radius at $\phi=\pi$, $\theta=\pi/2$.

Definition at line 248 of file star.h.

◆ p_ray_eq_pis2

double* Lorene::Star::p_ray_eq_pis2
mutableprotectedinherited

Coordinate radius at $\phi=\pi/2$, $\theta=\pi/2$.

Definition at line 245 of file star.h.

◆ p_ray_pole

double* Lorene::Star::p_ray_pole
mutableprotectedinherited

Coordinate radius at $\theta=0$.

Definition at line 254 of file star.h.

◆ p_xa_barycenter

double* Lorene::Star_bin_xcts::p_xa_barycenter
mutableprotected

Absolute coordinate X of the barycenter of the baryon density.

Definition at line 1240 of file star.h.

◆ p_xi_surf

Tbl* Lorene::Star::p_xi_surf
mutableprotectedinherited

Description of the stellar surface: 2-D Tbl containing the values of the radial coordinate $\xi$ on the surface at the collocation points in $(\theta', \phi')$.

Definition at line 266 of file star.h.

◆ pot_centri

Scalar Lorene::Star_bin_xcts::pot_centri
protected

Centrifugal potential.

Definition at line 1129 of file star.h.

◆ press

Scalar Lorene::Star::press
protectedinherited

Fluid pressure.

Definition at line 194 of file star.h.

◆ Psi

Scalar Lorene::Star_bin_xcts::Psi
protected

Total conformal factor $\Psi$.

Definition at line 1152 of file star.h.

◆ psi0

Scalar Lorene::Star_bin_xcts::psi0
protected

Scalar potential $\Psi_0$ of the non-translational part of fluid 4-velocity (in the irrotational case)

Definition at line 1104 of file star.h.

◆ psi4

Scalar Lorene::Star_bin_xcts::psi4
protected

Conformal factor $\psi^4$.

Definition at line 1158 of file star.h.

◆ Psi_auto

Scalar Lorene::Star_bin_xcts::Psi_auto
protected

Scalar field $\Psi_{auto}$ generated principally by the star.

Definition at line 1144 of file star.h.

◆ Psi_comp

Scalar Lorene::Star_bin_xcts::Psi_comp
protected

Scalar field $\Psi_{comp}$ generated principally by the companion star.

Definition at line 1149 of file star.h.

◆ s_euler

Scalar Lorene::Star::s_euler
protectedinherited

Trace of the stress scalar in the Eulerian frame.

Definition at line 201 of file star.h.

◆ ssjm1_chi

Scalar Lorene::Star_bin_xcts::ssjm1_chi
protected

Effective source at the previous step for the resolution of the Poisson equation for .

Definition at line 1216 of file star.h.

◆ ssjm1_khi

Scalar Lorene::Star_bin_xcts::ssjm1_khi
protected

Effective source at the previous step for the resolution of the Poisson equation for khi.

(second scalar equation for the resolution of the vectorial poisson equation for the shift)

Definition at line 1227 of file star.h.

◆ ssjm1_psi

Scalar Lorene::Star_bin_xcts::ssjm1_psi
protected

Effective source at the previous step for the resolution of the Poisson equation for .

Definition at line 1221 of file star.h.

◆ ssjm1_wbeta

Vector Lorene::Star_bin_xcts::ssjm1_wbeta
protected

Effective source at the previous step for wbeta of the vector Poisson equation for wbeta (needed for the solution of the vector Poisson equation for the shift $\beta^i$)

Definition at line 1234 of file star.h.

◆ stress_euler

Sym_tensor Lorene::Star::stress_euler
protectedinherited

Spatial part of the stress-energy tensor with respect to the Eulerian observer.

Definition at line 212 of file star.h.

◆ u_euler

Vector Lorene::Star::u_euler
protectedinherited

Fluid 3-velocity with respect to the Eulerian observer.

Definition at line 207 of file star.h.

◆ w_beta

Vector Lorene::Star_bin_xcts::w_beta
protected

Solution for the vector part of the vector Poisson equation for $\beta^i$.

Definition at line 1163 of file star.h.

◆ wit_w

Vector Lorene::Star_bin_xcts::wit_w
protected

Spatial projection of the fluid 3-velocity with respect to
the co-orbiting observer.

(Spherical components with respect to the mapping of the star)

Definition at line 1115 of file star.h.


The documentation for this class was generated from the following files: