star.h
/*
* Definition of Lorene classes Star, Star_bin and Star_bin_xcts
*
*/
/*
* Copyright (c) 2010 Michal Bejger
* Copyright (c) 2004 Francois Limousin
*
* Copyright (c) 2000-2001 Eric Gourgoulhon (for preceding class Etoile)
* Copyright (c) 2000-2001 Keisuke Taniguchi (for preceding class Etoile)
*
* This file is part of LORENE.
*
* LORENE is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* LORENE is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with LORENE; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#ifndef __STAR_H_
#define __STAR_H_
/*
* $Id: star.h,v 1.32 2014/10/13 08:52:36 j_novak Exp $
* $Log: star.h,v $
* Revision 1.32 2014/10/13 08:52:36 j_novak
* Lorene classes and functions now belong to the namespace Lorene.
*
* Revision 1.31 2010/12/09 10:36:42 m_bejger
* Decouple method removed from declaration in Star_bin_xcts
*
* Revision 1.30 2010/10/26 18:47:36 m_bejger
* Modification of Star_bin_xcts::equilibrium, added table fact_resize
*
* Revision 1.29 2010/10/18 19:11:53 m_bejger
* Changes to Star::equilibrium_spher and Star_bin_xcts::equilibrium to allow for calculations with more than one domain in the star
*
* Revision 1.28 2010/06/15 08:17:43 m_bejger
* Method Star_bin_xcts::set_chi_comp() declared
*
* Revision 1.27 2010/05/04 07:53:32 m_bejger
* Class Star_bin_xcts added (initial version)
*
* Revision 1.26 2010/03/29 12:00:25 e_gourgoulhon
* Removed lnq from documentation
* (lnq has to be removed from base class Star; it is meaningfull only
* for Star_bin).
*
* Revision 1.25 2010/01/24 16:07:45 e_gourgoulhon
* New class Star_rot.
*
* Revision 1.24 2007/11/06 16:22:03 j_novak
* The data member stress_euler is now a Sym_tensor instead of a Tensor.
*
* Revision 1.23 2007/06/21 19:48:25 k_taniguchi
* Introduction of a method to compute ray_eq_3pis2.
*
* Revision 1.22 2006/05/31 09:25:47 f_limousin
* Modif. of the size of the different domains
*
* Revision 1.21 2006/04/11 14:26:12 f_limousin
* New version of the code : improvement of the computation of some
* critical sources, estimation of the dirac gauge, helical symmetry...
*
* Revision 1.20 2005/09/15 15:56:28 e_gourgoulhon
* Made the documentation compliant with Doxygen.
*
* Revision 1.19 2005/09/13 19:38:32 f_limousin
* Reintroduction of the resolution of the equations in cartesian coordinates.
*
* Revision 1.18 2005/08/13 16:14:11 m_saijo
* Corrected the document of the total shift vector
*
* Revision 1.17 2005/04/08 12:36:45 f_limousin
* Just to avoid warnings...
*
* Revision 1.16 2005/02/24 16:09:29 f_limousin
* Change the name of some variables (for instance dcov_logn --> dlogn).
* Add also member dlnq but delete dlnpsi_auto and dlogn_auto.
*
* Revision 1.15 2005/02/17 17:28:18 f_limousin
* Change the name of some quantities to be consistent with other classes
* (for instance nnn is changed to nn, shift to beta, beta to lnq...)
*
* Revision 1.14 2005/02/11 18:11:16 f_limousin
* Introduction of a member Map_af in derived class Star_bin.
*
* Revision 1.13 2004/11/11 16:29:48 j_novak
* set_der_0x0 is no longer virtual (to be coherent with Tensor/Scalar classes).
*
* Revision 1.12 2004/11/10 16:31:53 j_novak
* Star is no longer an abstract class (mass_b and mass_g are no longer
* pure virtual). Modified comments to be readable by doxygen.
*
* Revision 1.11 2004/07/21 11:48:30 f_limousin
* Remove function sprod.
*
* Revision 1.10 2004/06/22 12:47:01 f_limousin
* Change qq, qq_auto and qq_comp to beta, beta_auto and beta_comp.
*
* Revision 1.9 2004/05/25 14:48:57 f_limousin
* Add a parameter for the function equilibrium.
*
* Revision 1.8 2004/03/23 09:53:50 f_limousin
* Minor changes
*
* Revision 1.7 2004/02/27 09:41:52 f_limousin
* Scalars ssjm1_logn, ssjm1_qq ... for all metric coefficients have been
* in class Star_bin for the resolution of Poisson equations.
* The class Star is now abstract : the computational routines mass_b()
* and mass_g() = 0.
*
* Revision 1.6 2004/01/22 10:06:33 f_limousin
* Add methods set_logn_comp() and set_shift_auto().
*
* Revision 1.5 2004/01/20 15:26:00 f_limousin
* New class star and star_bin.
*
*
* $Header: /cvsroot/Lorene/C++/Include/star.h,v 1.32 2014/10/13 08:52:36 j_novak Exp $
*
*/
// Headers Lorene
#include "tensor.h"
#include "metric.h"
namespace Lorene {
class Eos ;
//---------------------------//
// base class Star //
//---------------------------//
class Star {
// Data :
// -----
protected:
Map& mp ;
int nzet ;
const Eos& eos ;
// Fluid quantities with respect to the fluid frame
// ------------------------------------------------
Scalar ent ;
Scalar nbar ;
Scalar ener ;
Scalar press ;
// Fluid quantities with respect to the Eulerian frame
// ---------------------------------------------------
Scalar ener_euler ;
Scalar s_euler ;
Scalar gam_euler ;
Vector u_euler ;
Sym_tensor stress_euler ;
// Metric potentials
// -----------------
Scalar logn ;
Scalar nn ;
Vector beta ;
// Scalar field \f$\ln Q = \ln(\psi^2 N)\f$
//## to be removed from base class Star
Scalar lnq ;
Metric gamma ;
// Derived data :
// ------------
protected:
mutable double* p_ray_eq ;
mutable double* p_ray_eq_pis2 ;
mutable double* p_ray_eq_pi ;
mutable double* p_ray_eq_3pis2 ;
mutable double* p_ray_pole ;
mutable Itbl* p_l_surf ;
mutable Tbl* p_xi_surf ;
mutable double* p_mass_b ;
mutable double* p_mass_g ;
// Constructors - Destructor
// -------------------------
public:
Star(Map& mp_i, int nzet_i, const Eos& eos_i) ;
Star(const Star& ) ;
Star(Map& mp_i, const Eos& eos_i, FILE* fich) ;
virtual ~Star() ;
// Memory management
// -----------------
protected:
virtual void del_deriv() const ;
virtual void set_der_0x0() const ;
virtual void del_hydro_euler() ;
// Mutators / assignment
// ---------------------
public:
void operator=(const Star&) ;
Map& set_mp() {return mp; } ;
void set_enthalpy(const Scalar& ) ;
void equation_of_state() ;
virtual void hydro_euler() ;
virtual void equilibrium_spher(double ent_c, double precis = 1.e-14,
const Tbl* pent_limit = 0x0 ) ;
// Accessors
// ---------
public:
const Map& get_mp() const {return mp; } ;
int get_nzet() const {return nzet; } ;
const Eos& get_eos() const {return eos; } ;
const Scalar& get_ent() const {return ent;} ;
const Scalar& get_nbar() const {return nbar;} ;
const Scalar& get_ener() const {return ener;} ;
const Scalar& get_press() const {return press;} ;
const Scalar& get_ener_euler() const {return ener_euler;} ;
const Scalar& get_s_euler() const {return s_euler;} ;
const Scalar& get_gam_euler() const {return gam_euler;} ;
const Vector& get_u_euler() const {return u_euler;} ;
const Tensor& get_stress_euler() const {return stress_euler;} ;
const Scalar& get_logn() const {return logn;} ;
const Scalar& get_nn() const {return nn;} ;
const Vector& get_beta() const {return beta;} ;
// Returns the scalar field \f$\ln Q\f$.
//## to be removed from base class Star
const Scalar& get_lnq() const {return lnq;} ;
const Metric& get_gamma() const {return gamma;} ;
// Outputs
// -------
public:
virtual void sauve(FILE* ) const ;
friend ostream& operator<<(ostream& , const Star& ) ;
protected:
virtual ostream& operator>>(ostream& ) const ;
// Global quantities
// -----------------
public:
double ray_eq() const ;
double ray_eq_pis2() const ;
double ray_eq_pi() const ;
double ray_eq_3pis2() const ;
double ray_pole() const ;
virtual const Itbl& l_surf() const ;
const Tbl& xi_surf() const ;
virtual double mass_b() const = 0 ;
virtual double mass_g() const = 0 ;
};
ostream& operator<<(ostream& , const Star& ) ;
//---------------------------//
// class Star_bin //
//---------------------------//
class Star_bin : public Star {
// Data :
// -----
protected:
bool irrotational ;
Scalar psi0 ;
Vector d_psi ;
Vector wit_w ;
Scalar loggam ;
Vector bsn ;
Scalar pot_centri ;
Scalar logn_auto ;
Scalar logn_comp ;
Vector dcov_logn ;
Vector dcon_logn ;
Scalar lnq_auto ;
Scalar lnq_comp ;
Scalar psi4 ;
Vector dcov_phi ;
Vector dcon_phi ;
Metric_flat flat ;
Metric gtilde ;
Vector beta_auto ;
Vector beta_comp ;
Sym_tensor hij ;
Sym_tensor hij_auto ;
Sym_tensor hij_comp ;
Sym_tensor tkij_auto ;
Sym_tensor tkij_comp ;
Scalar kcar_auto ;
Scalar kcar_comp ;
Scalar ssjm1_logn ;
Scalar ssjm1_lnq ;
Scalar ssjm1_khi ;
Vector ssjm1_wbeta ;
Scalar ssjm1_h11 ;
Scalar ssjm1_h21 ;
Scalar ssjm1_h31 ;
Scalar ssjm1_h22 ;
Scalar ssjm1_h32 ;
Scalar ssjm1_h33 ;
Scalar decouple ;
bool conf_flat ;
// Derived data :
// ------------
protected:
mutable double* p_xa_barycenter ;
// Constructors - Destructor
// -------------------------
public:
Star_bin(Map& mp_i, int nzet_i, const Eos& eos_i,
bool irrot, bool conf_flat) ;
Star_bin(const Star_bin& ) ;
Star_bin(Map& mp_i, const Eos& eos_i, FILE* fich) ;
virtual ~Star_bin() ;
// Memory management
// -----------------
protected:
virtual void del_deriv() const ;
virtual void set_der_0x0() const ;
virtual void del_hydro_euler() ;
// Mutators / assignment
// ---------------------
public:
void operator=(const Star_bin& ) ;
Scalar& set_pot_centri() ;
Scalar& set_logn_comp() ;
void set_logn_auto(const Scalar& logn_auto_new) {logn_auto = logn_auto_new ;
return ;}
void set_lnq_auto(const Scalar& lnq_auto_new) {lnq_auto = lnq_auto_new ;
return ;}
Vector& set_beta_auto() ;
Vector& set_beta() ;
void set_conf_flat(bool confflat) {conf_flat = confflat ; return ;}
// Accessors
// ---------
public:
bool is_irrotational() const {return irrotational; } ;
const Scalar& get_psi0() const {return psi0;} ;
const Vector& get_d_psi() const {return d_psi;} ;
const Vector& get_wit_w() const {return wit_w;} ;
const Scalar& get_loggam() const {return loggam;} ;
const Vector& get_bsn() const {return bsn;} ;
const Scalar& get_pot_centri() const {return pot_centri;} ;
const Scalar& get_logn_auto() const {return logn_auto;} ;
const Scalar& get_logn_comp() const {return logn_comp;} ;
const Vector& get_beta_auto() const {return beta_auto;} ;
const Vector& get_beta_comp() const {return beta_comp;} ;
const Scalar& get_lnq_auto() const {return lnq_auto;} ;
const Scalar& get_lnq_comp() const {return lnq_comp;} ;
const Vector& get_dcov_logn() const {return dcov_logn;} ;
const Vector& get_dcon_logn() const {return dcon_logn;} ;
const Vector& get_dcov_phi() const {return dcov_phi;} ;
const Vector& get_dcon_phi() const {return dcon_phi;} ;
const Scalar& get_psi4() const {return psi4;} ;
const Metric& get_flat() const {return flat;} ;
const Metric& get_gtilde() const {return gtilde;} ;
const Sym_tensor& get_hij() const {return hij;} ;
const Sym_tensor& get_hij_auto() const {return hij_auto;} ;
const Sym_tensor& get_hij_comp() const {return hij_comp;} ;
const Sym_tensor& get_tkij_auto() const {return tkij_auto;} ;
const Sym_tensor& get_tkij_comp() const {return tkij_comp;} ;
const Scalar& get_kcar_auto() const {return kcar_auto;} ;
const Scalar& get_kcar_comp() const {return kcar_comp;} ;
const Scalar get_decouple() const {return decouple ;}
bool is_conf_flat() const {return conf_flat; } ;
// Outputs
// -------
public:
virtual void sauve(FILE* ) const ;
protected:
virtual ostream& operator>>(ostream& ) const ;
// Global quantities
// -----------------
public:
virtual double mass_b() const ;
virtual double mass_g() const ;
virtual double xa_barycenter() const ;
// Computational routines
// ----------------------
public:
virtual void hydro_euler() ;
void update_metric(const Star_bin& comp, double omega) ;
void update_metric(const Star_bin& comp, const Star_bin& star_prev,
double relax, double omega) ;
void update_metric_der_comp(const Star_bin& comp, double omega) ;
void kinematics(double omega, double x_axe) ;
void fait_d_psi() ;
void extrinsic_curvature(double omega) ;
void equilibrium(double ent_c, int mermax, int mermax_potvit,
int mermax_poisson, double relax_poisson,
double relax_potvit, double thres_adapt, Tbl& diff,
double om) ;
double velocity_potential(int mermax, double precis, double relax) ;
void relaxation(const Star_bin& star_prev, double relax_ent,
double relax_met, int mer, int fmer_met) ;
void test_K_Hi() const ;
void helical(double omega) const ;
friend class Binary ;
};
//---------------------------//
// class Star_bin_xcts //
//---------------------------//
class Star_bin_xcts : public Star {
// Data :
// -----
protected:
bool irrotational ;
Scalar psi0 ;
Vector d_psi ;
Vector wit_w ;
Scalar loggam ;
Vector bsn ;
Scalar pot_centri ;
Scalar chi_auto ;
Scalar chi_comp ;
Scalar Psi_auto ;
Scalar Psi_comp ;
Scalar Psi ;
Scalar chi ;
Scalar psi4 ;
Vector w_beta ;
Scalar khi ;
Vector dcov_Psi ;
Vector dcov_chi ;
Metric_flat flat ;
Vector beta_auto ;
Vector beta_comp ;
Sym_tensor haij_auto ;
Sym_tensor haij_comp ;
Scalar hacar_auto ;
Scalar hacar_comp ;
Scalar ssjm1_chi ;
Scalar ssjm1_psi ;
Scalar ssjm1_khi ;
Vector ssjm1_wbeta ;
// Derived data :
// ------------
protected:
mutable double* p_xa_barycenter ;
// Constructors - Destructor
// -------------------------
public:
Star_bin_xcts(Map& mp_i, int nzet_i, const Eos& eos_i, bool irrot) ;
Star_bin_xcts(const Star_bin_xcts& ) ;
Star_bin_xcts(Map& mp_i, const Eos& eos_i, FILE* fich) ;
virtual ~Star_bin_xcts() ;
// Memory management
// -----------------
protected:
virtual void del_deriv() const ;
virtual void set_der_0x0() const ;
virtual void del_hydro_euler() ;
// Mutators / assignment
// ---------------------
public:
void operator=(const Star_bin_xcts& ) ;
Scalar& set_pot_centri() ;
Scalar& set_Psi_auto() ;
Scalar& set_Psi_comp() ;
Scalar& set_chi_auto() ;
Scalar& set_chi_comp() ;
Vector& set_beta_auto() ;
Vector& set_beta() ;
// Accessors
// ---------
public:
bool is_irrotational() const { return irrotational; } ;
const Scalar& get_psi0() const {return psi0 ; } ;
const Vector& get_d_psi() const {return d_psi ; } ;
const Vector& get_wit_w() const {return wit_w ; } ;
const Scalar& get_loggam() const {return loggam ; } ;
const Vector& get_bsn() const {return bsn ; } ;
const Scalar& get_pot_centri() const {return pot_centri ; } ;
const Vector& get_beta_auto() const {return beta_auto ; } ;
const Vector& get_beta_comp() const {return beta_comp ; } ;
const Scalar& get_Psi_auto() const {return Psi_auto ; } ;
const Scalar& get_Psi_comp() const {return Psi_comp ; } ;
const Scalar& get_chi_auto() const {return chi_auto ; } ;
const Scalar& get_chi_comp() const {return chi_comp ; } ;
const Vector& get_dcov_chi() const {return dcov_chi ; } ;
const Vector& get_dcov_Psi() const {return dcov_Psi ; } ;
const Scalar& get_Psi() const {return Psi ; } ;
const Scalar& get_chi() const {return chi ; } ;
const Scalar& get_psi4() const {return psi4 ; } ;
const Metric& get_flat() const {return flat ; } ;
const Sym_tensor& get_haij_auto() const {return haij_auto ; } ;
const Sym_tensor& get_haij_comp() const {return haij_comp ; } ;
const Scalar& get_hacar_auto() const {return hacar_auto ; } ;
const Scalar& get_hacar_comp() const {return hacar_comp ; } ;
// Outputs
// -------
public:
virtual void sauve(FILE* ) const ;
protected:
virtual ostream& operator>>(ostream& ) const ;
// Global quantities
// -----------------
public:
virtual double mass_b() const ;
virtual double mass_g() const ;
virtual double xa_barycenter() const ;
// Computational routines
// ----------------------
public:
virtual void hydro_euler() ;
void update_metric(const Star_bin_xcts& comp) ;
void update_metric(const Star_bin_xcts& comp,
const Star_bin_xcts& star_prev,
double relax) ;
void update_metric_der_comp(const Star_bin_xcts& comp) ;
void kinematics(double omega, double x_axe) ;
void fait_d_psi() ;
void extrinsic_curvature() ;
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) ;
double velocity_potential(int mermax, double precis, double relax) ;
void relaxation(const Star_bin_xcts& star_prev, double relax_ent,
double relax_met, int mer, int fmer_met) ;
friend class Binary_xcts ;
};
}
#endif
Lorene::Binary_xcts
Binary systems in eXtended Conformal Thin Sandwich formulation.
Definition binary_xcts.h:59
Lorene::Eos
Equation of state base class.
Definition eos.h:190
Lorene::Itbl
Basic integer array class.
Definition itbl.h:122
Lorene::Metric_flat
Flat metric for tensor calculation.
Definition metric.h:261
Lorene::Metric
Metric for tensor calculation.
Definition metric.h:90
Lorene::Scalar
Tensor field of valence 0 (or component of a tensorial field).
Definition scalar.h:387
Lorene::Star_bin_xcts
Class for stars in binary system in eXtended Conformal Thin Sandwich formulation.
Definition star.h:1091
Lorene::Star_bin_xcts::Psi
Scalar Psi
Total conformal factor .
Definition star.h:1152
Lorene::Star_bin_xcts::get_beta_comp
const Vector & get_beta_comp() const
Returns the part of the shift vector generated principally by the companion ( ).
Definition star.h:1357
Lorene::Star_bin_xcts::psi0
Scalar psi0
Scalar potential of the non-translational part of fluid 4-velocity (in the irrotational case).
Definition star.h:1104
Lorene::Star_bin_xcts::set_pot_centri
Scalar & set_pot_centri()
Read/write the centrifugal potential.
Definition star_bin_xcts.C:376
Lorene::Star_bin_xcts::get_chi
const Scalar & get_chi() const
Return the function .
Definition star.h:1392
Lorene::Star_bin_xcts::get_dcov_chi
const Vector & get_dcov_chi() const
Returns the covariant derivative of .
Definition star.h:1381
Lorene::Star_bin_xcts::operator=
void operator=(const Star_bin_xcts &)
Assignment to another Star_bin_xcts.
Definition star_bin_xcts.C:336
Lorene::Star_bin_xcts::get_haij_auto
const Sym_tensor & get_haij_auto() const
Returns the part of the extrinsic curvature tensor generated by beta_auto.
Definition star.h:1406
Lorene::Star_bin_xcts::pot_centri
Scalar pot_centri
Centrifugal potential.
Definition star.h:1129
Lorene::Star_bin_xcts::haij_auto
Sym_tensor haij_auto
Part of the extrinsic curvature tensor generated by beta_auto.
Definition star.h:1193
Lorene::Star_bin_xcts::set_beta_auto
Vector & set_beta_auto()
Read/write of .
Definition star_bin_xcts.C:411
Lorene::Star_bin_xcts::fait_d_psi
void fait_d_psi()
Computes the gradient of the total velocity potential .
Definition star_bin_xcts.C:631
Lorene::Star_bin_xcts::get_hacar_comp
const Scalar & get_hacar_comp() const
Returns the part of generated by beta_comp.
Definition star.h:1422
Lorene::Star_bin_xcts::extrinsic_curvature
void extrinsic_curvature()
Computes haij_auto and hacar_auto from beta_auto, nn and Psi .
Definition star_bin_extr_curv_xcts.C:55
Lorene::Star_bin_xcts::get_wit_w
const Vector & get_wit_w() const
Returns the spatial projection of the fluid 3-velocity with respect to the co-orbiting observer.
Definition star.h:1331
Lorene::Star_bin_xcts::psi4
Scalar psi4
Conformal factor .
Definition star.h:1158
Lorene::Star_bin_xcts::wit_w
Vector wit_w
Spatial projection of the fluid 3-velocity with respect to the co-orbiting observer.
Definition star.h:1115
Lorene::Star_bin_xcts::xa_barycenter
virtual double xa_barycenter() const
Absolute coordinate X of the barycenter of the baryon density,.
Definition star_bin_global_xcts.C:99
Lorene::Star_bin_xcts::set_der_0x0
virtual void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
Definition star_bin_xcts.C:313
Lorene::Star_bin_xcts::flat
Metric_flat flat
Flat metric defined on the mapping (Spherical components with respect to the mapping of the star) .
Definition star.h:1177
Lorene::Star_bin_xcts::set_beta
Vector & set_beta()
Read/write of .
Definition star_bin_xcts.C:418
Lorene::Star_bin_xcts::equilibrium
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.
Definition star_bin_equilibrium_xcts.C:91
Lorene::Star_bin_xcts::ssjm1_khi
Scalar ssjm1_khi
Effective source at the previous step for the resolution of the Poisson equation for khi.
Definition star.h:1227
Lorene::Star_bin_xcts::khi
Scalar khi
Solution for the scalar part of the vector Poisson equation for .
Definition star.h:1168
Lorene::Star_bin_xcts::Star_bin_xcts
Star_bin_xcts(Map &mp_i, int nzet_i, const Eos &eos_i, bool irrot)
Standard constructor.
Definition star_bin_xcts.C:81
Lorene::Star_bin_xcts::ssjm1_wbeta
Vector ssjm1_wbeta
Effective source at the previous step for wbeta of the vector Poisson equation for wbeta (needed for ...
Definition star.h:1234
Lorene::Star_bin_xcts::Psi_comp
Scalar Psi_comp
Scalar field generated principally by the companion star.
Definition star.h:1149
Lorene::Star_bin_xcts::ssjm1_chi
Scalar ssjm1_chi
Effective source at the previous step for the resolution of the Poisson equation for \chi_auto .
Definition star.h:1216
Lorene::Star_bin_xcts::get_Psi
const Scalar & get_Psi() const
Return the conformal factor .
Definition star.h:1389
Lorene::Star_bin_xcts::dcov_Psi
Vector dcov_Psi
Covariant derivative of the conformal factor .
Definition star.h:1171
Lorene::Star_bin_xcts::beta_comp
Vector beta_comp
Part of the shift vector generated principally by the star (Spherical components with respect to the ...
Definition star.h:1187
Lorene::Star_bin_xcts::get_hacar_auto
const Scalar & get_hacar_auto() const
Returns the part of generated by beta_auto.
Definition star.h:1417
Lorene::Star_bin_xcts::get_chi_auto
const Scalar & get_chi_auto() const
Returns the scalar field generated principally by the star.
Definition star.h:1372
Lorene::Star_bin_xcts::get_dcov_Psi
const Vector & get_dcov_Psi() const
Returns the covariant derivative of the conformal factor .
Definition star.h:1386
Lorene::Star_bin_xcts::beta_auto
Vector beta_auto
Part of the shift vector generated principally by the star (Spherical components with respect to the ...
Definition star.h:1182
Lorene::Star_bin_xcts::Psi_auto
Scalar Psi_auto
Scalar field generated principally by the star.
Definition star.h:1144
Lorene::Star_bin_xcts::hacar_comp
Scalar hacar_comp
Part of the scalar generated by beta_auto and beta_comp, i.e.
Definition star.h:1211
Lorene::Star_bin_xcts::get_chi_comp
const Scalar & get_chi_comp() const
Returns the scalar field generated principally by the companion star.
Definition star.h:1377
Lorene::Star_bin_xcts::chi
Scalar chi
Total function .
Definition star.h:1155
Lorene::Star_bin_xcts::update_metric_der_comp
void update_metric_der_comp(const Star_bin_xcts &comp)
Computes the derivative of metric functions related to the companion star.
Definition star_bin_upmetr_der_xcts.C:62
Lorene::Star_bin_xcts::set_chi_comp
Scalar & set_chi_comp()
Read/write the conformal factor .
Definition star_bin_xcts.C:397
Lorene::Star_bin_xcts::get_Psi_comp
const Scalar & get_Psi_comp() const
Returns the scalar field generated principally by the companion star.
Definition star.h:1367
Lorene::Star_bin_xcts::kinematics
void kinematics(double omega, double x_axe)
Computes the quantities bsn and pot_centri.
Definition star_bin_kinema_xcts.C:59
Lorene::Star_bin_xcts::get_psi0
const Scalar & get_psi0() const
Returns the non-translational part of the velocity potential.
Definition star.h:1320
Lorene::Star_bin_xcts::get_beta_auto
const Vector & get_beta_auto() const
Returns the part of the shift vector generated principally by the star ( ).
Definition star.h:1351
Lorene::Star_bin_xcts::get_psi4
const Scalar & get_psi4() const
Return the conformal factor .
Definition star.h:1395
Lorene::Star_bin_xcts::bsn
Vector bsn
3-vector shift, divided by N, of the rotating coordinates, .
Definition star.h:1126
Lorene::Star_bin_xcts::del_hydro_euler
virtual void del_hydro_euler()
Sets to ETATNONDEF (undefined state) the hydrodynamical quantities relative to the Eulerian observer.
Definition star_bin_xcts.C:321
Lorene::Star_bin_xcts::loggam
Scalar loggam
Logarithm of the Lorentz factor between the fluid and the co-orbiting observer.
Definition star.h:1120
Lorene::Star_bin_xcts::set_chi_auto
Scalar & set_chi_auto()
Read/write the conformal factor .
Definition star_bin_xcts.C:404
Lorene::Star_bin_xcts::get_pot_centri
const Scalar & get_pot_centri() const
Returns the centrifugal potential.
Definition star.h:1345
Lorene::Star_bin_xcts::haij_comp
Sym_tensor haij_comp
Part of the extrinsic curvature tensor generated by beta_comp.
Definition star.h:1199
Lorene::Star_bin_xcts::set_Psi_comp
Scalar & set_Psi_comp()
Read/write the conformal factor .
Definition star_bin_xcts.C:383
Lorene::Star_bin_xcts::set_Psi_auto
Scalar & set_Psi_auto()
Read/write the conformal factor .
Definition star_bin_xcts.C:390
Lorene::Star_bin_xcts::is_irrotational
bool is_irrotational() const
Returns true for an irrotational motion, false for a corotating one.
Definition star.h:1317
Lorene::Star_bin_xcts::get_d_psi
const Vector & get_d_psi() const
Returns the covariant derivative of the velocity potential (Spherical components with respect to the ...
Definition star.h:1325
Lorene::Star_bin_xcts::operator>>
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Definition star_bin_xcts.C:463
Lorene::Star_bin_xcts::dcov_chi
Vector dcov_chi
Covariant derivative of the function .
Definition star.h:1174
Lorene::Star_bin_xcts::get_flat
const Metric & get_flat() const
Return the flat metric defined on the mapping (Spherical components with respect to the mapping of th...
Definition star.h:1400
Lorene::Star_bin_xcts::chi_auto
Scalar chi_auto
Scalar field generated principally by the star.
Definition star.h:1134
Lorene::Star_bin_xcts::mass_g
virtual double mass_g() const
Gravitational mass.
Definition star_bin_global_xcts.C:74
Lorene::Star_bin_xcts::update_metric
void update_metric(const Star_bin_xcts &comp)
Computes metric coefficients from known potentials, when the companion is another star.
Definition star_bin_upmetr_xcts.C:67
Lorene::Star_bin_xcts::w_beta
Vector w_beta
Solution for the vector part of the vector Poisson equation for .
Definition star.h:1163
Lorene::Star_bin_xcts::get_bsn
const Vector & get_bsn() const
Returns the shift vector, divided by N, of the rotating coordinates, .
Definition star.h:1342
Lorene::Star_bin_xcts::chi_comp
Scalar chi_comp
Scalar field generated principally by the companion star.
Definition star.h:1139
Lorene::Star_bin_xcts::ssjm1_psi
Scalar ssjm1_psi
Effective source at the previous step for the resolution of the Poisson equation for \Psi_auto .
Definition star.h:1221
Lorene::Star_bin_xcts::get_haij_comp
const Sym_tensor & get_haij_comp() const
Returns the part of the extrinsic curvature tensor generated by beta_comp.
Definition star.h:1412
Lorene::Star_bin_xcts::hydro_euler
virtual void hydro_euler()
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid fram...
Definition star_bin_hydro_xcts.C:49
Lorene::Star_bin_xcts::relaxation
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.
Definition star_bin_xcts.C:689
Lorene::Star_bin_xcts::irrotational
bool irrotational
true for an irrotational star, false for a corotating one
Definition star.h:1099
Lorene::Star_bin_xcts::del_deriv
virtual void del_deriv() const
Deletes all the derived quantities.
Definition star_bin_xcts.C:304
Lorene::Star_bin_xcts::d_psi
Vector d_psi
Gradient of (in the irrotational case) (Spherical components with respect to the mapping of the star...
Definition star.h:1109
Lorene::Star_bin_xcts::sauve
virtual void sauve(FILE *) const
Save in a file.
Definition star_bin_xcts.C:432
Lorene::Star_bin_xcts::mass_b
virtual double mass_b() const
Baryon mass.
Definition star_bin_global_xcts.C:50
Lorene::Star_bin_xcts::get_loggam
const Scalar & get_loggam() const
Returns the logarithm of the Lorentz factor between the fluid and the co-orbiting observer.
Definition star.h:1336
Lorene::Star_bin_xcts::~Star_bin_xcts
virtual ~Star_bin_xcts()
Destructor.
Definition star_bin_xcts.C:294
Lorene::Star_bin_xcts::p_xa_barycenter
double * p_xa_barycenter
Absolute coordinate X of the barycenter of the baryon density.
Definition star.h:1240
Lorene::Star_bin_xcts::velocity_potential
double velocity_potential(int mermax, double precis, double relax)
Computes the non-translational part of the velocity scalar potential by solving the continuity equat...
Definition star_bin_vel_pot_xcts.C:70
Lorene::Star_bin_xcts::hacar_auto
Scalar hacar_auto
Part of the scalar generated by beta_auto, i.e.
Definition star.h:1205
Lorene::Star_bin_xcts::get_Psi_auto
const Scalar & get_Psi_auto() const
Returns the scalar field generated principally by the star.
Definition star.h:1362
Lorene::Star_bin::loggam
Scalar loggam
Logarithm of the Lorentz factor between the fluid and the co-orbiting observer.
Definition star.h:512
Lorene::Star_bin::decouple
Scalar decouple
Function used to construct the part generated by the star from the total .
Definition star.h:676
Lorene::Star_bin::lnq_auto
Scalar lnq_auto
Scalar field generated principally by the star.
Definition star.h:543
Lorene::Star_bin::ssjm1_khi
Scalar ssjm1_khi
Effective source at the previous step for the resolution of the Poisson equation for khi.
Definition star.h:634
Lorene::Star_bin::bsn
Vector bsn
3-vector shift, divided by N, of the rotating coordinates, .
Definition star.h:518
Lorene::Star_bin::dcon_logn
Vector dcon_logn
Contravariant derivative of the total logarithm of the lapse.
Definition star.h:538
Lorene::Star_bin::d_psi
Vector d_psi
Gradient of (in the irrotational case) (Spherical components with respect to the mapping of the star...
Definition star.h:501
Lorene::Star_bin::dcon_phi
Vector dcon_phi
Contravariant derivative of the logarithm of the conformal factor.
Definition star.h:557
Lorene::Star_bin::velocity_potential
double velocity_potential(int mermax, double precis, double relax)
Computes the non-translational part of the velocity scalar potential by solving the continuity equat...
Definition star_bin_vel_pot.C:76
Lorene::Star_bin::get_logn_auto
const Scalar & get_logn_auto() const
Returns the part of the lapse logarithm (gravitational potential at the Newtonian limit) generated pr...
Definition star.h:806
Lorene::Star_bin::hij_comp
Sym_tensor hij_comp
Deviation of the inverse conformal metric from the inverse flat metric generated principally by the ...
Definition star.h:594
Lorene::Star_bin::p_xa_barycenter
double * p_xa_barycenter
Absolute coordinate X of the barycenter of the baryon density.
Definition star.h:687
Lorene::Star_bin::is_irrotational
bool is_irrotational() const
Returns true for an irrotational motion, false for a corotating one.
Definition star.h:773
Lorene::Star_bin::del_deriv
virtual void del_deriv() const
Deletes all the derived quantities.
Definition star_bin.C:369
Lorene::Star_bin::ssjm1_h11
Scalar ssjm1_h11
Effective source at the previous step for the resolution of the Poisson equation for h00_auto.
Definition star.h:641
Lorene::Star_bin::get_lnq_auto
const Scalar & get_lnq_auto() const
Returns the part of the vector field generated principally by the star.
Definition star.h:828
Lorene::Star_bin::get_dcov_logn
const Vector & get_dcov_logn() const
Returns the covariant derivative of .
Definition star.h:837
Lorene::Star_bin::beta_comp
Vector beta_comp
Part of the shift vector generated principally by the star (Spherical components with respect to the ...
Definition star.h:575
Lorene::Star_bin::ssjm1_logn
Scalar ssjm1_logn
Effective source at the previous step for the resolution of the Poisson equation for logn_auto.
Definition star.h:623
Lorene::Star_bin::dcov_logn
Vector dcov_logn
Covariant derivative of the total logarithm of the lapse.
Definition star.h:535
Lorene::Star_bin::operator>>
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Definition star_bin.C:522
Lorene::Star_bin::update_metric
void update_metric(const Star_bin &comp, double omega)
Computes metric coefficients from known potentials, when the companion is another star.
Definition star_bin_upmetr.C:93
Lorene::Star_bin::logn_auto
Scalar logn_auto
Part of the lapse logarithm (gravitational potential at the Newtonian limit) generated principally by...
Definition star.h:527
Lorene::Star_bin::psi0
Scalar psi0
Scalar potential of the non-translational part of fluid 4-velocity (in the irrotational case).
Definition star.h:496
Lorene::Star_bin::get_bsn
const Vector & get_bsn() const
Returns the shift vector, divided by N, of the rotating coordinates, .
Definition star.h:798
Lorene::Star_bin::kinematics
void kinematics(double omega, double x_axe)
Computes the quantities bsn and pot_centri.
Definition star_bin_kinema.C:75
Lorene::Star_bin::irrotational
bool irrotational
true for an irrotational star, false for a corotating one
Definition star.h:491
Lorene::Star_bin::get_dcov_phi
const Vector & get_dcov_phi() const
Returns the covariant derivative of (logarithm of the conformal factor).
Definition star.h:846
Lorene::Star_bin::xa_barycenter
virtual double xa_barycenter() const
Absolute coordinate X of the barycenter of the baryon density,.
Definition star_bin_global.C:118
Lorene::Star_bin::get_flat
const Metric & get_flat() const
Return the flat metric defined on the mapping (Spherical components with respect to the mapping of th...
Definition star.h:859
Lorene::Star_bin::kcar_comp
Scalar kcar_comp
Part of the scalar generated by beta_auto and beta_comp, i.e.
Definition star.h:618
Lorene::Star_bin::logn_comp
Scalar logn_comp
Part of the lapse logarithm (gravitational potential at the Newtonian limit) generated principally by...
Definition star.h:532
Lorene::Star_bin::ssjm1_h21
Scalar ssjm1_h21
Effective source at the previous step for the resolution of the Poisson equation for h10_auto.
Definition star.h:646
Lorene::Star_bin::extrinsic_curvature
void extrinsic_curvature(double omega)
Computes tkij_auto and akcar_auto from beta_auto, nn and Q.
Definition star_bin_extr_curv.C:75
Lorene::Star_bin::fait_d_psi
void fait_d_psi()
Computes the gradient of the total velocity potential .
Definition star_bin.C:645
Lorene::Star_bin::hydro_euler
virtual void hydro_euler()
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid fram...
Definition star_bin_hydro.C:66
Lorene::Star_bin::tkij_comp
Sym_tensor tkij_comp
Part of the extrinsic curvature tensor generated by beta_comp.
Definition star.h:606
Lorene::Star_bin::ssjm1_h33
Scalar ssjm1_h33
Effective source at the previous step for the resolution of the Poisson equation for h22_auto.
Definition star.h:666
Lorene::Star_bin::get_tkij_comp
const Sym_tensor & get_tkij_comp() const
Returns the part of the extrinsic curvature tensor generated by beta_comp.
Definition star.h:892
Lorene::Star_bin::test_K_Hi
void test_K_Hi() const
Test if the gauge conditions we impose are well satisfied.
Definition star_bin.C:727
Lorene::Star_bin::lnq_comp
Scalar lnq_comp
Scalar field generated principally by the companion star.
Definition star.h:548
Lorene::Star_bin::get_decouple
const Scalar get_decouple() const
Returns the function used to construct beta_auto from beta.
Definition star.h:908
Lorene::Star_bin::kcar_auto
Scalar kcar_auto
Part of the scalar generated by beta_auto, i.e.
Definition star.h:612
Lorene::Star_bin::helical
void helical(double omega) const
Test of the helical symmetry.
Lorene::Star_bin::get_hij
const Sym_tensor & get_hij() const
Return the total deviation of the inverse conformal metric from the inverse flat metric.
Definition star.h:867
Lorene::Star_bin::get_kcar_auto
const Scalar & get_kcar_auto() const
Returns the part of generated by beta_auto.
Definition star.h:897
Lorene::Star_bin::beta_auto
Vector beta_auto
Part of the shift vector generated principally by the star (Spherical components with respect to the ...
Definition star.h:570
Lorene::Star_bin::mass_b
virtual double mass_b() const
Baryon mass.
Definition star_bin_global.C:67
Lorene::Star_bin::Star_bin
Star_bin(Map &mp_i, int nzet_i, const Eos &eos_i, bool irrot, bool conf_flat)
Standard constructor.
Definition star_bin.C:115
Lorene::Star_bin::get_dcon_logn
const Vector & get_dcon_logn() const
Returns the contravariant derivative of .
Definition star.h:841
Lorene::Star_bin::hij
Sym_tensor hij
Total deviation of the inverse conformal metric from the inverse flat metric.
Definition star.h:581
Lorene::Star_bin::set_lnq_auto
void set_lnq_auto(const Scalar &lnq_auto_new)
Assignment of a new lnq_auto.
Definition star.h:755
Lorene::Star_bin::set_der_0x0
virtual void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
Definition star_bin.C:381
Lorene::Star_bin::hij_auto
Sym_tensor hij_auto
Deviation of the inverse conformal metric from the inverse flat metric generated principally by the ...
Definition star.h:588
Lorene::Star_bin::set_logn_comp
Scalar & set_logn_comp()
Read/write of the logarithm of the lapse generated principally by the companion.
Definition star_bin.C:461
Lorene::Star_bin::get_psi4
const Scalar & get_psi4() const
Return the conformal factor .
Definition star.h:854
Lorene::Star_bin::psi4
Scalar psi4
Conformal factor .
Definition star.h:552
Lorene::Star_bin::get_kcar_comp
const Scalar & get_kcar_comp() const
Returns the part of generated by beta_comp.
Definition star.h:902
Lorene::Star_bin::ssjm1_h31
Scalar ssjm1_h31
Effective source at the previous step for the resolution of the Poisson equation for h20_auto.
Definition star.h:651
Lorene::Star_bin::set_conf_flat
void set_conf_flat(bool confflat)
Write if conformally flat.
Definition star.h:765
Lorene::Star_bin::get_dcon_phi
const Vector & get_dcon_phi() const
Returns the contravariant derivative of (logarithm of the conformal factor).
Definition star.h:851
Lorene::Star_bin::get_hij_comp
const Sym_tensor & get_hij_comp() const
Return the deviation of the inverse conformal metric from the inverse flat metric generated principa...
Definition star.h:879
Lorene::Star_bin::operator=
void operator=(const Star_bin &)
Assignment to another Star_bin.
Definition star_bin.C:404
Lorene::Star_bin::del_hydro_euler
virtual void del_hydro_euler()
Sets to ETATNONDEF (undefined state) the hydrodynamical quantities relative to the Eulerian observer.
Definition star_bin.C:389
Lorene::Star_bin::get_beta_auto
const Vector & get_beta_auto() const
Returns the part of the shift vector generated principally by the star.
Definition star.h:817
Lorene::Star_bin::set_beta
Vector & set_beta()
Read/write of .
Definition star_bin.C:475
Lorene::Star_bin::get_lnq_comp
const Scalar & get_lnq_comp() const
Returns the part of the vector field generated principally by the companion star.
Definition star.h:833
Lorene::Star_bin::relaxation
void relaxation(const Star_bin &star_prev, double relax_ent, double relax_met, int mer, int fmer_met)
Performs a relaxation on ent, logn_auto, lnq_auto, beta_auto and hij_auto.
Definition star_bin.C:701
Lorene::Star_bin::get_hij_auto
const Sym_tensor & get_hij_auto() const
Return the deviation of the inverse conformal metric from the inverse flat metric principally genera...
Definition star.h:873
Lorene::Star_bin::get_d_psi
const Vector & get_d_psi() const
Returns the covariant derivative of the velocity potential (Spherical components with respect to the ...
Definition star.h:781
Lorene::Star_bin::tkij_auto
Sym_tensor tkij_auto
Part of the extrinsic curvature tensor generated by beta_auto.
Definition star.h:600
Lorene::Star_bin::dcov_phi
Vector dcov_phi
Covariant derivative of the logarithm of the conformal factor.
Definition star.h:555
Lorene::Star_bin::get_tkij_auto
const Sym_tensor & get_tkij_auto() const
Returns the part of the extrinsic curvature tensor generated by beta_auto.
Definition star.h:886
Lorene::Star_bin::flat
Metric_flat flat
Flat metric defined on the mapping (Spherical components with respect to the mapping of the star) .
Definition star.h:562
Lorene::Star_bin::ssjm1_h22
Scalar ssjm1_h22
Effective source at the previous step for the resolution of the Poisson equation for h11_auto.
Definition star.h:656
Lorene::Star_bin::get_wit_w
const Vector & get_wit_w() const
Returns the spatial projection of the fluid 3-velocity with respect to the co-orbiting observer.
Definition star.h:787
Lorene::Star_bin::wit_w
Vector wit_w
Spatial projection of the fluid 3-velocity with respect to the co-orbiting observer.
Definition star.h:507
Lorene::Star_bin::set_logn_auto
void set_logn_auto(const Scalar &logn_auto_new)
Assignment of a new logn_auto.
Definition star.h:751
Lorene::Star_bin::get_pot_centri
const Scalar & get_pot_centri() const
Returns the centrifugal potential.
Definition star.h:801
Lorene::Star_bin::get_psi0
const Scalar & get_psi0() const
Returns the non-translational part of the velocity potential.
Definition star.h:776
Lorene::Star_bin::ssjm1_h32
Scalar ssjm1_h32
Effective source at the previous step for the resolution of the Poisson equation for h21_auto.
Definition star.h:661
Lorene::Star_bin::update_metric_der_comp
void update_metric_der_comp(const Star_bin &comp, double omega)
Computes the derivative of metric functions related to the companion star.
Definition star_bin_upmetr_der.C:101
Lorene::Star_bin::equilibrium
void equilibrium(double ent_c, int mermax, int mermax_potvit, int mermax_poisson, double relax_poisson, double relax_potvit, double thres_adapt, Tbl &diff, double om)
Computes an equilibrium configuration.
Definition star_bin_equilibrium.C:143
Lorene::Star_bin::gtilde
Metric gtilde
Conformal metric .
Definition star.h:565
Lorene::Star_bin::pot_centri
Scalar pot_centri
Centrifugal potential.
Definition star.h:521
Lorene::Star_bin::get_beta_comp
const Vector & get_beta_comp() const
Returns the part of the shift vector generated principally by the star.
Definition star.h:823
Lorene::Star_bin::set_pot_centri
Scalar & set_pot_centri()
Read/write the centrifugal potential.
Definition star_bin.C:454
Lorene::Star_bin::~Star_bin
virtual ~Star_bin()
Destructor.
Definition star_bin.C:359
Lorene::Star_bin::set_beta_auto
Vector & set_beta_auto()
Read/write of .
Definition star_bin.C:468
Lorene::Star_bin::get_loggam
const Scalar & get_loggam() const
Returns the logarithm of the Lorentz factor between the fluid and the co-orbiting observer.
Definition star.h:792
Lorene::Star_bin::get_gtilde
const Metric & get_gtilde() const
Return the conformal 3-metric .
Definition star.h:862
Lorene::Star_bin::sauve
virtual void sauve(FILE *) const
Save in a file.
Definition star_bin.C:489
Lorene::Star_bin::get_logn_comp
const Scalar & get_logn_comp() const
Returns the part of the lapse logarithm (gravitational potential at the Newtonian limit) generated pr...
Definition star.h:811
Lorene::Star_bin::ssjm1_lnq
Scalar ssjm1_lnq
Effective source at the previous step for the resolution of the Poisson equation for lnq_auto.
Definition star.h:628
Lorene::Star_bin::mass_g
virtual double mass_g() const
Gravitational mass.
Definition star_bin_global.C:93
Lorene::Star_bin::conf_flat
bool conf_flat
true if the 3-metric is conformally flat, false for a more general metric.
Definition star.h:681
Lorene::Star
Base class for stars.
Definition star.h:175
Lorene::Star::~Star
virtual ~Star()
Destructor.
Definition star.C:287
Lorene::Star::Star
Star(Map &mp_i, int nzet_i, const Eos &eos_i)
Standard constructor.
Definition star.C:124
Lorene::Star::get_nn
const Scalar & get_nn() const
Returns the lapse function N.
Definition star.h:399
Lorene::Star::ener
Scalar ener
Total energy density in the fluid frame.
Definition star.h:193
Lorene::Star::mass_g
virtual double mass_g() const =0
Gravitational mass.
Definition star_global.C:327
Lorene::Star::logn
Scalar logn
Logarithm of the lapse N .
Definition star.h:222
Lorene::Star::nn
Scalar nn
Lapse function N .
Definition star.h:225
Lorene::Star::l_surf
virtual const Itbl & l_surf() const
Description of the stellar surface: returns a 2-D Itbl containing the values of the domain index l on...
Definition star_global.C:63
Lorene::Star::get_u_euler
const Vector & get_u_euler() const
Returns the fluid 3-velocity with respect to the Eulerian observer.
Definition star.h:385
Lorene::Star::del_hydro_euler
virtual void del_hydro_euler()
Sets to ETATNONDEF (undefined state) the hydrodynamical quantities relative to the Eulerian observer.
Definition star.C:330
Lorene::Star::get_gam_euler
const Scalar & get_gam_euler() const
Returns the Lorentz factor between the fluid and Eulerian observers.
Definition star.h:382
Lorene::Star::get_stress_euler
const Tensor & get_stress_euler() const
Returns the spatial part of the stress-energy tensor with respect to the Eulerian observer.
Definition star.h:390
Lorene::Star::p_mass_b
double * p_mass_b
Baryon mass.
Definition star.h:268
Lorene::Star::get_mp
const Map & get_mp() const
Returns the mapping.
Definition star.h:355
Lorene::Star::equilibrium_spher
virtual void equilibrium_spher(double ent_c, double precis=1.e-14, const Tbl *pent_limit=0x0)
Computes a spherical static configuration.
Definition star_equil_spher.C:95
Lorene::Star::ray_eq_3pis2
double ray_eq_3pis2() const
Coordinate radius at , [r_unit].
Definition star_global.C:233
Lorene::Star::get_eos
const Eos & get_eos() const
Returns the equation of state.
Definition star.h:361
Lorene::Star::hydro_euler
virtual void hydro_euler()
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid fram...
Definition star.C:577
Lorene::Star::p_ray_eq
double * p_ray_eq
Coordinate radius at , .
Definition star.h:242
Lorene::Star::eos
const Eos & eos
Equation of state of the stellar matter.
Definition star.h:185
Lorene::Star::get_gamma
const Metric & get_gamma() const
Returns the 3-metric .
Definition star.h:409
Lorene::Star::get_logn
const Scalar & get_logn() const
Returns the logarithm of the lapse N.
Definition star.h:396
Lorene::Star::nbar
Scalar nbar
Baryon density in the fluid frame.
Definition star.h:192
Lorene::Star::ener_euler
Scalar ener_euler
Total energy density in the Eulerian frame.
Definition star.h:198
Lorene::Star::xi_surf
const Tbl & xi_surf() const
Description of the stellar surface: returns a 2-D Tbl containing the values of the radial coordinate ...
Definition star_global.C:89
Lorene::Star::operator<<
friend ostream & operator<<(ostream &, const Star &)
Display.
Definition star.C:412
Lorene::Star::get_ener_euler
const Scalar & get_ener_euler() const
Returns the total energy density with respect to the Eulerian observer.
Definition star.h:376
Lorene::Star::p_ray_eq_pi
double * p_ray_eq_pi
Coordinate radius at , .
Definition star.h:248
Lorene::Star::p_l_surf
Itbl * p_l_surf
Description of the stellar surface: 2-D Itbl containing the values of the domain index l on the surfa...
Definition star.h:260
Lorene::Star::equation_of_state
void equation_of_state()
Computes the proper baryon and energy density, as well as pressure from the enthalpy.
Definition star.C:462
Lorene::Star::p_ray_eq_pis2
double * p_ray_eq_pis2
Coordinate radius at , .
Definition star.h:245
Lorene::Star::p_ray_eq_3pis2
double * p_ray_eq_3pis2
Coordinate radius at , .
Definition star.h:251
Lorene::Star::del_deriv
virtual void del_deriv() const
Deletes all the derived quantities.
Definition star.C:298
Lorene::Star::get_ener
const Scalar & get_ener() const
Returns the proper total energy density.
Definition star.h:370
Lorene::Star::gam_euler
Scalar gam_euler
Lorentz factor between the fluid and Eulerian observers.
Definition star.h:204
Lorene::Star::set_mp
Map & set_mp()
Read/write of the mapping.
Definition star.h:322
Lorene::Star::operator>>
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Definition star.C:417
Lorene::Star::set_der_0x0
virtual void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
Definition star.C:316
Lorene::Star::ray_eq
double ray_eq() const
Coordinate radius at , [r_unit].
Definition star_global.C:108
Lorene::Star::set_enthalpy
void set_enthalpy(const Scalar &)
Assignment of the enthalpy field.
Definition star.C:379
Lorene::Star::s_euler
Scalar s_euler
Trace of the stress scalar in the Eulerian frame.
Definition star.h:201
Lorene::Star::p_mass_g
double * p_mass_g
Gravitational mass.
Definition star.h:269
Lorene::Star::gamma
Metric gamma
3-metric
Definition star.h:235
Lorene::Star::p_xi_surf
Tbl * p_xi_surf
Description of the stellar surface: 2-D Tbl containing the values of the radial coordinate on the su...
Definition star.h:266
Lorene::Star::sauve
virtual void sauve(FILE *) const
Save in a file.
Definition star.C:397
Lorene::Star::ray_eq_pis2
double ray_eq_pis2() const
Coordinate radius at , [r_unit].
Definition star_global.C:138
Lorene::Star::stress_euler
Sym_tensor stress_euler
Spatial part of the stress-energy tensor with respect to the Eulerian observer.
Definition star.h:212
Lorene::Star::get_ent
const Scalar & get_ent() const
Returns the enthalpy field.
Definition star.h:364
Lorene::Star::get_s_euler
const Scalar & get_s_euler() const
Returns the trace of the stress tensor in the Eulerian frame.
Definition star.h:379
Lorene::Star::press
Scalar press
Fluid pressure.
Definition star.h:194
Lorene::Star::ray_eq_pi
double ray_eq_pi() const
Coordinate radius at , [r_unit].
Definition star_global.C:186
Lorene::Star::ent
Scalar ent
Log-enthalpy.
Definition star.h:190
Lorene::Star::u_euler
Vector u_euler
Fluid 3-velocity with respect to the Eulerian observer.
Definition star.h:207
Lorene::Star::get_beta
const Vector & get_beta() const
Returns the shift vector .
Definition star.h:402
Lorene::Star::mp
Map & mp
Mapping associated with the star.
Definition star.h:180
Lorene::Star::get_nzet
int get_nzet() const
Returns the number of domains occupied by the star.
Definition star.h:358
Lorene::Star::get_press
const Scalar & get_press() const
Returns the fluid pressure.
Definition star.h:373
Lorene::Star::operator=
void operator=(const Star &)
Assignment to another Star.
Definition star.C:351
Lorene::Star::get_nbar
const Scalar & get_nbar() const
Returns the proper baryon density.
Definition star.h:367
Lorene::Star::nzet
int nzet
Number of domains of *mp occupied by the star.
Definition star.h:183
Lorene::Star::p_ray_pole
double * p_ray_pole
Coordinate radius at .
Definition star.h:254
Lorene::Star::beta
Vector beta
Shift vector.
Definition star.h:228
Lorene::Star::ray_pole
double ray_pole() const
Coordinate radius at [r_unit].
Definition star_global.C:278
Lorene::Star::mass_b
virtual double mass_b() const =0
Baryon mass.
Definition star_global.C:307
Lorene::Sym_tensor
Class intended to describe valence-2 symmetric tensors.
Definition sym_tensor.h:223
Lorene::Tbl
Basic array class.
Definition tbl.h:161
Lorene::Tensor
Tensor handling.
Definition tensor.h:288
Lorene::Vector
Tensor field of valence 1.
Definition vector.h:188
Lorene
Lorene prototypes.
Definition app_hor.h:64
Lorene::Map
Map(const Mg3d &)
Constructor from a multi-domain 3D grid.
Definition map.C:139