|
LORENE
|
Class for relativistic rotating stars in Dirac gauge and maximal slicing. More...
#include <star_rot_dirac.h>
Public Member Functions | |
| Star_rot_Dirac (Map &mp_i, int nzet_i, const Eos &eos_i, int filter=0) | |
| Standard constructor. | |
| Star_rot_Dirac (const Star_rot_Dirac &) | |
| Copy constructor. | |
| Star_rot_Dirac (Map &mp_i, const Eos &eos_i, FILE *fich) | |
Constructor from a file (see sauve(FILE*) ). | |
| virtual | ~Star_rot_Dirac () |
| Destructor. | |
| void | operator= (const Star_rot_Dirac &) |
Assignment to another Star_rot_Dirac. | |
| int | spectral_filter_order () const |
| Returns the filtering order. | |
| double | get_omega () const |
Returns the rotation angular velocity ![]() | |
| const Scalar & | get_psi4 () const |
Returns the conformal factor ![]() | |
| const Scalar & | get_psi2 () const |
Returns ![]() | |
| const Scalar & | get_qqq () const |
Returns ![]() | |
| const Scalar & | get_ln_psi () const |
Returns ![]() | |
| const Vector & | get_j_euler () const |
| Returns the momentum density 3-vector with respect to the Eulerian observer. | |
| const Scalar & | get_v2 () const |
Reutrns ![]() | |
| const Metric | get_tgamma () const |
Returns the conformal metric ![]() | |
| const Sym_tensor | get_aa () const |
Returns ![]() | |
| const Sym_tensor | get_taa () const |
Returns ![]() | |
| const Scalar | get_aa_quad () const |
Returns ![]() | |
| const Sym_tensor_trans | get_hh () const |
Returns ![]() | |
| virtual void | sauve (FILE *) const |
| Save in a file. | |
| virtual double | mass_b () const |
| Baryonic mass. | |
| virtual double | mass_g () const |
| Gravitational mass. | |
| virtual double | angu_mom () const |
| Angular momentum. | |
| virtual double | grv2 () const |
| Error on the virial identity GRV2. | |
| virtual double | grv3 () const |
| Error on the virial identity GRV3. | |
| virtual double | tsw () const |
| Ratio T/W. | |
| virtual double | aplat () const |
| Flattening r_pole/r_eq. | |
| virtual double | r_circ () const |
| Circumferential equatorial radius. | |
| virtual double | rp_circ () const |
| Circumferential polar radius. | |
| virtual double | ellipt () const |
| Ellipticity e. | |
| virtual void | hydro_euler () |
| Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid frame. | |
| void | update_metric () |
| Computes metric quantities from known potentials. | |
| 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) |
| Computes an equilibrium configuration. | |
| void | solve_logn_f (Scalar &ln_f_new) const |
| Solution of the two scalar Poisson equations for rotating stars in Dirac gauge. | |
| void | solve_logn_q (Scalar &ln_q_new) const |
| Solution of the two scalar Poisson equations for rotating stars in Dirac gauge. | |
| void | solve_qqq (Scalar &q_new) const |
| Solution of the two scalar Poisson equations for rotating stars in Dirac gauge. | |
| void | solve_shift (Vector &shift_new) const |
| Solution of the shift equation for rotating stars in Dirac gauge. | |
| void | solve_hij (Sym_tensor_trans &hij_new) const |
| Solution of the tensor Poisson equation for rotating stars in Dirac gauge. | |
| Map & | set_mp () |
| Read/write of the mapping. | |
| void | set_enthalpy (const Scalar &) |
| Assignment of the enthalpy field. | |
| void | equation_of_state () |
| Computes the proper baryon and energy density, as well as pressure from the enthalpy. | |
| virtual void | equilibrium_spher (double ent_c, double precis=1.e-14, const Tbl *pent_limit=0x0) |
| Computes a spherical static configuration. | |
| const Map & | get_mp () const |
| Returns the mapping. | |
| int | get_nzet () const |
| Returns the number of domains occupied by the star. | |
| const Eos & | get_eos () const |
| Returns the equation of state. | |
| const Scalar & | get_ent () const |
| Returns the enthalpy field. | |
| const Scalar & | get_nbar () const |
| Returns the proper baryon density. | |
| const Scalar & | get_ener () const |
| Returns the proper total energy density. | |
| const Scalar & | get_press () const |
| Returns the fluid pressure. | |
| const Scalar & | get_ener_euler () const |
| Returns the total energy density with respect to the Eulerian observer. | |
| const Scalar & | get_s_euler () const |
| Returns the trace of the stress tensor in the Eulerian frame. | |
| const Scalar & | get_gam_euler () const |
| Returns the Lorentz factor between the fluid and Eulerian observers. | |
| const Vector & | get_u_euler () const |
| Returns the fluid 3-velocity with respect to the Eulerian observer. | |
| const Tensor & | get_stress_euler () const |
| Returns the spatial part of the stress-energy tensor with respect to the Eulerian observer. | |
| const Scalar & | get_logn () const |
| Returns the logarithm of the lapse N. | |
| const Scalar & | get_nn () const |
| Returns the lapse function N. | |
| const Vector & | get_beta () const |
Returns the shift vector ![]() | |
| const Scalar & | get_lnq () const |
| const Metric & | get_gamma () const |
Returns the 3-metric ![]() | |
| double | ray_eq () const |
Coordinate radius at ![]() ![]() | |
| double | ray_eq_pis2 () const |
Coordinate radius at ![]() ![]() | |
| double | ray_eq_pi () const |
Coordinate radius at ![]() ![]() | |
| double | ray_eq_3pis2 () const |
Coordinate radius at ![]() ![]() | |
| double | ray_pole () const |
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 the surface at the collocation points in ![]() | |
| const Tbl & | xi_surf () const |
Description of the stellar surface: returns a 2-D Tbl containing the values of the radial coordinate ![]() ![]() | |
Protected Member Functions | |
| virtual void | del_deriv () const |
| Deletes all the derived quantities. | |
| void | set_der_0x0 () const |
Sets to 0x0 all the pointers on derived quantities. | |
| virtual void | del_hydro_euler () |
Sets to ETATNONDEF (undefined state) the hydrodynamical quantities relative to the Eulerian observer. | |
| virtual ostream & | operator>> (ostream &) const |
| Operator >> (virtual function called by the operator <<). | |
Protected Attributes | |
| int | spectral_filter |
| Spectral exponential filtering order. | |
| double | omega |
Rotation angular velocity ([f_unit] ). | |
| Scalar | psi4 |
Conformal factor ![]() | |
| Scalar | psi2 |
![]() | |
| Scalar | qqq |
![]() | |
| Scalar | ln_psi |
![]() | |
| Vector | j_euler |
| Momentum density 3-vector with respect to the Eulerian observer. | |
| Scalar | v2 |
![]() | |
| const Metric_flat & | flat |
flat metric ![]() | |
| Metric | tgamma |
![]() | |
| Sym_tensor | aa |
![]() | |
| Sym_tensor | taa |
![]() | |
| Scalar | aa_quad |
![]() | |
| Sym_tensor_trans | hh |
![]() ![]() | |
| double * | p_angu_mom |
| Angular momentum. | |
| double * | p_grv2 |
| Error on the virial identity GRV2. | |
| double * | p_grv3 |
| Error on the virial identity GRV3. | |
| double * | p_tsw |
| Ratio T/W. | |
| double * | p_r_circ |
| Circumferential equatorial radius. | |
| double * | p_rp_circ |
| Circumferential polar radius. | |
| Map & | mp |
| Mapping associated with the star. | |
| int | nzet |
Number of domains of *mp occupied by the star. | |
| const Eos & | eos |
| Equation of state of the stellar matter. | |
| Scalar | ent |
| Log-enthalpy. | |
| Scalar | nbar |
| Baryon density in the fluid frame. | |
| Scalar | ener |
| Total energy density in the fluid frame. | |
| Scalar | press |
| Fluid pressure. | |
| Scalar | ener_euler |
| Total energy density in the Eulerian frame. | |
| Scalar | s_euler |
| Trace of the stress scalar in the Eulerian frame. | |
| Scalar | gam_euler |
| Lorentz factor between the fluid and Eulerian observers. | |
| Vector | u_euler |
| Fluid 3-velocity with respect to the Eulerian observer. | |
| Sym_tensor | stress_euler |
| Spatial part of the stress-energy tensor with respect to the Eulerian observer. | |
| Scalar | logn |
| Logarithm of the lapse N . | |
| Scalar | nn |
| Lapse function N . | |
| Vector | beta |
| Shift vector. | |
| Scalar | lnq |
| Metric | gamma |
| 3-metric | |
| double * | p_ray_eq |
Coordinate radius at ![]() ![]() | |
| double * | p_ray_eq_pis2 |
Coordinate radius at ![]() ![]() | |
| double * | p_ray_eq_pi |
Coordinate radius at ![]() ![]() | |
| double * | p_ray_eq_3pis2 |
Coordinate radius at ![]() ![]() | |
| double * | p_ray_pole |
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 surface at the collocation points in ![]() | |
| Tbl * | p_xi_surf |
Description of the stellar surface: 2-D Tbl containing the values of the radial coordinate ![]() ![]() | |
| double * | p_mass_b |
| Baryon mass. | |
| double * | p_mass_g |
| Gravitational mass. | |
Class for relativistic rotating stars in Dirac gauge and maximal slicing.
(*** Under development ***)()
Definition at line 46 of file star_rot_dirac.h.
| Lorene::Star_rot_Dirac::Star_rot_Dirac | ( | Map & | mp_i, |
| int | nzet_i, | ||
| const Eos & | eos_i, | ||
| int | filter = 0 ) |
Standard constructor.
| mp_i | Mapping on which the star will be defined |
| nzet_i | Number of domains occupied by the star |
| eos_i | Equation of state of the stellar matter |
| filter | order for spectral exponential filtering |
Definition at line 93 of file star_rot_dirac.C.
References aa, aa_quad, flat, Lorene::flat_met_spher(), Lorene::get_bvect_spher(), hh, j_euler, ln_psi, Lorene::Map(), omega, psi2, psi4, qqq, set_der_0x0(), spectral_filter, Lorene::Star::Star(), taa, tgamma, and v2.
| Lorene::Star_rot_Dirac::Star_rot_Dirac | ( | const Star_rot_Dirac & | star | ) |
Copy constructor.
Definition at line 137 of file star_rot_dirac.C.
References aa, aa_quad, flat, hh, j_euler, ln_psi, omega, psi2, psi4, qqq, set_der_0x0(), spectral_filter, Lorene::Star::Star(), Star_rot_Dirac(), taa, tgamma, and v2.
Constructor from a file (see sauve(FILE*) ).
| mp_i | Mapping on which the star will be defined |
| eos_i | Equation of state of the stellar matter |
| fich | input file (must have been created by the function sauve ) |
Definition at line 164 of file star_rot_dirac.C.
References aa, aa_quad, Lorene::Star::beta, Lorene::Star::equation_of_state(), flat, Lorene::flat_met_spher(), Lorene::fread_be(), Lorene::get_bvect_spher(), Lorene::get_mg(), hh, hydro_euler(), j_euler, ln_psi, Lorene::Map(), omega, psi2, psi4, qqq, set_der_0x0(), spectral_filter, Lorene::Star::Star(), taa, tgamma, update_metric(), and v2.
|
virtual |
|
virtual |
Angular momentum.
Definition at line 143 of file strot_dirac_global.C.
References Lorene::contract(), Lorene::Star::gamma, Lorene::Scalar::integrale(), j_euler, Lorene::Star::mp, Lorene::Scalar::mult_rsint(), p_angu_mom, Lorene::Vector::set(), Lorene::Scalar::set_etat_zero(), Lorene::sqrt(), and Lorene::Scalar::std_spectral_base().
|
virtual |
Flattening r_pole/r_eq.
Definition at line 418 of file strot_dirac_global.C.
References Lorene::Star::ray_eq(), and Lorene::Star::ray_pole().
|
protectedvirtual |
Deletes all the derived quantities.
Reimplemented from Lorene::Star.
Definition at line 218 of file star_rot_dirac.C.
References Lorene::Star::del_deriv(), p_angu_mom, p_grv2, p_grv3, p_r_circ, p_rp_circ, p_tsw, and set_der_0x0().
|
protectedvirtual |
Sets to ETATNONDEF (undefined state) the hydrodynamical quantities relative to the Eulerian observer.
Reimplemented from Lorene::Star.
Definition at line 246 of file star_rot_dirac.C.
References del_deriv(), Lorene::Star::del_hydro_euler(), j_euler, and v2.
|
virtual |
Ellipticity e.
Defined as 


