LORENE
|
Class for magnetized (isolator or perfect conductor), rigidly rotating stars. More...
#include <et_rot_mag.h>
Public Member Functions | |
Et_rot_mag (Map &mp_i, int nzet_i, bool relat, const Eos &eos_i, const int cond) | |
Standard constructor. More... | |
Et_rot_mag (const Et_rot_mag &) | |
Copy constructor. More... | |
Et_rot_mag (Map &mp_i, const Eos &eos_i, FILE *fich, int withbphi=0) | |
Constructor from a file (see sauve(FILE*) ). More... | |
virtual | ~Et_rot_mag () |
Destructor. More... | |
void | operator= (const Et_rot_mag &) |
Assignment to another Et_rot_mag. More... | |
bool | is_conduct () const |
Tells if the star is made of conducting or isolating material. More... | |
const Cmp & | get_At () const |
Returns the t component of the electromagnetic potential, divided by . More... | |
const Cmp & | get_Aphi () const |
Returns the component of the electromagnetic potential divided by . More... | |
const Cmp & | get_Bphi () const |
Returns the component of the magnetic field. More... | |
const Cmp & | get_jt () const |
Returns the t component of the current 4-vector. More... | |
const Cmp & | get_jphi () const |
Returns the component of the current 4-vector. More... | |
const Tenseur & | get_Eem () const |
Returns the electromagnetic energy density in the Eulerian frame. More... | |
const Tenseur & | get_Jpem () const |
Returns the -component of the electromagnetic momentum density 3-vector, as measured in the Eulerian frame. More... | |
const Tenseur & | get_Srrem () const |
Returns the rr-component of the electromagnetic stress 3-tensor, as measured in the Eulerian frame. More... | |
const Tenseur & | get_Sppem () const |
Returns the component of the electromagnetic stress 3-tensor, as measured in the Eulerian frame. More... | |
double | get_Q () const |
Returns the requested electric charge in the case of a perfect conductor and the charge/baryon for an isolator. More... | |
double | get_a_j () const |
Returns the amplitude of the current/charge function. More... | |
virtual void | sauve (FILE *) const |
Save in a file. More... | |
virtual ostream & | operator>> (ostream &) const |
Operator >> (virtual function called by the operator <<). More... | |
Tenseur | Elec () const |
Computes the electric field spherical components in Lorene's units. More... | |
Tenseur | Magn () const |
Computes the magnetic field spherical components in Lorene's units. More... | |
virtual void | MHD_comput () |
Computes the electromagnetic part of the stress-energy tensor. More... | |
virtual double | mass_g () const |
Gravitational mass. More... | |
virtual double | angu_mom () const |
Angular momentum. More... | |
virtual double | grv2 () const |
Error on the virial identity GRV2. More... | |
virtual double | tsw () const |
Ratio T/W. More... | |
double | MagMom () const |
Magnetic Momentum in SI units. More... | |
double | Q_comput () const |
Computed charge deduced from the asymptotic behaviour of At [SI units]. More... | |
double | Q_int () const |
Computed charge from the integration of charge density over the star (i.e. More... | |
double | GyroMag () const |
Gyromagnetic ratio . More... | |
virtual double | grv3 (ostream *ost=0x0) const |
Error on the virial identity GRV3. More... | |
virtual double | mom_quad_old () const |
Part of the quadrupole moment. More... | |
void | magnet_comput (const int adapt_flag, Cmp(*f_j)(const Cmp &x, const double), Param &par_poisson_At, Param &par_poisson_Avect) |
Computes the electromagnetic quantities solving the Maxwell equations (6) and (7) of [Bocquet, Bonazzola, Gourgoulhon and Novak, Astron. More... | |
virtual void | magnet_comput_plus (const int adapt_flag, const int initial_j, const Tbl an_j, Cmp(*f_j)(const Cmp &x, const Tbl), const Tbl bn_j, Cmp(*g_j)(const Cmp &x, const Tbl), Cmp(*N_j)(const Cmp &x, const Tbl), Param &par_poisson_At, Param &par_poisson_Avect) |
Computes the electromagnetic quantities solving the Maxwell equations (6) and (7) of [Bocquet, Bonazzola, Gourgoulhon and Novak, Astron. More... | |
void | equilibrium_mag (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, const double Q0, const double a_j0, Cmp(*f_j)(const Cmp &x, const double), Cmp(*M_j)(const Cmp &x, const double)) |
Computes an equilibrium configuration. More... | |
void | equilibrium_mag_plus (const Itbl &icontrol, const Tbl &control, Tbl &diff, const int initial_j, const Tbl an_j, Cmp(*f_j)(const Cmp &x, const Tbl), Cmp(*M_j)(const Cmp &x, const Tbl), const Tbl bn_j, Cmp(*g_j)(const Cmp &x, const Tbl), Cmp(*N_j)(const Cmp &x, const Tbl), const double relax_mag) |
Computes an equilibrium configuration. More... | |
virtual double | get_omega_c () const |
Returns the central value of the rotation angular velocity ( [f_unit] ) More... | |
const Tenseur & | get_bbb () const |
Returns the metric factor B. More... | |
const Tenseur & | get_b_car () const |
Returns the square of the metric factor B. More... | |
const Tenseur & | get_nphi () const |
Returns the metric coefficient . More... | |
const Tenseur & | get_tnphi () const |
Returns the component of the shift vector. More... | |
const Tenseur & | get_uuu () const |
Returns the norm of u_euler . More... | |
const Tenseur & | get_logn () const |
Returns the metric potential = logn_auto . More... | |
const Tenseur & | get_nuf () const |
Returns the part of the Metric potential = logn generated by the matter terms. More... | |
const Tenseur & | get_nuq () const |
Returns the Part of the Metric potential = logn generated by the quadratic terms. More... | |
const Tenseur & | get_dzeta () const |
Returns the Metric potential = beta_auto . More... | |
const Tenseur & | get_tggg () const |
Returns the Metric potential . More... | |
const Tenseur & | get_w_shift () const |
Returns the vector used in the decomposition of shift , following Shibata's prescription [Prog. More... | |
const Tenseur & | get_khi_shift () const |
Returns the scalar used in the decomposition of shift following Shibata's prescription [Prog. More... | |
const Tenseur_sym & | get_tkij () const |
Returns the tensor related to the extrinsic curvature tensor by . More... | |
const Tenseur & | get_ak_car () const |
Returns the scalar . More... | |
virtual void | display_poly (ostream &) const |
Display in polytropic units. More... | |
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 . More... | |
virtual double | mass_b () const |
Baryon mass. More... | |
virtual double | r_circ () const |
Circumferential equatorial radius. More... | |
virtual double | r_circ_merid () const |
Circumferential meridional radius. More... | |
virtual double | area () const |
Surface area. More... | |
virtual double | mean_radius () const |
Mean radius. More... | |
virtual double | aplat () const |
Flatening r_pole/r_eq. More... | |
virtual double | z_eqf () const |
Forward redshift factor at equator. More... | |
virtual double | z_eqb () const |
Backward redshift factor at equator. More... | |
virtual double | z_pole () const |
Redshift factor at North pole. More... | |
virtual double | mom_quad () const |
Quadrupole moment. More... | |
virtual double | mom_quad_Bo () const |
Part of the quadrupole moment. More... | |
virtual double | r_isco (ostream *ost=0x0) const |
Circumferential radius of the innermost stable circular orbit (ISCO). More... | |
virtual double | f_isco () const |
Orbital frequency at the innermost stable circular orbit (ISCO). More... | |
virtual double | espec_isco () const |
Energy of a particle on the ISCO. More... | |
virtual double | lspec_isco () const |
Angular momentum of a particle on the ISCO. More... | |
virtual double | f_eccentric (double ecc, double periast, ostream *ost=0x0) const |
Computation of frequency of eccentric orbits. More... | |
virtual double | f_eq () const |
Orbital frequency at the equator. More... | |
virtual void | hydro_euler () |
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid frame. More... | |
void | update_metric () |
Computes metric coefficients from known potentials. More... | |
void | fait_shift () |
Computes shift from w_shift and khi_shift according to Shibata's prescription [Prog. More... | |
void | fait_nphi () |
Computes tnphi and nphi from the Cartesian components of the shift, stored in shift . More... | |
void | extrinsic_curvature () |
Computes tkij and ak_car from shift , nnn and b_car . More... | |
virtual 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, Param *=0x0) |
Computes an equilibrium configuration. More... | |
Map & | set_mp () |
Read/write of the mapping. More... | |
void | set_enthalpy (const Cmp &) |
Assignment of the enthalpy field. More... | |
virtual void | equation_of_state () |
Computes the proper baryon and energy density, as well as pressure from the enthalpy. More... | |
virtual void | equilibrium_spher (double ent_c, double precis=1.e-14, const Tbl *ent_limit=0x0) |
Computes a spherical static configuration. More... | |
void | equil_spher_regular (double ent_c, double precis=1.e-14) |
Computes a spherical static configuration. More... | |
virtual void | equil_spher_falloff (double ent_c, double precis=1.e-14) |
Computes a spherical static configuration with the outer boundary condition at a finite radius. More... | |
const Map & | get_mp () const |
Returns the mapping. More... | |
int | get_nzet () const |
Returns the number of domains occupied by the star. More... | |
bool | is_relativistic () const |
Returns true for a relativistic star, false for a Newtonian one. More... | |
const Eos & | get_eos () const |
Returns the equation of state. More... | |
const Tenseur & | get_ent () const |
Returns the enthalpy field. More... | |
const Tenseur & | get_nbar () const |
Returns the proper baryon density. More... | |
const Tenseur & | get_ener () const |
Returns the proper total energy density. More... | |
const Tenseur & | get_press () const |
Returns the fluid pressure. More... | |
const Tenseur & | get_ener_euler () const |
Returns the total energy density with respect to the Eulerian observer. More... | |
const Tenseur & | get_s_euler () const |
Returns the trace of the stress tensor in the Eulerian frame. More... | |
const Tenseur & | get_gam_euler () const |
Returns the Lorentz factor between the fluid and Eulerian observers. More... | |
const Tenseur & | get_u_euler () const |
Returns the fluid 3-velocity with respect to the Eulerian observer. More... | |
const Tenseur & | get_logn_auto () const |
Returns the logarithm of the part of the lapse N generated principaly by the star. More... | |
const Tenseur & | get_logn_auto_regu () const |
Returns the regular part of the logarithm of the part of the lapse N generated principaly by the star. More... | |
const Tenseur & | get_logn_auto_div () const |
Returns the divergent part of the logarithm of the part of the lapse N generated principaly by the star. More... | |
const Tenseur & | get_d_logn_auto_div () const |
Returns the gradient of logn_auto_div . More... | |
const Tenseur & | get_beta_auto () const |
Returns the logarithm of the part of the product AN generated principaly by the star. More... | |
const Tenseur & | get_nnn () const |
Returns the total lapse function N. More... | |
const Tenseur & | get_shift () const |
Returns the total shift vector . More... | |
const Tenseur & | get_a_car () const |
Returns the total conformal factor . More... | |
double | ray_eq () const |
Coordinate radius at , [r_unit]. More... | |
double | ray_eq (int kk) const |
Coordinate radius at , [r_unit]. More... | |
double | ray_eq_pis2 () const |
Coordinate radius at , [r_unit]. More... | |
double | ray_eq_pi () const |
Coordinate radius at , [r_unit]. More... | |
double | ray_eq_3pis2 () const |
Coordinate radius at , [r_unit]. More... | |
double | ray_pole () const |
Coordinate radius at [r_unit]. More... | |
const Tbl & | xi_surf () const |
Description of the stellar surface: returns a 2-D Tbl containing the values of the radial coordinate on the surface at the collocation points in . More... | |
Static Public Member Functions | |
static double | lambda_grv2 (const Cmp &sou_m, const Cmp &sou_q) |
Computes the coefficient which ensures that the GRV2 virial identity is satisfied. More... | |
Protected Member Functions | |
virtual void | del_deriv () const |
Deletes all the derived quantities. More... | |
virtual void | set_der_0x0 () const |
Sets to 0x0 all the pointers on derived quantities. More... | |
virtual void | del_hydro_euler () |
Sets to ETATNONDEF (undefined state) the hydrodynamical quantities relative to the Eulerian observer. More... | |
virtual void | partial_display (ostream &) const |
Printing of some informations, excluding all global quantities. More... | |
Protected Attributes | |
Cmp | A_t |
t-component of the elecctromagnetic potential 1-form, divided by . More... | |
Cmp | A_phi |
-component of the electromagnetic potential 1-form divided by . More... | |
Cmp | B_phi |
-component of the magnetic field More... | |
Cmp | j_t |
t-component of the current 4-vector More... | |
Cmp | j_phi |
-component of the current 4-vector More... | |
Tenseur | E_em |
electromagnetic energy density in the Eulerian frame More... | |
Tenseur | Jp_em |
component of the electromagnetic momentum density 3-vector, as measured in the Eulerian frame. More... | |
Tenseur | Srr_em |
rr component of the electromagnetic stress 3-tensor, as measured in the Eulerian frame. (not used and set to 0, should be supressed) More... | |
Tenseur | Spp_em |
component of the electromagnetic stress 3-tensor, as measured in the Eulerian frame. More... | |
double | Q |
In the case of a perfect conductor, the requated baryonic charge. More... | |
double | a_j |
Amplitude of the curent/charge function. More... | |
int | conduc |
Flag: conduc=0->isolator, 1->perfect conductor. More... | |
double | omega |
Rotation angular velocity ( [f_unit] ) More... | |
Tenseur | bbb |
Metric factor B. More... | |
Tenseur | b_car |
Square of the metric factor B. More... | |
Tenseur | nphi |
Metric coefficient . More... | |
Tenseur | tnphi |
Component of the shift vector. More... | |
Tenseur | uuu |
Norm of u_euler . More... | |
Tenseur & | logn |
Metric potential = logn_auto . More... | |
Tenseur | nuf |
Part of the Metric potential = logn generated by the matter terms. More... | |
Tenseur | nuq |
Part of the Metric potential = logn generated by the quadratic terms. More... | |
Tenseur & | dzeta |
Metric potential = beta_auto . More... | |
Tenseur | tggg |
Metric potential . More... | |
Tenseur | w_shift |
Vector used in the decomposition of shift , following Shibata's prescription [Prog. More... | |
Tenseur | khi_shift |
Scalar used in the decomposition of shift , following Shibata's prescription [Prog. More... | |
Tenseur_sym | tkij |
Tensor related to the extrinsic curvature tensor by . More... | |
Tenseur | ak_car |
Scalar . More... | |
Cmp | ssjm1_nuf |
Effective source at the previous step for the resolution of the Poisson equation for nuf by means of Map_et::poisson . More... | |
Cmp | ssjm1_nuq |
Effective source at the previous step for the resolution of the Poisson equation for nuq by means of Map_et::poisson . More... | |
Cmp | ssjm1_dzeta |
Effective source at the previous step for the resolution of the Poisson equation for dzeta . More... | |
Cmp | ssjm1_tggg |
Effective source at the previous step for the resolution of the Poisson equation for tggg . More... | |
Cmp | ssjm1_khi |
Effective source at the previous step for the resolution of the Poisson equation for the scalar by means of Map_et::poisson . More... | |
Tenseur | ssjm1_wshift |
Effective source at the previous step for the resolution of the vector Poisson equation for . More... | |
double * | p_angu_mom |
Angular momentum. More... | |
double * | p_tsw |
Ratio T/W. More... | |
double * | p_grv2 |
Error on the virial identity GRV2. More... | |
double * | p_grv3 |
Error on the virial identity GRV3. More... | |
double * | p_r_circ |
Circumferential equatorial radius. More... | |
double * | p_r_circ_merid |
Circumferential meridional radius. More... | |
double * | p_area |
Surface area. More... | |
double * | p_aplat |
Flatening r_pole/r_eq. More... | |
double * | p_z_eqf |
Forward redshift factor at equator. More... | |
double * | p_z_eqb |
Backward redshift factor at equator. More... | |
double * | p_z_pole |
Redshift factor at North pole. More... | |
double * | p_mom_quad |
Quadrupole moment. More... | |
double * | p_mom_quad_old |
Part of the quadrupole moment. More... | |
double * | p_mom_quad_Bo |
Part of the quadrupole moment. More... | |
double * | p_r_isco |
Circumferential radius of the ISCO. More... | |
double * | p_f_isco |
Orbital frequency of the ISCO. More... | |
double * | p_espec_isco |
Specific energy of a particle on the ISCO. More... | |
double * | p_lspec_isco |
Specific angular momentum of a particle on the ISCO. More... | |
double * | p_f_eq |
Orbital frequency at the equator. More... | |
Map & | mp |
Mapping associated with the star. More... | |
int | nzet |
Number of domains of *mp occupied by the star. More... | |
bool | relativistic |
Indicator of relativity: true for a relativistic star, false for a Newtonian one. More... | |
double | unsurc2 |
: unsurc2=1 for a relativistic star, 0 for a Newtonian one. More... | |
int | k_div |
Index of regularity of the gravitational potential logn_auto . More... | |
const Eos & | eos |
Equation of state of the stellar matter. More... | |
Tenseur | ent |
Log-enthalpy (relativistic case) or specific enthalpy (Newtonian case) More... | |
Tenseur | nbar |
Baryon density in the fluid frame. More... | |
Tenseur | ener |
Total energy density in the fluid frame. More... | |
Tenseur | press |
Fluid pressure. More... | |
Tenseur | ener_euler |
Total energy density in the Eulerian frame. More... | |
Tenseur | s_euler |
Trace of the stress tensor in the Eulerian frame. More... | |
Tenseur | gam_euler |
Lorentz factor between the fluid and Eulerian observers. More... | |
Tenseur | u_euler |
Fluid 3-velocity with respect to the Eulerian observer. More... | |
Tenseur | logn_auto |
Total of the logarithm of the part of the lapse N generated principaly by the star. More... | |
Tenseur | logn_auto_regu |
Regular part of the logarithm of the part of the lapse N generated principaly by the star. More... | |
Tenseur | logn_auto_div |
Divergent part (if k_div!=0 ) of the logarithm of the part of the lapse N generated principaly by the star. More... | |
Tenseur | d_logn_auto_div |
Gradient of logn_auto_div (if k_div!=0 ) More... | |
Tenseur | beta_auto |
Logarithm of the part of the product AN generated principaly by by the star. More... | |
Tenseur | nnn |
Total lapse function. More... | |
Tenseur | shift |
Total shift vector. More... | |
Tenseur | a_car |
Total conformal factor . More... | |
double * | p_ray_eq |
Coordinate radius at , . More... | |
double * | p_ray_eq_pis2 |
Coordinate radius at , . More... | |
double * | p_ray_eq_pi |
Coordinate radius at , . More... | |
double * | p_ray_eq_3pis2 |
Coordinate radius at , . More... | |
double * | p_ray_pole |
Coordinate radius at . More... | |
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 . More... | |
Tbl * | p_xi_surf |
Description of the stellar surface: 2-D Tbl containing the values of the radial coordinate on the surface at the collocation points in . More... | |
double * | p_mass_b |
Baryon mass. More... | |
double * | p_mass_g |
Gravitational mass. More... | |
Class for magnetized (isolator or perfect conductor), rigidly rotating stars.
()
This is a child class of Etoile_rot
, with the same metric and overloaded member functions. Triaxial pertubrations are not operational.
Definition at line 143 of file et_rot_mag.h.
Lorene::Et_rot_mag::Et_rot_mag | ( | const Et_rot_mag & | et | ) |
Copy constructor.
Definition at line 228 of file et_rot_mag.C.
References a_j, conduc, Q, and set_der_0x0().
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 ) |
withbphi | flag to create classes with toroidal field |
Definition at line 164 of file et_rot_mag.C.
References a_j, A_phi, A_t, B_phi, conduc, E_em, Lorene::fread_be(), Lorene::Map::get_mg(), j_phi, j_t, Jp_em, Lorene::Etoile::mp, Q, set_der_0x0(), Spp_em, and Srr_em.
|
virtual |
|
virtual |
Angular momentum.
Reimplemented from Lorene::Etoile_rot.
Reimplemented in Lorene::Et_magnetisation.
Definition at line 313 of file et_rot_mag_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::b_car, Lorene::Etoile_rot::bbb, Lorene::Etoile::ener_euler, Lorene::Cmp::integrale(), Jp_em, Lorene::Cmp::mult_r(), Lorene::Etoile::nbar, Lorene::Etoile_rot::p_angu_mom, Lorene::Etoile::press, Lorene::Etoile::relativistic, Lorene::Cmp::std_base_scal(), Lorene::Etoile_rot::uuu, and Lorene::Cmp::va.
|
virtualinherited |
Flatening r_pole/r_eq.
Definition at line 554 of file et_rot_global.C.
References Lorene::Etoile_rot::p_aplat, Lorene::Etoile::ray_eq(), and Lorene::Etoile::ray_pole().
|
virtualinherited |
Surface area.
Definition at line 476 of file et_rot_global.C.
References Lorene::Valeur::annule_hard(), Lorene::Valeur::c_cf, Lorene::Valeur::dsdt(), Lorene::Etoile::get_a_car(), Lorene::Mg3d::get_angu(), Lorene::Etoile_rot::get_bbb(), Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Etoile_rot::l_surf(), Lorene::Etoile::mp, Lorene::Valeur::mult_st(), Lorene::Etoile_rot::p_area, Lorene::sqrt(), Lorene::Valeur::std_base_scal(), Lorene::Cmp::va, Lorene::Valeur::val_point_jk(), Lorene::Map_radial::val_r_jk(), and Lorene::Etoile::xi_surf().
|
protectedvirtual |
Deletes all the derived quantities.
Reimplemented from Lorene::Etoile_rot.
Definition at line 261 of file et_rot_mag.C.
References Lorene::Etoile_rot::del_deriv(), and set_der_0x0().
|
protectedvirtual |
Sets to ETATNONDEF
(undefined state) the hydrodynamical quantities relative to the Eulerian observer.
Reimplemented from Lorene::Etoile_rot.
Definition at line 276 of file et_rot_mag.C.
References del_deriv(), and Lorene::Etoile_rot::del_hydro_euler().
|
virtualinherited |
Display in polytropic units.
Reimplemented in Lorene::Et_rot_diff.
Definition at line 708 of file etoile_rot.C.
References Lorene::Etoile_rot::angu_mom(), Lorene::Etoile::ener, Lorene::Etoile::eos, Lorene::Eos_poly::get_gam(), Lorene::Eos_poly::get_kap(), Lorene::Etoile_rot::get_omega_c(), Lorene::Etoile_rot::mass_b(), Lorene::Etoile_rot::mass_g(), Lorene::Etoile::nbar, Lorene::pow(), Lorene::Etoile_rot::r_circ(), Lorene::Etoile::ray_eq(), and Lorene::sqrt().
Tenseur Lorene::Et_rot_mag::Elec | ( | ) | const |
Computes the electric field spherical components in Lorene's units.
Definition at line 154 of file et_rot_mag_global.C.
References Lorene::Etoile::a_car, A_phi, A_t, Lorene::Cmp::dsdr(), Lorene::Map::get_bvect_spher(), Lorene::Etoile::mp, Lorene::Etoile::nnn, Lorene::Etoile_rot::nphi, Lorene::Cmp::set(), Lorene::Valeur::set_base(), Lorene::Tenseur::set_etat_qcq(), Lorene::sqrt(), Lorene::Cmp::srdsdt(), and Lorene::Cmp::va.
|
virtualinherited |
Computes the proper baryon and energy density, as well as pressure from the enthalpy.
Reimplemented in Lorene::Et_magnetisation, and Lorene::Et_rot_bifluid.
Definition at line 569 of file etoile.C.
References Lorene::Param::add_int(), Lorene::Cmp::allocate_all(), Lorene::Etoile::del_deriv(), Lorene::Etoile::ener, Lorene::Eos::ener_ent(), Lorene::Etoile::ent, Lorene::Etoile::eos, Lorene::Mg3d::get_grille3d(), Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Etoile::mp, Lorene::Etoile::nbar, Lorene::Eos::nbar_ent(), Lorene::Etoile::nzet, Lorene::Etoile::press, Lorene::Eos::press_ent(), Lorene::Mtbl::set(), Lorene::Tenseur::set(), Lorene::Cmp::set(), Lorene::Mtbl::set_etat_qcq(), Lorene::Tbl::set_etat_qcq(), Lorene::Tenseur::set_etat_qcq(), Lorene::Tenseur::set_std_base(), Lorene::Cmp::std_base_scal(), Lorene::Mtbl::t, and Lorene::Grille3d::x.
|
virtualinherited |
Computes a spherical static configuration with the outer boundary condition at a finite radius.
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) |
Definition at line 60 of file etoile_eqsph_falloff.C.
References Lorene::Etoile::a_car, Lorene::Tenseur::annule(), Lorene::Etoile::beta_auto, Lorene::diffrel(), Lorene::Cmp::dsdr(), Lorene::Map_af::dsdr(), Lorene::Etoile::ener, Lorene::Etoile::ener_euler, Lorene::Etoile::ent, Lorene::Etoile::equation_of_state(), Lorene::exp(), Lorene::Etoile::gam_euler, Lorene::Map::get_mg(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Map_af::homothetie(), Lorene::Etoile::logn_auto, Lorene::Etoile::mass_b(), Lorene::Etoile::mass_g(), Lorene::Etoile::mp, Lorene::Etoile::nbar, Lorene::Etoile::nnn, Lorene::norme(), Lorene::Etoile::nzet, Lorene::Etoile::press, Lorene::Etoile::relativistic, Lorene::Etoile::s_euler, Lorene::Tenseur::set(), Lorene::Tenseur::set_etat_qcq(), Lorene::Tenseur::set_std_base(), Lorene::Etoile::shift, Lorene::sqrt(), Lorene::Etoile::u_euler, Lorene::Etoile::unsurc2, and Lorene::Map::val_r().
|
inherited |
Computes a spherical static configuration.
The sources for Poisson equations are regularized by extracting analytical diverging parts.
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) |
Definition at line 118 of file et_equil_spher_regu.C.
References Lorene::Etoile::a_car, Lorene::Tenseur::annule(), Lorene::Etoile::beta_auto, Lorene::Etoile::d_logn_auto_div, Lorene::Eos::der_ener_ent_p(), Lorene::Eos::der_nbar_ent_p(), Lorene::diffrel(), Lorene::Map_af::dsdr(), Lorene::Etoile::ener, Lorene::Etoile::ener_euler, Lorene::Etoile::ent, Lorene::Etoile::eos, Lorene::Etoile::equation_of_state(), Lorene::exp(), Lorene::Etoile::gam_euler, Lorene::Map::get_bvect_spher(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Tenseur::gradient_spher(), Lorene::Map_af::homothetie(), Lorene::Etoile::k_div, Lorene::Etoile::logn_auto, Lorene::Etoile::logn_auto_div, Lorene::Etoile::logn_auto_regu, Lorene::Etoile::mass_b(), Lorene::Etoile::mass_g(), Lorene::Etoile::mp, Lorene::Etoile::nbar, Lorene::Etoile::nnn, Lorene::norme(), Lorene::Etoile::nzet, Lorene::Map_af::poisson(), Lorene::Map_af::poisson_regular(), Lorene::Etoile::press, Lorene::Etoile::relativistic, Lorene::Etoile::s_euler, Lorene::Tenseur::set(), Lorene::Tenseur::set_etat_qcq(), Lorene::Tenseur::set_std_base(), Lorene::Tenseur::set_triad(), Lorene::Etoile::shift, Lorene::sqrt(), Lorene::Cmp::std_base_scal(), Lorene::Etoile::u_euler, Lorene::Etoile::unsurc2, and Lorene::Map::val_r().
|
virtualinherited |
Computes an equilibrium configuration.
ent_c | [input] Central enthalpy |
omega0 | [input] Requested angular velocity (if fact_omega=1 . ) |
fact_omega | [input] 1.01 = search for the Keplerian frequency,
|
nzadapt | [input] Number of (inner) domains where the mapping adaptation to an iso-enthalpy surface should be performed |
ent_limit | [input] 1-D Tbl of dimension nzet which defines the enthalpy at the outer boundary of each domain |
icontrol | [input] Set of integer parameters (stored as a 1-D Itbl of size 8) to control the iteration:
|
control | [input] Set of parameters (stored as a 1-D Tbl of size 7) to control the iteration:
|
mbar_wanted | [input] Requested baryon mass (effective only if mer_mass > mer_max ) |
aexp_mass | [input] Exponent for the increase factor of the central enthalpy to converge to the requested baryon mass |
diff | [output] 1-D Tbl of size 7 for the storage of some error indicators :
|
Reimplemented in Lorene::Et_rot_diff.
Definition at line 150 of file et_rot_equilibrium.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_nzone(), Lorene::Mg3d::get_type_t(), and Lorene::Etoile::mp.
void Lorene::Et_rot_mag::equilibrium_mag | ( | 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, | ||
const double | Q0, | ||
const double | a_j0, | ||
Cmp(*)(const Cmp &x, const double) | f_j, | ||
Cmp(*)(const Cmp &x, const double) | M_j | ||
) |
Computes an equilibrium configuration.
ent_c | [input] Central enthalpy |
omega0 | [input] Requested angular velocity (if fact_omega=1 . ) |
fact_omega | [input] 1.01 = search for the Keplerian frequency,
|
nzadapt | [input] Number of (inner) domains where the mapping adaptation to an iso-enthalpy surface should be performed |
ent_limit | [input] 1-D Tbl of dimension nzet which defines the enthalpy at the outer boundary of each domain |
icontrol | [input] Set of integer parameters (stored as a 1-D Itbl of size 8) to control the iteration:
|
control | [input] Set of parameters (stored as a 1-D Tbl of size 7) to control the iteration:
|
mbar_wanted | [input] Requested baryon mass (effective only if mer_mass>mer_max ) |
aexp_mass | [input] Exponent for the increase factor of the central enthalpy to converge to the requested baryon mass |
diff | [output] 1-D Tbl of size 1 for the storage of some error indicators :
|
Q0 | [input] Requested electric charge for the case of a perfect conductor. Charge per baryon for the case of an isolator. |
a_j0 | [input] Amplitude for the current/charge coupling function |
f_j | [input] current or charge coupling function (see Bocquet et al. 1995). |
M_j | [input] primitive (null for zero) of current/charge coupling function (see Bocquet et al. 1995) used for the first integral of stationary motion. |
Definition at line 120 of file et_rot_mag_equil.C.
References a_j, Lorene::abs(), Lorene::Param::add_cmp_mod(), Lorene::Param::add_double(), Lorene::Param::add_double_mod(), Lorene::Param::add_int(), Lorene::Param::add_int_mod(), Lorene::Param::add_tbl(), Lorene::Param::add_tenseur_mod(), Lorene::Etoile_rot::dzeta, Lorene::Etoile::ent, Lorene::Etoile::equation_of_state(), Lorene::Map::get_bvect_cart(), Lorene::Tenseur::get_etat(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Etoile_rot::hydro_euler(), Lorene::Etoile_rot::logn, MHD_comput(), Lorene::Etoile::mp, Lorene::Etoile_rot::nuf, Lorene::Etoile::nzet, Lorene::Etoile_rot::omega, Q, Lorene::Tbl::set(), Lorene::Tbl::set_etat_qcq(), Lorene::Cmp::set_etat_zero(), Lorene::Etoile_rot::ssjm1_khi, Lorene::Etoile_rot::ssjm1_nuf, Lorene::Etoile_rot::ssjm1_nuq, Lorene::Etoile_rot::ssjm1_tggg, Lorene::Etoile_rot::ssjm1_wshift, and Lorene::Etoile_rot::update_metric().
void Lorene::Et_rot_mag::equilibrium_mag_plus | ( | const Itbl & | icontrol, |
const Tbl & | control, | ||
Tbl & | diff, | ||
const int | initial_j, | ||
const Tbl | an_j, | ||
Cmp(*)(const Cmp &x, const Tbl) | f_j, | ||
Cmp(*)(const Cmp &x, const Tbl) | M_j, | ||
const Tbl | bn_j, | ||
Cmp(*)(const Cmp &x, const Tbl) | g_j, | ||
Cmp(*)(const Cmp &x, const Tbl) | N_j, | ||
const double | relax_mag | ||
) |
Computes an equilibrium configuration.
ent_c | [input] Central enthalpy |
omega0 | [input] Requested angular velocity (if fact_omega=1 . ) |
fact_omega | [input] 1.01 = search for the Keplerian frequency,
|
nzadapt | [input] Number of (inner) domains where the mapping adaptation to an iso-enthalpy surface should be performed |
ent_limit | [input] 1-D Tbl of dimension nzet which defines the enthalpy at the outer boundary of each domain |
icontrol | [input] Set of integer parameters (stored as a 1-D Itbl of size 8) to control the iteration:
|
control | [input] Set of parameters (stored as a 1-D Tbl of size 7) to control the iteration:
|
mbar_wanted | [input] Requested baryon mass (effective only if mer_mass>mer_max ) |
aexp_mass | [input] Exponent for the increase factor of the central enthalpy to converge to the requested baryon mass |
diff | [output] 1-D Tbl of size 1 for the storage of some error indicators :
|
Q0 | [input] Requested electric charge for the case of a perfect conductor. Charge per baryon for the case of an isolator. |
a_j0 | [input] Amplitude for the current/charge coupling function |
f_j | [input] current or charge coupling function (see Bocquet et al. 1995). |
M_j | [input] primitive (null for zero) of current/charge coupling function (see Bocquet et al. 1995) used for the first integral of stationary motion. |
Definition at line 65 of file et_rot_mag_equil_plus.C.
References a_j, A_phi, A_t, Lorene::abs(), Lorene::Param::add_cmp_mod(), Lorene::Param::add_double(), Lorene::Param::add_int(), Lorene::Param::add_int_mod(), Lorene::Param::add_tenseur_mod(), Lorene::Etoile::equation_of_state(), Lorene::Etoile_rot::hydro_euler(), j_phi, magnet_comput_plus(), Lorene::max(), MHD_comput(), Lorene::min(), Lorene::Etoile::mp, Lorene::Cmp::multipole_spectrum(), Lorene::Tbl::set(), Lorene::Tbl::set_etat_qcq(), Lorene::Cmp::set_etat_zero(), Lorene::Etoile_rot::ssjm1_khi, Lorene::Etoile_rot::ssjm1_wshift, Lorene::Cmp::std_base_scal(), and Lorene::Etoile_rot::update_metric().
|
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 90 of file etoile_equil_spher.C.
References Lorene::Etoile::a_car, Lorene::Map_et::adapt(), Lorene::Param::add_double(), Lorene::Param::add_int(), Lorene::Param::add_int_mod(), Lorene::Param::add_tbl(), Lorene::Tenseur::annule(), Lorene::Etoile::beta_auto, Lorene::diffrel(), Lorene::Cmp::dsdr(), Lorene::Map_af::dsdr(), Lorene::Etoile::ener, Lorene::Etoile::ener_euler, Lorene::Etoile::ent, Lorene::Etoile::equation_of_state(), Lorene::exp(), Lorene::Etoile::gam_euler, Lorene::Map_af::get_alpha(), Lorene::Map_et::get_alpha(), Lorene::Map_af::get_beta(), Lorene::Map_et::get_beta(), Lorene::Etoile::get_ent(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Etoile::get_press(), Lorene::Map_af::homothetie(), Lorene::Etoile::logn_auto, Lorene::Etoile::mass_b(), Lorene::Etoile::mass_g(), Lorene::Etoile::mp, Lorene::Etoile::nbar, Lorene::Etoile::nnn, Lorene::norme(), Lorene::Etoile::nzet, Lorene::Map_af::poisson(), Lorene::Etoile::press, Lorene::Etoile::relativistic, Lorene::Etoile::s_euler, Lorene::Tenseur::set(), Lorene::Map_af::set_alpha(), Lorene::Map_af::set_beta(), Lorene::Tenseur::set_etat_qcq(), Lorene::Tenseur::set_std_base(), Lorene::Etoile::shift, Lorene::sqrt(), Lorene::Etoile::u_euler, Lorene::Etoile::unsurc2, and Lorene::Map::val_r().
|
virtualinherited |
Energy of a particle on the ISCO.
Definition at line 304 of file et_rot_isco.C.
References Lorene::Etoile_rot::p_espec_isco, and Lorene::Etoile_rot::r_isco().
|
inherited |
Computes tkij
and ak_car
from shift
, nnn
and b_car
.
Definition at line 60 of file et_rot_extr_curv.C.
References Lorene::Cmp::get_etat(), Lorene::Map::get_mg(), Lorene::Etoile::mp, Lorene::Etoile_rot::nphi, Lorene::Tenseur::set_etat_zero(), and Lorene::Etoile_rot::tkij.
|
virtualinherited |
Computation of frequency of eccentric orbits.
ecc | eccentricity of the orbit |
periasrt | periastron of the orbit |
ost | output stream to give details of the computation; if set to 0x0 [default value], no details will be given. |
Definition at line 81 of file et_rot_f_eccentric.C.
References Lorene::Param::add_cmp(), Lorene::Param::add_int(), Lorene::Cmp::annule(), Lorene::Etoile_rot::bbb, Lorene::Cmp::dsdr(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nzone(), Lorene::Etoile::mp, Lorene::Etoile::nnn, Lorene::Etoile_rot::nphi, Lorene::Etoile::nzet, Lorene::Etoile_rot::p_f_isco, Lorene::Etoile_rot::p_r_isco, Lorene::Map::r, Lorene::Etoile::ray_eq(), Lorene::sqrt(), Lorene::Cmp::std_base_scal(), Lorene::Cmp::va, Lorene::Valeur::val_point(), and Lorene::Map::val_r().
|
virtualinherited |
Orbital frequency at the equator.
Definition at line 322 of file et_rot_isco.C.
References Lorene::Etoile_rot::p_f_eq, and Lorene::Etoile_rot::r_isco().
|
virtualinherited |
Orbital frequency at the innermost stable circular orbit (ISCO).
Definition at line 270 of file et_rot_isco.C.
References Lorene::Etoile_rot::p_f_isco, and Lorene::Etoile_rot::r_isco().
|
inherited |
Computes tnphi
and nphi
from the Cartesian components of the shift, stored in shift
.
Definition at line 803 of file etoile_rot.C.
References Lorene::Tenseur::get_etat(), and Lorene::Etoile::shift.
|
inherited |
Computes shift
from w_shift
and khi_shift
according to Shibata's prescription [Prog.
Theor. Phys. 101 , 1199 (1999)] :
Definition at line 766 of file etoile_rot.C.
References Lorene::Tenseur::get_etat(), Lorene::Tenseur::gradient(), and Lorene::Etoile_rot::khi_shift.
|
inlineinherited |
Returns the total conformal factor .
Definition at line 736 of file etoile.h.
References Lorene::Etoile::a_car.
|
inline |
Returns the amplitude of the current/charge function.
Definition at line 284 of file et_rot_mag.h.
References a_j.
|
inlineinherited |
Returns the scalar .
For axisymmetric stars, this quantity is related to the derivatives of by
In particular it is related to the quantities and introduced by Eqs.~(3.7) and (3.8) of Bonazzola et al. Astron. Astrophys. 278 , 421 (1993) by
Definition at line 1803 of file etoile.h.
References Lorene::Etoile_rot::ak_car.
|
inline |
Returns the component of the electromagnetic potential divided by .
Definition at line 251 of file et_rot_mag.h.
References A_phi.
|
inline |
Returns the t component of the electromagnetic potential, divided by .
Definition at line 246 of file et_rot_mag.h.
References A_t.
|
inlineinherited |
Returns the square of the metric factor B.
Definition at line 1719 of file etoile.h.
References Lorene::Etoile_rot::b_car.
|
inlineinherited |
Returns the metric factor B.
Definition at line 1716 of file etoile.h.
References Lorene::Etoile_rot::bbb.
|
inlineinherited |
Returns the logarithm of the part of the product AN generated principaly by the star.
Definition at line 727 of file etoile.h.
References Lorene::Etoile::beta_auto.
|
inline |
Returns the component of the magnetic field.
Definition at line 254 of file et_rot_mag.h.
References B_phi.
|
inlineinherited |
Returns the gradient of logn_auto_div
.
Definition at line 722 of file etoile.h.
References Lorene::Etoile::d_logn_auto_div.
|
inlineinherited |
Returns the Metric potential = beta_auto
.
Definition at line 1746 of file etoile.h.
References Lorene::Etoile_rot::dzeta.
|
inline |
Returns the electromagnetic energy density in the Eulerian frame.
Definition at line 260 of file et_rot_mag.h.
References E_em.
|
inlineinherited |
Returns the proper total energy density.
Definition at line 682 of file etoile.h.
References Lorene::Etoile::ener.
|
inlineinherited |
Returns the total energy density with respect to the Eulerian observer.
Definition at line 688 of file etoile.h.
References Lorene::Etoile::ener_euler.
|
inlineinherited |
Returns the enthalpy field.
Definition at line 676 of file etoile.h.
References Lorene::Etoile::ent.
|
inlineinherited |
Returns the equation of state.
Definition at line 673 of file etoile.h.
References Lorene::Etoile::eos.
|
inlineinherited |
Returns the Lorentz factor between the fluid and Eulerian observers.
Definition at line 694 of file etoile.h.
References Lorene::Etoile::gam_euler.
|
inline |
Returns the -component of the electromagnetic momentum density 3-vector, as measured in the Eulerian frame.
Definition at line 265 of file et_rot_mag.h.
References Jp_em.
|
inline |
Returns the component of the current 4-vector.
Definition at line 258 of file et_rot_mag.h.
References j_phi.
|
inline |
Returns the t component of the current 4-vector.
Definition at line 256 of file et_rot_mag.h.
References j_t.
|
inlineinherited |
Returns the scalar used in the decomposition of shift
following Shibata's prescription [Prog.
Theor. Phys. 101 , 1199 (1999)] :
NB: w_shift
contains the components of with respect to the Cartesian triad associated with the mapping mp
.
Definition at line 1777 of file etoile.h.
References Lorene::Etoile_rot::khi_shift.
|
inlineinherited |
Returns the metric potential = logn_auto
.
Definition at line 1733 of file etoile.h.
References Lorene::Etoile_rot::logn.
|
inlineinherited |
Returns the logarithm of the part of the lapse N generated principaly by the star.
In the Newtonian case, this is the Newtonian gravitational potential (in units of ).
Definition at line 704 of file etoile.h.
References Lorene::Etoile::logn_auto.
|
inlineinherited |
Returns the divergent part of the logarithm of the part of the lapse N generated principaly by the star.
In the Newtonian case, this is the diverging part of the Newtonian gravitational potential (in units of ).
Definition at line 718 of file etoile.h.
References Lorene::Etoile::logn_auto_div.
|
inlineinherited |
Returns the regular part of the logarithm of the part of the lapse N generated principaly by the star.
In the Newtonian case, this is the Newtonian gravitational potential (in units of ).
Definition at line 711 of file etoile.h.
References Lorene::Etoile::logn_auto_regu.
|
inlineinherited |
|
inlineinherited |
Returns the proper baryon density.
Definition at line 679 of file etoile.h.
References Lorene::Etoile::nbar.
|
inlineinherited |
Returns the total lapse function N.
Definition at line 730 of file etoile.h.
References Lorene::Etoile::nnn.
|
inlineinherited |
Returns the metric coefficient .
Definition at line 1722 of file etoile.h.
References Lorene::Etoile_rot::nphi.
|
inlineinherited |
Returns the part of the Metric potential = logn
generated by the matter terms.
Definition at line 1738 of file etoile.h.
References Lorene::Etoile_rot::nuf.
|
inlineinherited |
Returns the Part of the Metric potential = logn
generated by the quadratic terms.
Definition at line 1743 of file etoile.h.
References Lorene::Etoile_rot::nuq.
|
inlineinherited |
Returns the number of domains occupied by the star.
Definition at line 665 of file etoile.h.
References Lorene::Etoile::nzet.
|
virtualinherited |
Returns the central value of the rotation angular velocity ([f_unit] )
Reimplemented in Lorene::Et_rot_diff.
Definition at line 698 of file etoile_rot.C.
References Lorene::Etoile_rot::omega.
|
inlineinherited |
Returns the fluid pressure.
Definition at line 685 of file etoile.h.
References Lorene::Etoile::press.
|
inline |
Returns the requested electric charge in the case of a perfect conductor and the charge/baryon for an isolator.
Definition at line 282 of file et_rot_mag.h.
References Q.
|
inlineinherited |
Returns the trace of the stress tensor in the Eulerian frame.
Definition at line 691 of file etoile.h.
References Lorene::Etoile::s_euler.
|
inlineinherited |
Returns the total shift vector .
Definition at line 733 of file etoile.h.
References Lorene::Etoile::shift.
|
inline |
Returns the component of the electromagnetic stress 3-tensor, as measured in the Eulerian frame.
Definition at line 276 of file et_rot_mag.h.
References Spp_em.
|
inline |
Returns the rr-component of the electromagnetic stress 3-tensor, as measured in the Eulerian frame.
(not used and always equal to 0, should be supressed)
Definition at line 271 of file et_rot_mag.h.
References Srr_em.
|
inlineinherited |
Returns the Metric potential .
Definition at line 1749 of file etoile.h.
References Lorene::Etoile_rot::tggg.
|
inlineinherited |
Returns the tensor related to the extrinsic curvature tensor by .
tkij
contains the Cartesian components of .
Definition at line 1784 of file etoile.h.
References Lorene::Etoile_rot::tkij.
|
inlineinherited |
Returns the component of the shift vector.
Definition at line 1727 of file etoile.h.
References Lorene::Etoile_rot::tnphi.
|
inlineinherited |
Returns the fluid 3-velocity with respect to the Eulerian observer.
Definition at line 697 of file etoile.h.
References Lorene::Etoile::u_euler.
|
inlineinherited |
Returns the norm of u_euler
.
Definition at line 1730 of file etoile.h.
References Lorene::Etoile_rot::uuu.
|
inlineinherited |
Returns the vector used in the decomposition of shift
, following Shibata's prescription [Prog.
Theor. Phys. 101 , 1199 (1999)] :
NB: w_shift
contains the components of with respect to the Cartesian triad associated with the mapping mp
.
Definition at line 1763 of file etoile.h.
References Lorene::Etoile_rot::w_shift.
|
virtual |
Error on the virial identity GRV2.
Reimplemented from Lorene::Etoile_rot.
Reimplemented in Lorene::Et_magnetisation.
Definition at line 381 of file et_rot_mag_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::ak_car, Lorene::Etoile::ener_euler, Lorene::flat_scalar_prod(), Lorene::Tenseur::gradient_spher(), Lorene::Etoile_rot::lambda_grv2(), Lorene::Etoile_rot::logn, Lorene::Etoile_rot::p_grv2, Lorene::Etoile::press, Spp_em, and Lorene::Etoile_rot::uuu.
|
virtual |
Error on the virial identity GRV3.
The error is computed as the integral defined by Eq. (43) of [Gourgoulhon and Bonazzola, Class. Quantum Grav. 11 , 443 (1994)] divided by the integral of the matter terms.
ost | output stream to give details of the computation; if set to 0x0 [default value], no details will be given. |
Reimplemented from Lorene::Etoile_rot.
Reimplemented in Lorene::Et_magnetisation.
Definition at line 407 of file et_rot_mag_global.C.
References Lorene::Etoile_rot::ak_car, Lorene::Etoile_rot::bbb, Lorene::Etoile_rot::dzeta, Lorene::flat_scalar_prod(), Lorene::Cmp::get_etat(), Lorene::Tenseur::gradient_spher(), Lorene::log(), Lorene::Etoile_rot::logn, Lorene::Etoile::mp, Lorene::Etoile_rot::p_grv3, Lorene::Etoile::relativistic, Lorene::Tenseur::set_std_base(), and Lorene::Cmp::srdsdt().
double Lorene::Et_rot_mag::GyroMag | ( | ) | const |
Gyromagnetic ratio .
Definition at line 271 of file et_rot_mag_global.C.
References angu_mom(), MagMom(), mass_g(), and Q_comput().
|
virtualinherited |
Computes the hydrodynamical quantities relative to the Eulerian observer from those in the fluid frame.
The calculation is performed starting from the quantities ent
, ener
, press
, and a_car
,
which are supposed to be up to date.
From these, the following fields are updated: gam_euler
, u_euler
, ener_euler
, s_euler
.
Reimplemented from Lorene::Etoile.
Reimplemented in Lorene::Et_rot_bifluid, and Lorene::Et_rot_diff.
Definition at line 86 of file et_rot_hydro.C.
References Lorene::Tenseur::annule(), Lorene::Map::get_bvect_cart(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nzone(), Lorene::Etoile::mp, Lorene::Etoile::nnn, Lorene::Etoile_rot::omega, Lorene::Tenseur::set(), Lorene::Tenseur::set_etat_qcq(), Lorene::Tenseur::set_std_base(), Lorene::Tenseur::set_triad(), Lorene::Etoile::shift, Lorene::Etoile::u_euler, Lorene::Map::x, and Lorene::Map::y.
|
inline |
Tells if the star is made of conducting or isolating material.
Definition at line 241 of file et_rot_mag.h.
References conduc.
|
inlineinherited |
Returns true
for a relativistic star, false
for a Newtonian one.
Definition at line 670 of file etoile.h.
References Lorene::Etoile::relativistic.
|
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 from Lorene::Etoile.
Reimplemented in Lorene::Et_rot_bifluid.
Definition at line 104 of file et_rot_global.C.
References Lorene::Etoile::ent, Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Etoile::mp, Lorene::Etoile::nzet, Lorene::Etoile::p_l_surf, and Lorene::Etoile::p_xi_surf.
Computes the coefficient which ensures that the GRV2 virial identity is satisfied.
is the coefficient by which one must multiply the quadratic source term of the 2-D Poisson equation
in order that the total source does not contain any monopolar term, i.e. in order that
where . is computed according to the formula
Then, by construction, the new source has a vanishing monopolar term.
sou_m | [input] matter source term |
sou_q | [input] quadratic source term |
Definition at line 82 of file et_rot_lambda_grv2.C.
References Lorene::Cmp::check_dzpuis(), Lorene::Map::get_mg(), Lorene::Cmp::get_mp(), Lorene::Mg3d::get_nzone(), Lorene::Mg3d::get_type_r(), and Lorene::Map::val_r().
|
virtualinherited |
Angular momentum of a particle on the ISCO.
Definition at line 287 of file et_rot_isco.C.
References Lorene::Etoile_rot::p_lspec_isco, and Lorene::Etoile_rot::r_isco().
double Lorene::Et_rot_mag::MagMom | ( | ) | const |
Magnetic Momentum in SI units.
Definition at line 195 of file et_rot_mag_global.C.
References A_phi, Lorene::Cmp::get_etat(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nzone(), and Lorene::Etoile::mp.
Tenseur Lorene::Et_rot_mag::Magn | ( | ) | const |
Computes the magnetic field spherical components in Lorene's units.
Definition at line 173 of file et_rot_mag_global.C.
References Lorene::Etoile::a_car, A_phi, B_phi, Lorene::Etoile_rot::bbb, Lorene::Cmp::dsdr(), Lorene::Map::get_bvect_spher(), Lorene::Etoile::mp, Lorene::Cmp::set(), Lorene::Valeur::set_base(), Lorene::Tenseur::set_etat_qcq(), Lorene::sqrt(), Lorene::Cmp::srdsdt(), and Lorene::Cmp::va.
void Lorene::Et_rot_mag::magnet_comput | ( | const int | adapt_flag, |
Cmp(*)(const Cmp &x, const double) | f_j, | ||
Param & | par_poisson_At, | ||
Param & | par_poisson_Avect | ||
) |
Computes the electromagnetic quantities solving the Maxwell equations (6) and (7) of [Bocquet, Bonazzola, Gourgoulhon and Novak, Astron.
Astrophys. 301 , 757 (1995)]. In the case of a perfect conductor, le electromagnetic potential may have a discontinuous derivative across star's surface.
conduc | [input] flag: 0 for an isolator, 1 for a perfect conductor |
adapt_flag | [input] flag: if 0 the mapping is NOT adapted to star's surface |
f_j | [input] current or charge coupling function (see Bocquet et al. 1995). |
par_poisson_At | [input] parameters for controlling the solution of the Poisson equation for At potential (see file et_rot_mag_equil.C) |
par_poisson_Avect | [input] parameters for controlling the solution of vector Poisson equation for magnetic potential (see file et_rot_mag_equil.C) |
Definition at line 117 of file et_rot_mag_mag.C.
References Lorene::Etoile::a_car, a_j, A_phi, A_t, Lorene::Cmp::allocate_all(), Lorene::Cmp::annule(), Lorene::Etoile_rot::b_car, Lorene::Etoile_rot::bbb, Lorene::Coord::c, Lorene::Cmp::div_r(), Lorene::Cmp::dsdr(), Lorene::Etoile::ener, Lorene::Scalar::exponential_filter_r(), Lorene::Scalar::exponential_filter_ylm(), Lorene::Coord::fait(), Lorene::flat_scalar_prod_desal(), Lorene::Map::get_bvect_cart(), Lorene::Map::get_bvect_spher(), Lorene::Param::get_int(), Lorene::Map::get_mg(), Lorene::Param::get_n_int(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Tenseur::gradient_spher(), Lorene::Cmp::inc2_dzpuis(), is_conduct(), j_phi, j_t, Lorene::Etoile_rot::l_surf(), Lorene::Cmp::laplacien(), Lorene::log(), Lorene::Etoile_rot::logn, Lorene::Etoile::mp, Lorene::Valeur::mult_ct(), Lorene::Cmp::mult_rsint(), Lorene::Etoile::nnn, Lorene::Etoile_rot::nphi, Lorene::Etoile::nzet, Lorene::Etoile_rot::omega, Lorene::Etoile::press, Lorene::Map::r, Lorene::Tbl::set(), Lorene::Tenseur::set(), Lorene::Cmp::set(), Lorene::Tbl::set_etat_qcq(), Lorene::Tenseur::set_etat_qcq(), Lorene::Tenseur::set_std_base(), Lorene::Cmp::srdsdt(), Lorene::Valeur::ssint(), Lorene::Cmp::std_base_scal(), Lorene::Map::tet, Lorene::Etoile_rot::tnphi, Lorene::Cmp::va, Lorene::Map_radial::val_r_jk(), and Lorene::Etoile::xi_surf().
|
virtual |
Computes the electromagnetic quantities solving the Maxwell equations (6) and (7) of [Bocquet, Bonazzola, Gourgoulhon and Novak, Astron.
Astrophys. 301 , 757 (1995)]. In the case of a perfect conductor, le electromagnetic potential may have a discontinuous derivative across star's surface.
adapt_flag | [input] flag: if 0 the mapping is NOT adapted to star's surface |
initial_j | [input] flag: initial current for the iteration: 0= no current, 1=dipolar-like current , 2= quadrupolar-like current |
a_j0 | [input] amplitude of the non-force free current |
f_j | [input] current coupling function (non-FF part) (see Bocquet et al. 1995). |
b_j0 | [input] amplitude of the force free current |
g_j | [input] current coupling function (FF-part) |
N_j | [input] current coupling function (FF-part) |
par_poisson_At | [input] parameters for controlling the solution of the Poisson equation for At potential (see file et_rot_mag_equil.C) |
par_poisson_Avect | [input] parameters for controlling the solution of vector Poisson equation for magnetic potential (see file et_rot_mag_equil.C) |
Definition at line 114 of file et_rot_mag_mag_plus.C.
References Lorene::abs(), Lorene::Cmp::allocate_all(), Lorene::Cmp::annule(), Lorene::Cmp::div_r(), Lorene::flat_scalar_prod_desal(), Lorene::Tbl::get_dim(), Lorene::Tenseur::gradient_spher(), Lorene::Cmp::inc2_dzpuis(), Lorene::Cmp::laplacien(), Lorene::log(), Lorene::max(), Lorene::Valeur::mult_ct(), Lorene::Cmp::mult_rsint(), Lorene::Tbl::set(), Lorene::Tenseur::set(), Lorene::Cmp::set(), Lorene::Tbl::set_etat_qcq(), Lorene::Tenseur::set_etat_qcq(), Lorene::Tenseur::set_std_base(), Lorene::Valeur::ssint(), Lorene::Cmp::std_base_scal(), Lorene::Cmp::va, and Lorene::Map_radial::val_r_jk().
|
virtualinherited |
Baryon mass.
Reimplemented from Lorene::Etoile.
Reimplemented in Lorene::Et_rot_bifluid.
Definition at line 134 of file et_rot_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::bbb, Lorene::Etoile::gam_euler, Lorene::Tenseur::get_etat(), Lorene::Cmp::integrale(), Lorene::Etoile::nbar, Lorene::Etoile::p_mass_b, Lorene::Etoile::relativistic, and Lorene::Cmp::std_base_scal().
|
virtual |
Gravitational mass.
Reimplemented from Lorene::Etoile_rot.
Reimplemented in Lorene::Et_magnetisation.
Definition at line 282 of file et_rot_mag_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::bbb, E_em, Lorene::Etoile::ener_euler, Jp_em, Lorene::Etoile_rot::mass_b(), Lorene::Etoile::nnn, Lorene::Etoile_rot::nphi, Lorene::Etoile::p_mass_g, Lorene::Etoile::press, Lorene::Etoile::relativistic, Lorene::Etoile::s_euler, Lorene::Tenseur::set_std_base(), Spp_em, Lorene::Etoile_rot::tnphi, and Lorene::Etoile_rot::uuu.
|
virtualinherited |
Mean radius.
Definition at line 530 of file et_rot_global.C.
References Lorene::Etoile_rot::area(), and Lorene::sqrt().
|
virtual |
Computes the electromagnetic part of the stress-energy tensor.
Reimplemented in Lorene::Et_magnetisation.
Definition at line 122 of file et_rot_mag_global.C.
References A_phi, A_t, Lorene::flat_scalar_prod_desal(), and Lorene::Tenseur::gradient_spher().
|
virtualinherited |
Quadrupole moment.
The quadrupole moment Q is defined according to Eq. (11) of [Pappas and Apostolatos, Physical Review Letters 108, 231104 (2012)]. This is a corrected version of the quadrupole moment defined by [Salgado, Bonazzola, Gourgoulhon and Haensel, Astron. Astrophys. 291 , 155 (1994)]. Following this definition, , where is defined as the negative of the (wrong) quadrupole moment defined in Eq. (7) of [Salgado, Bonazzola, Gourgoulhon and Haensel, Astron. Astrophys. 291 , 155 (1994)], b is defined by Eq. (3.37) of [Friedman and Stergioulas, Rotating Relativistic Stars, Cambridge Monograph on mathematical physics] and M is the gravitational mass of the star.
Reimplemented in Lorene::Et_rot_bifluid.
Definition at line 658 of file et_rot_global.C.
References Lorene::Etoile_rot::mass_g(), Lorene::Etoile_rot::mom_quad_Bo(), Lorene::Etoile_rot::mom_quad_old(), Lorene::Etoile_rot::p_mom_quad, Lorene::pow(), and Lorene::Etoile::relativistic.
|
virtualinherited |
Part of the quadrupole moment.
is defined as , where b is given by Eq. (3.37) of [Friedman and Stergioulas, Rotating Relativistic Stars, Cambridge Monograph on mathematical physics] and M is the the gravitational mass of the star.
Reimplemented in Lorene::Et_magnetisation, and Lorene::Et_rot_bifluid.
Definition at line 676 of file et_rot_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::bbb, Lorene::Cmp::integrale(), Lorene::Etoile::mp, Lorene::Cmp::mult_rsint(), Lorene::Etoile::nnn, Lorene::Etoile_rot::p_mom_quad_Bo, Lorene::Etoile::press, and Lorene::Cmp::std_base_scal().
|
virtual |
Part of the quadrupole moment.
This term is defined by Laarakkers and Poisson, Astrophys. J. 512 , 282 (1999). Note that is the negative of the (wrong) quadrupole moment defined in Eq. (7) of [Salgado, Bonazzola, Gourgoulhon and Haensel, Astron. Astrophys. 291 , 155 (1994)].
Reimplemented from Lorene::Etoile_rot.
Reimplemented in Lorene::Et_magnetisation.
Definition at line 512 of file et_rot_mag_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::ak_car, Lorene::Etoile_rot::bbb, Lorene::Cmp::check_dzpuis(), Lorene::Etoile::ener_euler, Lorene::flat_scalar_prod(), Lorene::Cmp::get_etat(), Lorene::Tenseur::gradient_spher(), Lorene::Cmp::inc2_dzpuis(), Lorene::log(), Lorene::Etoile_rot::logn, Lorene::Etoile::mp, Lorene::Cmp::mult_r(), Lorene::Etoile::nbar, Lorene::Etoile_rot::p_mom_quad_old, Lorene::Etoile::relativistic, Lorene::Etoile::s_euler, Lorene::Tenseur::set(), Lorene::Tenseur::set_std_base(), and Spp_em.
void Lorene::Et_rot_mag::operator= | ( | const Et_rot_mag & | et | ) |
Assignment to another Et_rot_mag.
Definition at line 286 of file et_rot_mag.C.
References a_j, A_phi, A_t, B_phi, conduc, del_deriv(), E_em, j_phi, j_t, Jp_em, Lorene::Etoile_rot::operator=(), Q, Spp_em, and Srr_em.
|
virtual |
Operator >> (virtual function called by the operator <<).
Reimplemented from Lorene::Etoile_rot.
Reimplemented in Lorene::Et_magnetisation.
Definition at line 339 of file et_rot_mag.C.
References a_j, Elec(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nt(), GyroMag(), is_conduct(), Lorene::Etoile_rot::l_surf(), MagMom(), Magn(), mass_g(), Lorene::Etoile::mp, Lorene::Etoile::nzet, Lorene::Etoile_rot::operator>>(), Lorene::pow(), Lorene::Etoile::press, Q, Q_comput(), Q_int(), and Lorene::Etoile::xi_surf().
|
protectedvirtualinherited |
Printing of some informations, excluding all global quantities.
Reimplemented in Lorene::Et_rot_bifluid.
Definition at line 645 of file etoile_rot.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::aplat(), Lorene::Etoile_rot::b_car, Lorene::Etoile_rot::dzeta, Lorene::Etoile::ener, Lorene::Etoile::ent, Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Etoile_rot::get_omega_c(), Lorene::Etoile_rot::logn, Lorene::Etoile::mp, Lorene::Etoile::nbar, Lorene::Etoile::nnn, Lorene::Etoile_rot::nphi, Lorene::Etoile::nzet, Lorene::Etoile::press, Lorene::Etoile_rot::r_circ(), Lorene::Etoile_rot::r_circ_merid(), Lorene::Etoile::ray_eq(), and Lorene::Etoile_rot::uuu.
double Lorene::Et_rot_mag::Q_comput | ( | ) | const |
Computed charge deduced from the asymptotic behaviour of At [SI units].
Definition at line 220 of file et_rot_mag_global.C.
References A_t, Lorene::Cmp::get_etat(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nzone(), and Lorene::Etoile::mp.
double Lorene::Et_rot_mag::Q_int | ( | ) | const |
Computed charge from the integration of charge density over the star (i.e.
without surface charge) [SI units].
Definition at line 241 of file et_rot_mag_global.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::bbb, Lorene::Tenseur::get_etat(), Lorene::Cmp::integrale(), j_t, Lorene::Etoile::nbar, Lorene::Etoile::nnn, Lorene::Etoile::relativistic, and Lorene::Cmp::std_base_scal().
|
virtualinherited |
Circumferential equatorial radius.
Definition at line 399 of file et_rot_global.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_type_t(), Lorene::Etoile::mp, Lorene::Etoile::nzet, and Lorene::Etoile_rot::p_r_circ.
|
virtualinherited |
Circumferential meridional radius.
Definition at line 425 of file et_rot_global.C.
References Lorene::Valeur::annule_hard(), Lorene::Valeur::dsdt(), Lorene::Etoile::get_a_car(), Lorene::Mg3d::get_angu(), Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Etoile_rot::l_surf(), Lorene::Etoile::mp, Lorene::Etoile_rot::p_r_circ_merid, Lorene::sqrt(), Lorene::Valeur::std_base_scal(), Lorene::Cmp::std_base_scal(), Lorene::Cmp::va, Lorene::Valeur::val_point_jk(), Lorene::Map_radial::val_r_jk(), and Lorene::Etoile::xi_surf().
|
virtualinherited |
Circumferential radius of the innermost stable circular orbit (ISCO).
ost | output stream to give details of the computation; if set to 0x0 [default value], no details will be given. |
Definition at line 87 of file et_rot_isco.C.
References Lorene::Param::add_cmp(), Lorene::Param::add_int(), Lorene::Cmp::annule(), Lorene::Etoile_rot::bbb, Lorene::Cmp::dsdr(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nzone(), Lorene::Etoile::mp, Lorene::Etoile::nnn, Lorene::Etoile_rot::nphi, Lorene::Etoile::nzet, Lorene::Etoile_rot::p_espec_isco, Lorene::Etoile_rot::p_f_eq, Lorene::Etoile_rot::p_f_isco, Lorene::Etoile_rot::p_lspec_isco, Lorene::Etoile_rot::p_r_isco, Lorene::Map::r, Lorene::Etoile::ray_eq(), Lorene::sqrt(), Lorene::Cmp::std_base_scal(), Lorene::Cmp::va, Lorene::Valeur::val_point(), Lorene::Map::val_r(), and Lorene::zerosec().
|
inherited |
Coordinate radius at , [r_unit].
Definition at line 123 of file etoile_global.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_p(), Lorene::Mg3d::get_type_t(), Lorene::Etoile::mp, and Lorene::Etoile::p_ray_eq.
|
inherited |
Coordinate radius at , [r_unit].
Definition at line 443 of file etoile_global.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_p(), Lorene::Mg3d::get_type_t(), and Lorene::Etoile::mp.
|
inherited |
Coordinate radius at , [r_unit].
Definition at line 338 of file etoile_global.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_p(), Lorene::Mg3d::get_type_t(), Lorene::Etoile::mp, and Lorene::Etoile::p_ray_eq_3pis2.
|
inherited |
Coordinate radius at , [r_unit].
Definition at line 259 of file etoile_global.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_p(), Lorene::Mg3d::get_type_t(), Lorene::Etoile::mp, and Lorene::Etoile::p_ray_eq_pi.
|
inherited |
Coordinate radius at , [r_unit].
Definition at line 172 of file etoile_global.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_type_p(), Lorene::Mg3d::get_type_t(), Lorene::Etoile::mp, and Lorene::Etoile::p_ray_eq_pis2.
|
inherited |
Coordinate radius at [r_unit].
Definition at line 418 of file etoile_global.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_type_t(), Lorene::Etoile::mp, and Lorene::Etoile::p_ray_pole.
|
virtual |
Save in a file.
Reimplemented from Lorene::Etoile_rot.
Reimplemented in Lorene::Et_magnetisation.
Definition at line 314 of file et_rot_mag.C.
References a_j, A_phi, A_t, B_phi, conduc, E_em, Lorene::fwrite_be(), j_phi, j_t, Jp_em, Q, Lorene::Tenseur::sauve(), Lorene::Cmp::sauve(), Lorene::Etoile_rot::sauve(), Spp_em, and Srr_em.
|
protectedvirtual |
Sets to 0x0
all the pointers on derived quantities.
Reimplemented from Lorene::Etoile_rot.
Definition at line 270 of file et_rot_mag.C.
References Lorene::Etoile_rot::set_der_0x0().
|
inherited |
Assignment of the enthalpy field.
Definition at line 468 of file etoile.C.
References Lorene::Etoile::del_deriv(), Lorene::Etoile::ent, and Lorene::Etoile::equation_of_state().
|
inlineinherited |
|
virtual |
Ratio T/W.
Reimplemented from Lorene::Etoile_rot.
Definition at line 347 of file et_rot_mag_global.C.
References Lorene::Etoile::a_car, angu_mom(), Lorene::Etoile_rot::bbb, Lorene::Etoile::ener, Lorene::Etoile::gam_euler, Lorene::Cmp::integrale(), Lorene::Etoile_rot::logn, mass_g(), Lorene::Etoile::nbar, Lorene::Etoile_rot::omega, Lorene::Etoile_rot::p_tsw, Lorene::Etoile::relativistic, and Lorene::Cmp::std_base_scal().
|
inherited |
Computes metric coefficients from known potentials.
The calculation is performed starting from the quantities logn
, dzeta
, tggg
and shift
, which are supposed to be up to date.
From these, the following fields are updated: nnn
, a_car
, bbb
and b_car
.
Definition at line 72 of file et_rot_upmetr.C.
References Lorene::Etoile::a_car, Lorene::Etoile_rot::b_car, Lorene::Etoile_rot::bbb, Lorene::Etoile_rot::del_deriv(), Lorene::Etoile_rot::dzeta, Lorene::exp(), Lorene::Etoile_rot::extrinsic_curvature(), Lorene::Etoile_rot::logn, Lorene::Etoile::nnn, Lorene::Tenseur::set(), Lorene::Tenseur::set_etat_qcq(), Lorene::Tenseur::set_std_base(), Lorene::Etoile_rot::tggg, and Lorene::Etoile::unsurc2.
|
inherited |
Description of the stellar surface: returns a 2-D Tbl
containing the values of the radial coordinate on the surface at the collocation points in .
The stellar surface is defined as the location where the enthalpy (member ent
) vanishes.
Definition at line 104 of file etoile_global.C.
References Lorene::Etoile::l_surf(), Lorene::Etoile::p_l_surf, and Lorene::Etoile::p_xi_surf.
|
virtualinherited |
Backward redshift factor at equator.
Definition at line 603 of file et_rot_global.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_type_t(), Lorene::Etoile::mp, Lorene::Etoile::nzet, and Lorene::Etoile_rot::p_z_eqb.
|
virtualinherited |
Forward redshift factor at equator.
Definition at line 571 of file et_rot_global.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_type_t(), Lorene::Etoile::mp, Lorene::Etoile::nzet, and Lorene::Etoile_rot::p_z_eqf.
|
virtualinherited |
Redshift factor at North pole.
Definition at line 638 of file et_rot_global.C.
References Lorene::Etoile::nnn, Lorene::Etoile_rot::p_z_pole, and Lorene::Etoile::ray_pole().
|
protectedinherited |
|
protected |
Amplitude of the curent/charge function.
Definition at line 180 of file et_rot_mag.h.
|
protected |
-component of the electromagnetic potential 1-form divided by .
Definition at line 155 of file et_rot_mag.h.
|
protected |
t-component of the elecctromagnetic potential 1-form, divided by .
Definition at line 150 of file et_rot_mag.h.
|
protectedinherited |
|
protectedinherited |
|
protected |
-component of the magnetic field
Definition at line 157 of file et_rot_mag.h.
|
protectedinherited |
|
protectedinherited |
|
protected |
Flag: conduc=0->isolator, 1->perfect conductor.
Definition at line 181 of file et_rot_mag.h.
|
protectedinherited |
|
protectedinherited |
|
protected |
electromagnetic energy density in the Eulerian frame
Definition at line 161 of file et_rot_mag.h.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
-component of the current 4-vector
Definition at line 159 of file et_rot_mag.h.
|
protected |
t-component of the current 4-vector
Definition at line 158 of file et_rot_mag.h.
|
protected |
component of the electromagnetic momentum density 3-vector, as measured in the Eulerian frame.
Definition at line 167 of file et_rot_mag.h.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
protectedinherited |
|
protected |
In the case of a perfect conductor, the requated baryonic charge.
For an isolator, the charge/baryon.
Definition at line 179 of file et_rot_mag.h.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
component of the electromagnetic stress 3-tensor, as measured in the Eulerian frame.
Definition at line 173 of file et_rot_mag.h.
|
protected |
rr component of the electromagnetic stress 3-tensor, as measured in the Eulerian frame. (not used and set to 0, should be supressed)
Definition at line 170 of file et_rot_mag.h.
|
protectedinherited |
|
protectedinherited |
Effective source at the previous step for the resolution of the Poisson equation for the scalar by means of Map_et::poisson
.
is an intermediate quantity for the resolution of the elliptic equation for the shift vector
|
protectedinherited |
Effective source at the previous step for the resolution of the Poisson equation for nuf
by means of Map_et::poisson
.
|
protectedinherited |
Effective source at the previous step for the resolution of the Poisson equation for nuq
by means of Map_et::poisson
.
|
protectedinherited |
|
protectedinherited |
Effective source at the previous step for the resolution of the vector Poisson equation for .
is an intermediate quantity for the resolution of the elliptic equation for the shift vector (Components with respect to the Cartesian triad associated with the mapping mp
)
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |