26 #ifndef __HOT_STAR_ROT_CFC_H_ 27 #define __HOT_STAR_ROT_CFC_H_ 131 int e_type,
double const_value_i,
int filter=0) ;
238 virtual void sauve(FILE* )
const ;
242 virtual ostream&
operator>>(ostream& )
const ;
249 virtual double mass_b()
const ;
250 virtual double mass_g()
const ;
252 virtual double grv2()
const ;
253 virtual double grv3()
const ;
254 virtual double tsw()
const ;
255 virtual double aplat()
const ;
256 virtual double r_circ()
const ;
257 virtual double rp_circ()
const ;
264 virtual double ellipt()
const ;
300 void equilibrium(
double ent_c,
double omega0,
double fact_omega,
301 int nzadapt,
const Tbl& ent_limit,
302 const Itbl& icontrol,
const Tbl& control,
303 double mbar_wanted,
double aexp_mass,
int relat_type
Relativistic flag.
const Scalar & get_psi() const
Returns .
const Metric_flat & flat
flat metric (spherical components)
virtual void del_deriv() const
Deletes all the derived quantities.
void solve_shift(Vector &shift_new) const
Solution of the shift equation for rotating stars in CFC.
Scalar psi
Conformal factor .
double * p_r_circ
Circumferential equatorial radius.
virtual void del_hydro_euler()
Sets to ETATNONDEF (undefined state) the hydrodynamical quantities relative to the Eulerian observer...
Base class for hot stars.
Flat metric for tensor calculation.
virtual double aplat() const
Flattening r_pole/r_eq.
virtual double grv2() const
Error on the virial identity GRV2.
Tensor field of valence 0 (or component of a tensorial field).
void solve_logn_q(Scalar &ln_q_new) const
Solution of the quadratic part of the Poisson equation for the lapse for rotating stars in CFC...
Base class for coordinate mappings.
Basic integer array class.
int get_relat() const
Returns the relativity parameter.
virtual ~Hot_star_rot_CFC()
Destructor.
int spectral_filter
Spectral exponential filtering order.
virtual double rp_circ() const
Circumferential polar radius.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Tensor field of valence 1.
void solve_logn_f(Scalar &ln_f_new) const
Solution of the `‘matter’' part of the Poisson equation for the lapse for rotating stars in CFC...
int e_type
Integer defining the type of entropy profile.
virtual double mass_b() const
Baryonic mass.
double * p_rp_circ
Circumferential polar radius.
virtual void hydro_euler()
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid fram...
Hot_star_rot_CFC(Map &mp_i, int nzet_i, const Hot_eos &heos_i, int relat_i, int e_type, double const_value_i, int filter=0)
Standard constructor.
void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
double omega
Rotation angular velocity ([f_unit] )
double * p_angu_mom
Angular momentum.
void operator=(const Hot_star_rot_CFC &)
Assignment to another Hot_star_rot_CFC.
bool is_relativistic() const
Checks whether the star is computed using a relativistic theory.
virtual double r_circ() const
Circumferential equatorial radius.
void equilibrium(double ent_c, double omega0, double fact_omega, int nzadapt, const Tbl &ent_limit, const Itbl &icontrol, const Tbl &control, double mbar_wanted, double aexp_mass, Tbl &diff)
Computes an equilibrium configuration.
int spectral_filter_order() const
Returns the filtering order.
virtual double mass_g() const
Gravitational mass.
double const_value
Constant value of entropy or temperature.
virtual double tsw() const
Ratio T/W.
void solve_psi(Scalar &psi_new)
Solution of the equations for the conformal factor for rotating stars in CFC.
Scalar psi4
Conformal factor .
const Scalar get_hatA_quad() const
Returns .
virtual double angu_mom() const
Angular momentum.
const Scalar & get_psi4() const
Returns the conformal factor .
virtual double grv3() const
Error on the virial identity GRV3.
Class for relativistic rotating stars in Conformal Flatness Condition and maximal slicing...
Base class for 2-parameters equations of state (abstract class).
double * p_grv2
Error on the virial identity GRV2.
virtual void sauve(FILE *) const
Save in a file.
const Scalar & get_v2() const
Returns .
void update_metric()
Computes metric quantities from known potentials.
const Sym_tensor get_hatA() const
Returns .
const Scalar & get_psi2() const
Returns .
double get_omega() const
Returns the rotation angular velocity .
void update_entropy()
Updates the part of the entropy from entropy_param.
Vector j_euler
Momentum density 3-vector with respect to the Eulerian observer.
Class intended to describe valence-2 symmetric tensors.
virtual double ellipt() const
Ellipticity e.
double * p_grv3
Error on the virial identity GRV3.
const Vector & get_j_euler() const
Returns the momentum density 3-vector with respect to the Eulerian observer.