82 double precis = 1.e-15 ;
126 assert( (type_t == SYM) || (type_t == NONSYM) ) ;
127 assert( (type_p == SYM) || (type_p == NONSYM) ) ;
129 int j = (type_t == SYM ? nt-1 : nt / 2);
132 double theta = M_PI / 2 ;
155 int j = (type_t == SYM ? nt-1 : nt / 2);
156 double theta = M_PI / 2 ;
157 double phi = M_PI / 2 ;
170 assert( (np == 1) || (np % 4 == 0) ) ;
179 cout <<
"Hot_star::ray_eq_pis2 : the case type_p = " 180 << type_p <<
" is not contemplated yet !" << endl ;
203 assert ( ( type_t == SYM ) || ( type_t == NONSYM ) ) ;
214 int j = (type_t == SYM ? nt-1 : nt/2 ) ;
217 double theta = M_PI / 2 ;
226 cout <<
"Hot_star::ray_eq_pi : the case type_p = " << type_p << endl ;
227 cout <<
" is not contemplated yet !" << endl ;
250 assert( ( type_t == SYM ) || ( type_t == NONSYM ) ) ;
252 int j = (type_t == SYM ? nt-1 : nt/2 );
253 double theta = M_PI / 2 ;
254 double phi = 3. * M_PI / 2 ;
264 assert( np % 4 == 0 ) ;
273 cout <<
"Hot_star::ray_eq_3pis2 : the case type_p = " 274 << type_p <<
" is not implemented yet !" << endl ;
292 assert( (type_t == SYM) || (type_t == NONSYM) ) ;
318 "Hot_star::mass_b : in the relativistic case, the baryon mass" 320 "computation cannot be performed by the base class Hot_star !" 338 "Hot_star::mass_g : in the relativistic case, the gravitational mass" 340 "computation cannot be performed by the base class Hot_star !" int get_type_p() const
Returns the type of sampling in the direction: SYM : : symmetry with respect to the transformatio...
virtual double mass_b() const =0
Baryon mass.
int get_np(int l) const
Returns the number of points in the azimuthal direction ( ) in domain no. l.
double * p_ray_pole
Coordinate radius at .
double * p_mass_g
Gravitational mass.
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...
Basic integer array class.
double ray_eq_pi() const
Coordinate radius at , [r_unit].
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 ray_eq_pis2() const
Coordinate radius at , [r_unit].
double ray_eq() const
Coordinate radius at , [r_unit].
int nzet
Number of domains of *mp occupied by the star.
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.
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 , .
Tbl * p_xi_surf
Description of the stellar surface: 2-D Tbl containing the values of the radial coordinate on the su...
double * p_mass_b
Baryon mass.
Map & mp
Mapping associated with the star.
double * p_ray_eq_pi
Coordinate radius at , .
double * p_ray_eq_3pis2
Coordinate radius at , .
virtual double mass_g() const =0
Gravitational mass.
double ray_eq_3pis2() const
Coordinate radius at , [r_unit].
int get_nt(int l) const
Returns the number of points in the co-latitude direction ( ) in domain no. l.
double ray_pole() 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 ...
const Valeur & get_spectral_va() const
Returns va (read only version)