26 #ifndef __STAR_ROT_DIFF_CFC_H_ 27 #define __STAR_ROT_DIFF_CFC_H_ 30 #include "star_rot_cfc.h" 100 double (*omega_frot_i)(
double,
const Tbl&),
101 double (*primfrot_i)(
double,
const Tbl&),
102 const Tbl& par_frot_i) ;
117 double (*omega_frot_i)(
double,
const Tbl&),
118 double (*primfrot_i)(
double,
const Tbl&) ) ;
148 virtual void sauve(FILE *)
const ;
151 virtual void display_poly(ostream& )
const ;
159 virtual ostream&
operator>>(ostream& )
const ;
169 virtual double tsw()
const ;
203 double precis,
int nitermax) ;
314 virtual void equilibrium(
double ent_c,
double omega0,
double fact_omega,
315 int nzadapt,
const Tbl& ent_limit,
316 const Itbl& icontrol,
const Tbl& control,
317 double mbar_wanted,
double aexp_mass,
void operator=(const Star_rot_diff_CFC &)
Assignment to another Star_rot_diff.
double omega_min
Minimum value of .
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.
Basic integer array class.
Class for differentially 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...
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
virtual ~Star_rot_diff_CFC()
Destructor.
Class for relativistic rotating stars in Conformal Flatness Condition and maximal slicing...
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, Param *=0x0)
Computes an equilibrium configuration.
double prim_funct_omega(double F) const
Evaluates the primitive of .
virtual void sauve(FILE *) const
Save in a file.
void fait_omega_field(double omeg_min, double omeg_max, double precis, int nitermax)
Computes (member omega_field ).
Tbl par_frot
Parameters of the function .
virtual void partial_display(ostream &) const
Printing of some informations, excluding all global quantities.
double(* omega_frot)(double, const Tbl &)
Function defining the rotation profile.
double(* primfrot)(double, const Tbl &)
Primitive of the function , which vanishes at the stellar center.
double omega_max
Maximum value of .
Star_rot_diff_CFC(Map &mp_i, int nzet_i, const Eos &eos_i, int relat_i, int filter, double(*omega_frot_i)(double, const Tbl &), double(*primfrot_i)(double, const Tbl &), const Tbl &par_frot_i)
Standard constructor.
const Scalar & get_omega_field() const
Returns the angular velocity field .
virtual double get_omega_c() const
Returns the central value of the rotation angular velocity ([f_unit] )
virtual double tsw() const
Ratio T/W.
friend ostream & operator<<(ostream &, const Star &)
Display.
double omega_funct(double F) const
Evaluates , where F is linked to the components of the fluid 4-velocity by .
void fait_prim_field()
Computes the member prim_field from omega_field .