27char star_global_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Star/star_global.C,v 1.6 2014/10/13 08:53:39 j_novak Exp $" ;
76 double precis = 1.e-15 ;
120 assert( (type_t == SYM) || (type_t == NONSYM) ) ;
121 assert( (type_p == SYM) || (type_p == NONSYM) ) ;
123 int j = (type_t == SYM ? nt-1 : nt / 2);
149 int j = (type_t == SYM ? nt-1 : nt / 2);
151 double phi =
M_PI / 2 ;
164 assert( (np == 1) || (np % 4 == 0) ) ;
173 cout <<
"Star::ray_eq_pis2 : the case type_p = "
174 << type_p <<
" is not contemplated yet !" <<
endl ;
197 assert ( ( type_t == SYM ) || ( type_t == NONSYM ) ) ;
208 int j = (type_t == SYM ? nt-1 : nt/2 ) ;
220 cout <<
"Star::ray_eq_pi : the case type_p = " << type_p <<
endl ;
221 cout <<
" is not contemplated yet !" <<
endl ;
244 assert( ( type_t == SYM ) || ( type_t == NONSYM ) ) ;
246 int j = (type_t == SYM ? nt-1 : nt/2 );
248 double phi = 3. *
M_PI / 2 ;
267 cout <<
"Star::ray_eq_3pis2 : the case type_p = "
268 << type_p <<
" is not implemented yet !" <<
endl ;
286 assert( (type_t == SYM) || (type_t == NONSYM) ) ;
312 "Star::mass_b : in the relativistic case, the baryon mass"
314 "computation cannot be performed by the base class Star !"
332 "Star::mass_g : in the relativistic case, the gravitational mass"
334 "computation cannot be performed by the base class Star !"
Time evolution with partial storage (*** under development ***).
Basic integer array class.
virtual double val_r(int l, double xi, double theta, double pphi) const =0
Returns the value of the radial coordinate r for a given in a given domain.
const Mg3d * get_mg() const
Gives the Mg3d on which the mapping is defined.
int get_type_t() const
Returns the type of sampling in the direction: SYM : : symmetry with respect to the equatorial pl...
int get_np(int l) const
Returns the number of points in the azimuthal direction ( ) in domain no. l.
int get_type_p() const
Returns the type of sampling in the direction: SYM : : symmetry with respect to the transformatio...
int get_nt(int l) const
Returns the number of points in the co-latitude direction ( ) in domain no. l.
const Valeur & get_spectral_va() const
Returns va (read only version)
virtual double mass_g() const =0
Gravitational mass.
virtual const Itbl & l_surf() const
Description of the stellar surface: returns a 2-D Itbl containing the values of the domain index l on...
double * p_mass_b
Baryon mass.
double ray_eq_3pis2() const
Coordinate radius at , [r_unit].
double * p_ray_eq
Coordinate radius at , .
const Tbl & xi_surf() const
Description of the stellar surface: returns a 2-D Tbl containing the values of the radial coordinate ...
double * p_ray_eq_pi
Coordinate radius at , .
Itbl * p_l_surf
Description of the stellar surface: 2-D Itbl containing the values of the domain index l on the surfa...
double * p_ray_eq_pis2
Coordinate radius at , .
double * p_ray_eq_3pis2
Coordinate radius at , .
double ray_eq() const
Coordinate radius at , [r_unit].
double * p_mass_g
Gravitational mass.
Tbl * p_xi_surf
Description of the stellar surface: 2-D Tbl containing the values of the radial coordinate on the su...
double ray_eq_pis2() const
Coordinate radius at , [r_unit].
double ray_eq_pi() const
Coordinate radius at , [r_unit].
Map & mp
Mapping associated with the star.
int nzet
Number of domains of *mp occupied by the star.
double * p_ray_pole
Coordinate radius at .
double ray_pole() const
Coordinate radius at [r_unit].
virtual double mass_b() const =0
Baryon mass.