79 double precis = 1.e-15 ;
123 assert( (type_t == SYM) || (type_t == NONSYM) ) ;
124 assert( (type_p == SYM) || (type_p == NONSYM) ) ;
126 int j = (type_t == SYM ? nt-1 : nt / 2);
129 double theta = M_PI / 2 ;
152 int j = (type_t == SYM ? nt-1 : nt / 2);
153 double theta = M_PI / 2 ;
154 double phi = M_PI / 2 ;
167 assert( (np == 1) || (np % 4 == 0) ) ;
176 cout <<
"Star::ray_eq_pis2 : the case type_p = " 177 << type_p <<
" is not contemplated yet !" << endl ;
200 assert ( ( type_t == SYM ) || ( type_t == NONSYM ) ) ;
211 int j = (type_t == SYM ? nt-1 : nt/2 ) ;
214 double theta = M_PI / 2 ;
223 cout <<
"Star::ray_eq_pi : the case type_p = " << type_p << endl ;
224 cout <<
" is not contemplated yet !" << endl ;
247 assert( ( type_t == SYM ) || ( type_t == NONSYM ) ) ;
249 int j = (type_t == SYM ? nt-1 : nt/2 );
250 double theta = M_PI / 2 ;
251 double phi = 3. * M_PI / 2 ;
261 assert( np % 4 == 0 ) ;
270 cout <<
"Star::ray_eq_3pis2 : the case type_p = " 271 << type_p <<
" is not implemented yet !" << endl ;
289 assert( (type_t == SYM) || (type_t == NONSYM) ) ;
315 "Star::mass_b : in the relativistic case, the baryon mass" 317 "computation cannot be performed by the base class Star !" 335 "Star::mass_g : in the relativistic case, the gravitational mass" 337 "computation cannot be performed by the base class Star !" int get_type_p() const
Returns the type of sampling in the direction: SYM : : symmetry with respect to the transformatio...
double * p_mass_b
Baryon mass.
Map & mp
Mapping associated with the star.
int get_np(int l) const
Returns the number of points in the azimuthal direction ( ) in domain no. l.
double * p_ray_eq_3pis2
Coordinate radius at , .
double * p_ray_eq_pi
Coordinate radius at , .
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 * 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 ...
Tbl * p_xi_surf
Description of the stellar surface: 2-D Tbl containing the values of the radial coordinate on the su...
double * p_ray_eq_pis2
Coordinate radius at , .
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.
double ray_eq_3pis2() const
Coordinate radius at , [r_unit].
double ray_eq_pis2() const
Coordinate radius at , [r_unit].
double * p_ray_pole
Coordinate radius at .
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_pi() const
Coordinate radius at , [r_unit].
double ray_pole() const
Coordinate radius at [r_unit].
double ray_eq() const
Coordinate radius at , [r_unit].
virtual double mass_b() const =0
Baryon mass.
int get_nt(int l) const
Returns the number of points in the co-latitude direction ( ) in domain no. l.
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_mass_g
Gravitational mass.
virtual double mass_g() const =0
Gravitational mass.
const Valeur & get_spectral_va() const
Returns va (read only version)