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