r_circ() and rp_circ().
Definition at line 428 of file strot_dirac_global.C.
References r_circ(), rp_circ(), and Lorene::sqrt().
|
inherited |
Computes the proper baryon and energy density, as well as pressure from the enthalpy.
Definition at line 462 of file star.C.
References Lorene::Param::add_int(), Lorene::Scalar::allocate_all(), del_deriv(), ener, ent, eos, Lorene::Mg3d::get_grille3d(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), mp, nbar, nzet, press, Lorene::Mtbl::set(), Lorene::Scalar::set_domain(), Lorene::Mtbl::set_etat_qcq(), Lorene::Tbl::set_etat_qcq(), Lorene::Scalar::std_spectral_base(), Lorene::Mtbl::t, and Lorene::Grille3d::x.
| void Lorene::Star_rot_Dirac::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 ) |
Computes an equilibrium configuration.
Definition at line 95 of file strot_dirac_equilibrium.C.
References Lorene::abs(), Lorene::Tbl::annule_hard(), Lorene::Star::beta, Lorene::contract(), Lorene::diffrel(), Lorene::Star::ent, Lorene::Star::equation_of_state(), flat, Lorene::Star::gam_euler, Lorene::Star::gamma, Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Mg3d::get_type_t(), grv2(), hh, hydro_euler(), Lorene::log(), Lorene::log10(), Lorene::Star::logn, mass_b(), mass_g(), Lorene::Star::mp, Lorene::Star::nn, Lorene::Star::nzet, omega, Lorene::pow(), qqq, Lorene::Tbl::set(), Lorene::Tensor::set_etat_zero(), solve_hij(), solve_logn_f(), solve_logn_q(), solve_qqq(), solve_shift(), Lorene::sqrt(), Lorene::Scalar::std_spectral_base(), Lorene::Star::u_euler, update_metric(), v2, and Lorene::Scalar::val_grid_point().
|
virtualinherited |
Computes a spherical static configuration.
| ent_c | [input] central value of the enthalpy |
| precis | [input] threshold in the relative difference between the enthalpy fields of two consecutive steps to stop the iterative procedure (default value: 1.e-14) |
| ent_limit | [input] : array of enthalpy values to be set at the boundaries between the domains; if set to 0x0 (default), the initial values will be kept. |
Definition at line 95 of file star_equil_spher.C.
References Lorene::Map_et::adapt(), Lorene::Param::add_double(), Lorene::Param::add_int(), Lorene::Param::add_int_mod(), Lorene::Param::add_tbl(), Lorene::diffrel(), Lorene::Map_af::dsdr(), Lorene::Scalar::dsdr(), ener, ener_euler, ent, equation_of_state(), Lorene::exp(), gam_euler, gamma, Lorene::Map_af::get_alpha(), Lorene::Map_et::get_alpha(), Lorene::Map_af::get_beta(), Lorene::Map_et::get_beta(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Map_af::homothetie(), Lorene::Scalar::integrale(), logn, mass_b(), mass_g(), mp, nn, Lorene::norme(), nzet, Lorene::Map_af::poisson(), press, s_euler, Lorene::Tensor::set(), Lorene::Map_af::set_alpha(), Lorene::Map_af::set_beta(), Lorene::Scalar::set_dzpuis(), Lorene::Cmp::set_etat_qcq(), Lorene::Tensor::set_etat_zero(), Lorene::sqrt(), Lorene::Scalar::std_spectral_base(), u_euler, and Lorene::Scalar::val_grid_point().
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Returns the total energy density with respect to the Eulerian observer.
Definition at line 376 of file star.h.
References ener_euler.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inline |
Returns the momentum density 3-vector with respect to the Eulerian observer.
Definition at line 209 of file star_rot_dirac.h.
References j_euler.
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
Returns the rotation angular velocity 
Definition at line 178 of file star_rot_dirac.h.
References omega.
|
inlineinherited |
|
inline |
|
inline |
|
inline |
|
inlineinherited |
|
inlineinherited |
Returns the spatial part of the stress-energy tensor with respect to the Eulerian observer.
Definition at line 390 of file star.h.
References stress_euler.
|
inline |
|
inline |
|
inlineinherited |
|
inline |
|
virtual |
Error on the virial identity GRV2.
Definition at line 204 of file strot_dirac_global.C.
References aa, Lorene::Scalar::div_r_dzpuis(), Lorene::Star::ener_euler, Lorene::Star::gamma, Lorene::Star::logn, p_grv2, Lorene::Star::press, Lorene::sqrt(), Lorene::Scalar::std_spectral_base(), taa, and v2.
|
virtual |
Error on the virial identity GRV3.
Definition at line 273 of file strot_dirac_global.C.
References aa_quad, Lorene::contract(), Lorene::Star::gamma, Lorene::Scalar::integrale(), Lorene::Star::logn, p_grv3, Lorene::Star::s_euler, Lorene::sqrt(), and Lorene::Scalar::std_spectral_base().
|
virtual |
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid frame.
More later......
Reimplemented from Lorene::Star.
Reimplemented in Lorene::Star_rot_Dirac_diff.
Definition at line 71 of file strot_dirac_hydro.C.
References Lorene::Star::beta, Lorene::contract(), del_deriv(), Lorene::Star::ener, Lorene::Star::ener_euler, Lorene::Star::gam_euler, Lorene::Star::gamma, j_euler, Lorene::Star::nn, Lorene::Star::nzet, omega, Lorene::Star::press, Lorene::Star::s_euler, spectral_filter, Lorene::sqrt(), Lorene::Star::stress_euler, Lorene::Star::u_euler, and v2.
|
virtualinherited |
Description of the stellar surface: returns a 2-D Itbl containing the values of the domain index l on the surface at the collocation points in 
The stellar surface is defined as the location where the enthalpy (member ent) vanishes.
Reimplemented in Lorene::Star_rot.
Definition at line 63 of file star_global.C.
|
virtual |
Baryonic mass.
Implements Lorene::Star.
Definition at line 94 of file strot_dirac_global.C.
References Lorene::Star::gam_euler, Lorene::Star::gamma, Lorene::Scalar::integrale(), Lorene::Star::nbar, Lorene::Star::p_mass_b, Lorene::sqrt(), and Lorene::Scalar::std_spectral_base().
|
virtual |
Gravitational mass.
Implements Lorene::Star.
Definition at line 117 of file strot_dirac_global.C.
References Lorene::Star::beta, Lorene::contract(), Lorene::Star::ener_euler, Lorene::Star::gamma, Lorene::Scalar::integrale(), j_euler, Lorene::Star::nn, Lorene::Star::p_mass_g, Lorene::Star::s_euler, Lorene::sqrt(), and Lorene::Scalar::std_spectral_base().
| void Lorene::Star_rot_Dirac::operator= | ( | const Star_rot_Dirac & | star | ) |
Assignment to another Star_rot_Dirac.
Definition at line 266 of file star_rot_dirac.C.
References aa, aa_quad, del_deriv(), flat, hh, j_euler, ln_psi, omega, Lorene::Star::operator=(), psi2, psi4, qqq, spectral_filter, Star_rot_Dirac(), tgamma, and v2.
|
protectedvirtual |
Operator >> (virtual function called by the operator <<).
Reimplemented from Lorene::Star.
Reimplemented in Lorene::Star_rot_Dirac_diff.
Definition at line 315 of file star_rot_dirac.C.
References angu_mom(), aplat(), ellipt(), grv2(), grv3(), mass_g(), Lorene::Star::mp, omega, Lorene::Star::operator>>(), Lorene::pow(), r_circ(), Lorene::Star::ray_eq(), rp_circ(), spectral_filter, and tsw().
|
virtual |
Circumferential equatorial radius.
Definition at line 331 of file strot_dirac_global.C.
References Lorene::Star::gamma, Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_t(), Lorene::Star::mp, Lorene::Star::nzet, p_r_circ, Lorene::Star::ray_eq(), and Lorene::sqrt().
|
inherited |
Coordinate radius at 

Definition at line 108 of file star_global.C.
References Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_p(), Lorene::Mg3d::get_type_t(), l_surf(), mp, p_ray_eq, Lorene::phi, and xi_surf().
|
inherited |
Coordinate radius at 

Definition at line 233 of file star_global.C.
References Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_p(), Lorene::Mg3d::get_type_t(), l_surf(), mp, p_ray_eq_3pis2, Lorene::phi, ray_eq_pis2(), and xi_surf().
|
inherited |
Coordinate radius at 

Definition at line 186 of file star_global.C.
References Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_p(), Lorene::Mg3d::get_type_t(), l_surf(), mp, p_ray_eq_pi, Lorene::phi, ray_eq(), and xi_surf().
|
inherited |
Coordinate radius at 

Definition at line 138 of file star_global.C.
References Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_p(), Lorene::Mg3d::get_type_t(), l_surf(), mp, p_ray_eq_pis2, Lorene::phi, and xi_surf().
|
inherited |
Coordinate radius at 
Definition at line 278 of file star_global.C.
References Lorene::Mg3d::get_type_t(), l_surf(), mp, p_ray_pole, Lorene::phi, and xi_surf().
|
virtual |
Circumferential polar radius.
Definition at line 357 of file strot_dirac_global.C.
References Lorene::Scalar::annule(), Lorene::Scalar::annule_hard(), Lorene::Valeur::c_cf, Lorene::Valeur::coef(), Lorene::Scalar::dsdt(), Lorene::Star::gamma, Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Scalar::get_spectral_va(), Lorene::Star::l_surf(), Lorene::Star::mp, Lorene::Star::nzet, p_rp_circ, Lorene::phi, Lorene::Scalar::set_grid_point(), Lorene::Scalar::set_spectral_va(), Lorene::sqrt(), Lorene::Scalar::std_spectral_base(), Lorene::tet, Lorene::Valeur::val_point_jk(), and Lorene::Star::xi_surf().
|
virtual |
Save in a file.
Reimplemented from Lorene::Star.
Reimplemented in Lorene::Star_rot_Dirac_diff.
Definition at line 299 of file star_rot_dirac.C.
References Lorene::Star::beta, Lorene::fwrite_be(), hh, omega, qqq, Lorene::Star::sauve(), and spectral_filter.
|
protectedvirtual |
Sets to 0x0 all the pointers on derived quantities.
Reimplemented from Lorene::Star.
Definition at line 234 of file star_rot_dirac.C.
References p_angu_mom, p_grv2, p_grv3, p_r_circ, p_rp_circ, and p_tsw.
|
inherited |
Assignment of the enthalpy field.
Definition at line 379 of file star.C.
References del_deriv(), ent, and equation_of_state().
|
inlineinherited |
| void Lorene::Star_rot_Dirac::solve_hij | ( | Sym_tensor_trans & | hij_new | ) | const |
Solution of the tensor Poisson equation for rotating stars in Dirac gauge.
Definition at line 78 of file strot_dirac_solvehij.C.
References aa, Lorene::Star::beta, Lorene::contract(), Lorene::Tensor::derive_cov(), Lorene::Tensor_sym::derive_cov(), Lorene::Scalar::derive_lie(), Lorene::Sym_tensor::derive_lie(), hh, Lorene::Scalar::inc_dzpuis(), Lorene::Tensor::inc_dzpuis(), ln_psi, Lorene::Star::mp, Lorene::Star::nn, Lorene::Sym_tensor_trans::poisson(), psi2, psi4, qqq, Lorene::Star::s_euler, Lorene::Tensor::set(), Lorene::Scalar::set_dzpuis(), Lorene::Scalar::set_etat_zero(), Lorene::Star::stress_euler, and tgamma.
| void Lorene::Star_rot_Dirac::solve_logn_f | ( | Scalar & | ln_f_new | ) | const |
Solution of the two scalar Poisson equations for rotating stars in Dirac gauge.
Definition at line 62 of file strot_dirac_solvenq.C.
References Lorene::Star::ener_euler, Lorene::Scalar::poisson(), psi4, and Lorene::Star::s_euler.
| void Lorene::Star_rot_Dirac::solve_logn_q | ( | Scalar & | ln_q_new | ) | const |
Solution of the two scalar Poisson equations for rotating stars in Dirac gauge.
Definition at line 76 of file strot_dirac_solvenq.C.
References aa_quad, Lorene::contract(), Lorene::Tensor::derive_cov(), hh, Lorene::Tensor::inc_dzpuis(), ln_psi, Lorene::Star::logn, Lorene::Star::mp, Lorene::Scalar::poisson(), psi4, tgamma, and Lorene::Tensor::up_down().
| void Lorene::Star_rot_Dirac::solve_qqq | ( | Scalar & | q_new | ) | const |
Solution of the two scalar Poisson equations for rotating stars in Dirac gauge.
Definition at line 105 of file strot_dirac_solvenq.C.
References aa_quad, Lorene::contract(), Lorene::Tensor::derive_cov(), Lorene::Scalar::get_etat(), hh, ln_psi, Lorene::Star::mp, Lorene::Star::nn, Lorene::Scalar::poisson(), psi2, psi4, qqq, Lorene::Star::s_euler, Lorene::Scalar::std_spectral_base(), and tgamma.
| void Lorene::Star_rot_Dirac::solve_shift | ( | Vector & | shift_new | ) | const |
Solution of the shift equation for rotating stars in Dirac gauge.
Definition at line 54 of file strot_dirac_solveshift.C.
References aa, Lorene::Star::beta, Lorene::contract(), Lorene::Vector::div_free(), hh, j_euler, ln_psi, Lorene::Star::mp, Lorene::Star::nn, Lorene::Vector_divfree::poisson(), psi4, Lorene::Vector::set(), Lorene::Scalar::set_dzpuis(), and tgamma.
|
inline |
Returns the filtering order.
Definition at line 173 of file star_rot_dirac.h.
References spectral_filter.
|
virtual |
Ratio T/W.
Reimplemented in Lorene::Star_rot_Dirac_diff.
Definition at line 177 of file strot_dirac_global.C.
References angu_mom(), Lorene::Star::ener, Lorene::Star::gam_euler, Lorene::Star::gamma, Lorene::Scalar::integrale(), mass_g(), omega, p_tsw, Lorene::sqrt(), and Lorene::Scalar::std_spectral_base().
| void Lorene::Star_rot_Dirac::update_metric | ( | ) |
Computes metric quantities from known potentials.
The calculation is performed starting from qqq, logn, shift, hh, which are supposed to be up to date. From these, the following fields are updated: nnn, psi4, psi2, ln_psi, tgamma, aa, taa, and aa_quad.
Definition at line 59 of file strot_dirac_upmetr.C.
References aa, aa_quad, Lorene::Star::beta, Lorene::contract(), del_deriv(), Lorene::exp(), flat, Lorene::Star::gamma, hh, ln_psi, Lorene::log(), Lorene::Star::logn, Lorene::Star::nn, psi2, psi4, qqq, Lorene::sqrt(), taa, and tgamma.
|
inherited |
Description of the stellar surface: returns a 2-D Tbl containing the values of the radial coordinate 

The stellar surface is defined as the location where the enthalpy (member ent) vanishes.
Definition at line 89 of file star_global.C.
|
protected |

Definition at line 87 of file star_rot_dirac.h.
|
protected |

Definition at line 89 of file star_rot_dirac.h.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
flat metric 
Definition at line 84 of file star_rot_dirac.h.
|
protectedinherited |
|
protected |


We impose the Dirac gauge 

Definition at line 96 of file star_rot_dirac.h.
|
protected |
Momentum density 3-vector with respect to the Eulerian observer.
Definition at line 77 of file star_rot_dirac.h.
|
protected |

Definition at line 67 of file star_rot_dirac.h.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
Rotation angular velocity ([f_unit] ).
Definition at line 59 of file star_rot_dirac.h.
|
mutableprotected |
Angular momentum.
Definition at line 106 of file star_rot_dirac.h.
|
mutableprotected |
Error on the virial identity GRV2.
Definition at line 107 of file star_rot_dirac.h.
|
mutableprotected |
Error on the virial identity GRV3.
Definition at line 108 of file star_rot_dirac.h.
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotected |
Circumferential equatorial radius.
Definition at line 110 of file star_rot_dirac.h.
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotected |
Circumferential polar radius.
Definition at line 111 of file star_rot_dirac.h.
|
mutableprotected |
Ratio T/W.
Definition at line 109 of file star_rot_dirac.h.
|
mutableprotectedinherited |
|
protectedinherited |
|
protected |

Definition at line 65 of file star_rot_dirac.h.
|
protected |
Conformal factor 
Definition at line 64 of file star_rot_dirac.h.
|
protected |

Definition at line 66 of file star_rot_dirac.h.
|
protectedinherited |
|
protected |
Spectral exponential filtering order.
If 0, no filtering is done (see also Scalar::exponential_filter_r). Filtering is performed only in shells containing matter, i.e. for domain numbers l such that 
nzet .
Definition at line 57 of file star_rot_dirac.h.
|
protectedinherited |
|
protected |

Definition at line 88 of file star_rot_dirac.h.
|
protected |

Definition at line 86 of file star_rot_dirac.h.
|
protectedinherited |
|
protected |

Definition at line 78 of file star_rot_dirac.h.