26 #ifndef __STAR_ROT_DIRAC_H_ 27 #define __STAR_ROT_DIRAC_H_ 269 virtual void sauve(FILE* )
const ;
273 virtual ostream&
operator>>(ostream& )
const ;
280 virtual double mass_b()
const ;
281 virtual double mass_g()
const ;
283 virtual double grv2()
const ;
284 virtual double grv3()
const ;
285 virtual double tsw()
const ;
286 virtual double aplat()
const ;
287 virtual double r_circ()
const ;
288 virtual double rp_circ()
const ;
295 virtual double ellipt()
const ;
328 void equilibrium(
double ent_c,
double omega0,
double fact_omega,
329 int nzadapt,
const Tbl& ent_limit,
330 const Itbl& icontrol,
const Tbl& control,
331 double mbar_wanted,
double aexp_mass,
double get_omega() const
Returns the rotation angular velocity .
virtual double grv3() const
Error on the virial identity GRV3.
void solve_logn_f(Scalar &ln_f_new) const
Solution of the two scalar Poisson equations for rotating stars in Dirac gauge.
const Sym_tensor get_aa() const
Returns .
Metric for tensor calculation.
double * p_angu_mom
Angular momentum.
double * p_rp_circ
Circumferential polar radius.
double omega
Rotation angular velocity ([f_unit] )
const Scalar & get_psi4() const
Returns the conformal factor .
Equation of state base class.
Flat metric for tensor calculation.
Tensor field of valence 0 (or component of a tensorial field).
int spectral_filter_order() const
Returns the filtering order.
Base class for coordinate mappings.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Sym_tensor_trans hh
is defined by .
int relat_type
Relativistic flag.
Basic integer array class.
virtual double r_circ() const
Circumferential equatorial radius.
void operator=(const Star_rot_Dirac &)
Assignment to another Star_rot_Dirac.
virtual void del_deriv() const
Deletes all the derived quantities.
const Vector & get_j_euler() const
Returns the momentum density 3-vector with respect to the Eulerian observer.
Tensor field of valence 1.
void update_metric()
Computes metric quantities from known potentials.
const Scalar & get_v2() const
Returns .
virtual void hydro_euler()
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid fram...
virtual double angu_mom() const
Angular momentum.
const Scalar & get_ln_psi() const
Returns .
double * p_r_circ
Circumferential equatorial radius.
Scalar psi4
Conformal factor .
virtual double tsw() const
Ratio T/W.
virtual double mass_g() const
Gravitational mass.
virtual double ellipt() const
Ellipticity e.
virtual void sauve(FILE *) const
Save in a file.
Star_rot_Dirac(Map &mp_i, int nzet_i, const Eos &eos_i, int relat_i=1, int filter=0)
Standard constructor.
const Scalar get_aa_quad() const
Returns .
virtual double grv2() const
Error on the virial identity GRV2.
const Metric get_tgamma() const
Returns the conformal metric .
int get_relat() const
Returns the relativity parameter.
double * p_grv3
Error on the virial identity GRV3.
Class for relativistic rotating stars in Dirac gauge and maximal slicing.
double * p_grv2
Error on the virial identity GRV2.
virtual double mass_b() const
Baryonic mass.
Transverse symmetric tensors of rank 2.
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.
virtual double aplat() const
Flattening r_pole/r_eq.
void solve_hij(Sym_tensor_trans &hij_new) const
Solution of the tensor Poisson equation for rotating stars in Dirac gauge.
const Scalar & get_qqq() const
Returns .
virtual double rp_circ() const
Circumferential polar radius.
virtual ~Star_rot_Dirac()
Destructor.
void solve_shift(Vector &shift_new) const
Solution of the shift equation for rotating stars in Dirac gauge.
void solve_logn_q(Scalar &ln_q_new) const
Solution of the two scalar Poisson equations for rotating stars in Dirac gauge.
const Sym_tensor get_taa() const
Returns .
void solve_qqq(Scalar &q_new) const
Solution of the two scalar Poisson equations for rotating stars in Dirac gauge.
const Metric_flat & flat
flat metric (spherical components)
bool is_relativistic() const
Checks whether the star is computed using a relativistic theory.
virtual void del_hydro_euler()
Sets to ETATNONDEF (undefined state) the hydrodynamical quantities relative to the Eulerian observer...
void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
Vector j_euler
Momentum density 3-vector with respect to the Eulerian observer.
const Sym_tensor_trans get_hh() const
Returns .
Class intended to describe valence-2 symmetric tensors.
int spectral_filter
Spectral exponential filtering order.
const Scalar & get_psi2() const
Returns .