28 #ifndef __ET_ROT_DIFF_H_ 29 #define __ET_ROT_DIFF_H_ 135 double (*frot_i)(
double,
const Tbl&),
136 double (*primfrot_i)(
double,
const Tbl&),
137 const Tbl& par_frot_i) ;
152 double (*frot_i)(
double,
const Tbl&),
153 double (*primfrot_i)(
double,
const Tbl&) ) ;
183 virtual void sauve(FILE *)
const ;
190 virtual ostream&
operator>>(ostream& )
const ;
197 virtual double tsw()
const ;
231 double precis,
int nitermax) ;
342 virtual void equilibrium(
double ent_c,
double omega0,
double fact_omega,
343 int nzadapt,
const Tbl& ent_limit,
344 const Itbl& icontrol,
const Tbl& control,
345 double mbar_wanted,
double aexp_mass,
Et_rot_diff(Map &mp_i, int nzet_i, bool relat, const Eos &eos_i, double(*frot_i)(double, const Tbl &), double(*primfrot_i)(double, const Tbl &), const Tbl &par_frot_i)
Standard constructor.
void operator=(const Et_rot_diff &)
Assignment to another Et_rot_diff.
Tenseur prim_field
Field .
double prim_funct_omega(double omeg) const
Evaluates the primitive of , where F is the function defining the rotation profile.
double(* frot)(double, const Tbl &)
Function defining the rotation profile.
Equation of state base class.
virtual void hydro_euler()
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid fram...
Base class for coordinate mappings.
Class for isolated rotating stars *** DEPRECATED : use class Star_rot instead ***.
double(* primfrot)(double, const Tbl &)
Primitive of the function , which vanishes at the stellar center.
void fait_omega_field(double omeg_min, double omeg_max, double precis, int nitermax)
Computes (member omega_field ).
Basic integer array class.
double funct_omega(double omeg) const
Evaluates , where F is the function defining the rotation profile.
double omega_max
Maximum value of .
Class for differentially rotating stars.
void fait_prim_field()
Computes the member prim_field from omega_field .
virtual void display_poly(ostream &) const
Display in polytropic units.
Tbl par_frot
Parameters of the function .
virtual void sauve(FILE *) const
Save in a file.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
const Tenseur & get_omega_field() const
Returns the angular velocity field .
double omega_min
Minimum value of .
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.
virtual double get_omega_c() const
Returns the central value of the rotation angular velocity ([f_unit] )
virtual ~Et_rot_diff()
Destructor.
Tensor handling *** DEPRECATED : use class Tensor instead ***.
Tenseur omega_field
Field .
virtual double tsw() const
Ratio T/W.