28 #ifndef __STAR_ROT_DIRAC_DIFF_H_ 29 #define __STAR_ROT_DIRAC_DIFF_H_ 38 #include "star_rot_dirac.h" 111 double (*frot_i)(
double,
const Tbl&),
112 double (*primfrot_i)(
double,
const Tbl&),
113 const Tbl& par_frot_i) ;
128 double (*frot_i)(
double,
const Tbl&),
129 double (*primfrot_i)(
double,
const Tbl&) ) ;
160 virtual void sauve(FILE *)
const ;
171 virtual ostream&
operator>>(ostream& )
const ;
178 virtual double tsw()
const ;
212 double precis,
int nitermax) ;
323 virtual void equilibrium(
double ent_c,
double omega0,
double fact_omega,
324 int nzadapt,
const Tbl& ent_limit,
325 const Itbl& icontrol,
const Tbl& control,
326 double mbar_wanted,
double aexp_mass,
void fait_prim_field()
Computes the member prim_field from omega_field .
virtual double tsw() const
Ratio T/W.
void operator=(const Star_rot_Dirac_diff &)
Assignment to another Star_rot_Dirac_diff.
virtual void hydro_euler()
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid fram...
virtual 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.
Equation of state base class.
Tensor field of valence 0 (or component of a tensorial field).
Scalar omega_field
Field .
Base class for coordinate mappings.
double(* primfrot)(double, const Tbl &)
Primitive of the function , which vanishes at the stellar center.
Basic integer array class.
virtual void sauve(FILE *) const
Save in a file.
Tbl par_frot
Parameters of the function .
void fait_omega_field(double omeg_min, double omeg_max, double precis, int nitermax)
Computes (member omega_field ).
friend ostream & operator<<(ostream &, const Star &)
Display.
double omega_max
Maximum value of .
double(* frot)(double, const Tbl &)
Function defining the rotation profile.
Star_rot_Dirac_diff(Map &mp_i, int nzet_i, const Eos &eos_i, double(*frot_i)(double, const Tbl &), double(*primfrot_i)(double, const Tbl &), const Tbl &par_frot_i)
Standard constructor.
Class for relativistic rotating stars in Dirac gauge and maximal slicing.
double prim_funct_omega(double omeg) const
Evaluates the primitive of , where F is the function defining the rotation profile.
virtual ~Star_rot_Dirac_diff()
Destructor.
Class for relativistic differentially rotating stars in Dirac gauge and maximal slicing.
const Scalar & get_omega_field() const
Returns the angular velocity field .
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
double omega_min
Minimum value of .
virtual double get_omega_c() const
Returns the central value of the rotation angular velocity ([f_unit] )
double funct_omega(double omeg) const
Evaluates , where F is the function defining the rotation profile.