26 #ifndef __HOT_STAR_ROT_DIFF_CFC_H_ 27 #define __HOT_STAR_ROT_DIFF_CFC_H_ 30 #include "hot_star_rot_cfc.h" 102 int e_type,
double const_value_i,
int filter,
103 double (*omega_frot_i)(
double,
const Tbl&),
104 double (*primfrot_i)(
double,
const Tbl&),
105 const Tbl& par_frot_i) ;
120 double (*omega_frot_i)(
double,
const Tbl&),
121 double (*primfrot_i)(
double,
const Tbl&) ) ;
151 virtual void sauve(FILE *)
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,
virtual double get_omega_c() const
Returns the central value of the rotation angular velocity ([f_unit] )
Hot_star_rot_diff_CFC(Map &mp_i, int nzet_i, const Hot_eos &heos_i, int relat_i, int e_type, double const_value_i, int filter, double(*omega_frot_i)(double, const Tbl &), double(*primfrot_i)(double, const Tbl &), const Tbl &par_frot_i)
Standard constructor.
Base class for hot stars.
Tensor field of valence 0 (or component of a tensorial field).
Tbl par_frot
Parameters of the function .
Base class for coordinate mappings.
Basic integer array class.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Class for hot differentially rotating stars in Conformal Flatness Condition and maximal slicing...
void operator=(const Hot_star_rot_diff_CFC &)
Assignment to another Hot_star_rot_diff_CFC.
int e_type
Integer defining the type of entropy profile.
virtual void sauve(FILE *) const
Save in a file.
double omega_funct(double F) const
Evaluates , where F is linked to the components of the fluid 4-velocity by .
virtual void hydro_euler()
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid fram...
double(* omega_frot)(double, const Tbl &)
Function defining the rotation profile.
virtual void partial_display(ostream &) const
Printing of some informations, excluding all global quantities.
double(* primfrot)(double, const Tbl &)
Primitive of the function , which vanishes at the stellar center.
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.
Class for relativistic rotating stars in Conformal Flatness Condition and maximal slicing...
friend ostream & operator<<(ostream &, const Hot_star &)
Display.
Base class for 2-parameters equations of state (abstract class).
void fait_omega_field(double omeg_min, double omeg_max, double precis, int nitermax)
Computes (member omega_field ).
double omega_max
Maximum value of .
const Scalar & get_omega_field() const
Returns the angular velocity field .
virtual double tsw() const
Ratio T/W.
void fait_prim_field()
Computes the member prim_field from omega_field .
Scalar omega_field
Field .
double omega_min
Minimum value of .
virtual ~Hot_star_rot_diff_CFC()
Destructor.
double prim_funct_omega(double F) const
Evaluates the primitive of .