26 #ifndef __STAR_ROT_CFC_H_ 27 #define __STAR_ROT_CFC_H_ 227 virtual void sauve(FILE* )
const ;
231 virtual ostream&
operator>>(ostream& )
const ;
238 virtual double mass_b()
const ;
239 virtual double mass_g()
const ;
241 virtual double grv2()
const ;
242 virtual double grv3()
const ;
243 virtual double tsw()
const ;
244 virtual double aplat()
const ;
245 virtual double r_circ()
const ;
246 virtual double rp_circ()
const ;
253 virtual double ellipt()
const ;
285 void equilibrium(
double ent_c,
double omega0,
double fact_omega,
286 int nzadapt,
const Tbl& ent_limit,
287 const Itbl& icontrol,
const Tbl& control,
288 double mbar_wanted,
double aexp_mass,
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
double * p_grv2
Error on the virial identity GRV2.
virtual double tsw() const
Ratio T/W.
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...
Scalar psi
Conformal factor .
virtual double grv3() const
Error on the virial identity GRV3.
Equation of state base class.
Flat metric for tensor calculation.
Tensor field of valence 0 (or component of a tensorial field).
virtual double angu_mom() const
Angular momentum.
Base class for coordinate mappings.
virtual void del_deriv() const
Deletes all the derived quantities.
virtual double r_circ() const
Circumferential equatorial radius.
int spectral_filter
Spectral exponential filtering order.
double * p_rp_circ
Circumferential polar radius.
void operator=(const Star_rot_CFC &)
Assignment to another Star_rot_CFC.
Basic integer array class.
Scalar psi4
Conformal factor .
const Scalar & get_psi2() const
Returns .
int spectral_filter_order() const
Returns the filtering order.
virtual void sauve(FILE *) const
Save in a file.
Star_rot_CFC(Map &mp_i, int nzet_i, const Eos &eos_i, int relat_i=3, int filter=0)
Standard constructor.
Tensor field of valence 1.
Class for relativistic rotating stars in Conformal Flatness Condition and maximal slicing...
virtual void hydro_euler()
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid fram...
const Vector & get_j_euler() const
Returns the momentum density 3-vector with respect to the Eulerian observer.
virtual double aplat() const
Flattening r_pole/r_eq.
double omega
Rotation angular velocity ([f_unit] )
int relat_type
Relativistic flag.
void solve_shift(Vector &shift_new) const
Solution of the shift equation for rotating stars in CFC.
const Scalar get_hatA_quad() const
Returns .
virtual double rp_circ() const
Circumferential polar radius.
double * p_angu_mom
Angular momentum.
double * p_r_circ
Circumferential equatorial radius.
virtual double mass_b() const
Baryonic mass.
bool is_relativistic() const
Checks whether the star is computed using a relativistic theory.
int get_relat() const
Returns the relativity parameter.
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...
void solve_psi(Scalar &psi_new)
Solution of the equations for the conformal factor for rotating stars in CFC.
const Scalar & get_psi() const
Returns .
void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
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.
double * p_grv3
Error on the virial identity GRV3.
virtual ~Star_rot_CFC()
Destructor.
const Scalar & get_psi4() const
Returns the conformal factor .
void update_metric()
Computes metric quantities from known potentials.
virtual double grv2() const
Error on the virial identity GRV2.
const Sym_tensor get_hatA() const
Returns .
const Scalar & get_v2() const
Returns .
double get_omega() const
Returns the rotation angular velocity .
Vector j_euler
Momentum density 3-vector with respect to the Eulerian observer.
virtual void del_hydro_euler()
Sets to ETATNONDEF (undefined state) the hydrodynamical quantities relative to the Eulerian observer...
Class intended to describe valence-2 symmetric tensors.
virtual double mass_g() const
Gravitational mass.
virtual double ellipt() const
Ellipticity e.
const Metric_flat & flat
flat metric (spherical components)