72 int np =
mp.get_mg()->get_np(0) ;
73 int nt =
mp.get_mg()->get_nt(0) ;
79 double precis = 1.e-15 ;
83 (
ent.get_spectral_va()).equipot(ent0,
nzet, precis, nitermax, niter, *
p_l_surf,
115 const Mg3d& mg = *(
mp.get_mg()) ;
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 ;
145 const Mg3d& mg = *(
mp.get_mg()) ;
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 ;
193 const Mg3d& mg = *(
mp.get_mg()) ;
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 ;
240 const Mg3d& mg = *(
mp.get_mg()) ;
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 ;
286 const Mg3d& mg = *(
mp.get_mg()) ;
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 !"
Basic integer array class.
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.
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.
Coord phi
coordinate centered on the grid