Lorene::Star_rot_Dirac Class Reference
[Stars and black holes]

Class for relativistic rotating stars in Dirac gauge and maximal slicing. More...

#include <star_rot_dirac.h>

Inheritance diagram for Lorene::Star_rot_Dirac:
Lorene::Star Lorene::Star_rot_Dirac_diff

List of all members.

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 $\Omega$.
const Scalarget_psi4 () const
 Returns the conformal factor $\Psi^4$.
const Scalarget_psi2 () const
 Returns $\Psi^2$.
const Scalarget_qqq () const
 Returns $Q=\Psi^2 N$.
const Scalarget_ln_psi () const
 Returns $ln(\Psi)$.
const Vectorget_j_euler () const
 Returns the momentum density 3-vector with respect to the Eulerian observer.
const Scalarget_v2 () const
 Reutrns $\gamma_{ij}v^i v^j$.
const Metric get_tgamma () const
 Returns the conformal metric $\tilde{\gamma}_{ij}$.
const Sym_tensor get_aa () const
 Returns $A^{ij}$.
const Sym_tensor get_taa () const
 Returns $\tilde{A}_{ij}$.
const Scalar get_aa_quad () const
 Returns $\tilde{A}_{ij} A^{ij}$.
const Sym_tensor_trans get_hh () const
 Returns $h^{ij}$.
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.
Mapset_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 Mapget_mp () const
 Returns the mapping.
int get_nzet () const
 Returns the number of domains occupied by the star.
const Eosget_eos () const
 Returns the equation of state.
const Scalarget_ent () const
 Returns the enthalpy field.
const Scalarget_nbar () const
 Returns the proper baryon density.
const Scalarget_ener () const
 Returns the proper total energy density.
const Scalarget_press () const
 Returns the fluid pressure.
const Scalarget_ener_euler () const
 Returns the total energy density with respect to the Eulerian observer.
const Scalarget_s_euler () const
 Returns the trace of the stress tensor in the Eulerian frame.
const Scalarget_gam_euler () const
 Returns the Lorentz factor between the fluid and Eulerian observers.
const Vectorget_u_euler () const
 Returns the fluid 3-velocity with respect to the Eulerian observer.
const Tensorget_stress_euler () const
 Returns the spatial part of the stress-energy tensor with respect to the Eulerian observer.
const Scalarget_logn () const
 Returns the logarithm of the lapse N.
const Scalarget_nn () const
 Returns the lapse function N.
const Vectorget_beta () const
 Returns the shift vector $\beta^i$.
const Scalarget_lnq () const
const Metricget_gamma () const
 Returns the 3-metric $\gamma$.
double ray_eq () const
 Coordinate radius at $\phi=0$, $\theta=\pi/2$ [r_unit].
double ray_eq_pis2 () const
 Coordinate radius at $\phi=\pi/2$, $\theta=\pi/2$ [r_unit].
double ray_eq_pi () const
 Coordinate radius at $\phi=\pi$, $\theta=\pi/2$ [r_unit].
double ray_eq_3pis2 () const
 Coordinate radius at $\phi=3\pi/2$, $\theta=\pi/2$ [r_unit].
double ray_pole () const
 Coordinate radius at $\theta=0$ [r_unit].
virtual const Itbll_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 $(\theta', \phi')$.
const Tblxi_surf () const
 Description of the stellar surface: returns a 2-D Tbl containing the values of the radial coordinate $\xi$ on the surface at the collocation points in $(\theta', \phi')$.

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 $\Psi^4$.
Scalar psi2
 $\Psi^2$
Scalar qqq
 $Q = \Psi^2 N$
Scalar ln_psi
 $ln(\Psi)$
Vector j_euler
 Momentum density 3-vector with respect to the Eulerian observer.
Scalar v2
 $\gamma_{ij}v^i v^j$
const Metric_flatflat
 flat metric $f_{ij}$ (spherical components)
Metric tgamma
 $\tilde{\gamma}_{ij}$
Sym_tensor aa
 $A^{ij}$
Sym_tensor taa
 $\tilde{A}_{ij}$
Scalar aa_quad
 $\tilde{A}_{ij} A^{ij}$
Sym_tensor_trans hh
 $h^{ij}$ is defined by $\tilde{\gamma}^{ij}=f^{ij}+h^{ij}$.
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.
Mapmp
 Mapping associated with the star.
int nzet
 Number of domains of *mp occupied by the star.
const Eoseos
 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 $\phi=0$, $\theta=\pi/2$.
double * p_ray_eq_pis2
 Coordinate radius at $\phi=\pi/2$, $\theta=\pi/2$.
double * p_ray_eq_pi
 Coordinate radius at $\phi=\pi$, $\theta=\pi/2$.
double * p_ray_eq_3pis2
 Coordinate radius at $\phi=3\pi/2$, $\theta=\pi/2$.
double * p_ray_pole
 Coordinate radius at $\theta=0$.
Itblp_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 $(\theta', \phi')$.
Tblp_xi_surf
 Description of the stellar surface: 2-D Tbl containing the values of the radial coordinate $\xi$ on the surface at the collocation points in $(\theta', \phi')$.
double * p_mass_b
 Baryon mass.
double * p_mass_g
 Gravitational mass.

Friends

ostream & operator<< (ostream &, const Star &)
 Display.

Detailed Description

Class for relativistic rotating stars in Dirac gauge and maximal slicing.

(*** Under development ***) ()

Definition at line 46 of file star_rot_dirac.h.


Constructor & Destructor Documentation

Lorene::Star_rot_Dirac::Star_rot_Dirac ( Map mp_i,
int  nzet_i,
const Eos eos_i,
int  filter = 0 
)

Standard constructor.

Parameters:
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 96 of file star_rot_dirac.C.

References aa, aa_quad, hh, j_euler, ln_psi, omega, psi2, psi4, qqq, set_der_0x0(), Lorene::Tensor::set_etat_zero(), spectral_filter, taa, and v2.

Lorene::Star_rot_Dirac::Star_rot_Dirac ( const Star_rot_Dirac star  ) 

Copy constructor.

Definition at line 140 of file star_rot_dirac.C.

References omega, and set_der_0x0().

Lorene::Star_rot_Dirac::Star_rot_Dirac ( Map mp_i,
const Eos eos_i,
FILE *  fich 
)

Constructor from a file (see sauve(FILE*) ).

Parameters:
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 167 of file star_rot_dirac.C.

References Lorene::Star::beta, Lorene::Star::equation_of_state(), Lorene::fread_be(), Lorene::Map::get_bvect_spher(), hydro_euler(), omega, set_der_0x0(), spectral_filter, and update_metric().

Lorene::Star_rot_Dirac::~Star_rot_Dirac (  )  [virtual]

Destructor.

Definition at line 210 of file star_rot_dirac.C.

References del_deriv().


Member Function Documentation

double Lorene::Star_rot_Dirac::angu_mom (  )  const [virtual]
double Lorene::Star_rot_Dirac::aplat (  )  const [virtual]

Flattening r_pole/r_eq.

Definition at line 421 of file strot_dirac_global.C.

References Lorene::Star::ray_eq(), and Lorene::Star::ray_pole().

void Lorene::Star_rot_Dirac::del_deriv (  )  const [protected, virtual]

Deletes all the derived quantities.

Reimplemented from Lorene::Star.

Definition at line 221 of file star_rot_dirac.C.

References p_angu_mom, p_grv2, p_grv3, p_r_circ, p_rp_circ, p_tsw, and set_der_0x0().

void Lorene::Star_rot_Dirac::del_hydro_euler (  )  [protected, virtual]

Sets to ETATNONDEF (undefined state) the hydrodynamical quantities relative to the Eulerian observer.

Reimplemented from Lorene::Star.

Definition at line 249 of file star_rot_dirac.C.

References del_deriv(), j_euler, Lorene::Scalar::set_etat_nondef(), Lorene::Tensor::set_etat_nondef(), and v2.

double Lorene::Star_rot_Dirac::ellipt (  )  const [virtual]

Ellipticity e.

Defined as $ e = \sqrt{1 - \left( \frac{R^c_e}{R^c_p} \right)^2} $, where $R^c_e$ and $R^c_p$ are, respectively, the equatorial and polar circumferential radius, given by r_circ() and rp_circ().

Definition at line 431 of file strot_dirac_global.C.

References r_circ(), rp_circ(), and Lorene::sqrt().

void Lorene::Star::equation_of_state (  )  [inherited]
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 
)
void Lorene::Star::equilibrium_spher ( double  ent_c,
double  precis = 1.e-14,
const Tbl pent_limit = 0x0 
) [virtual, inherited]

Computes a spherical static configuration.

Parameters:
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 101 of file star_equil_spher.C.

References Lorene::Star_rot::a_car, Lorene::Map_et::adapt(), Lorene::Param::add_double(), Lorene::Param::add_int(), Lorene::Param::add_int_mod(), Lorene::Param::add_tbl(), Lorene::Scalar::annule(), Lorene::Star_rot::b_car, Lorene::Star_rot::bbb, Lorene::diffrel(), Lorene::Scalar::dsdr(), Lorene::Map_af::dsdr(), Lorene::Star_rot::dzeta, Lorene::Star::ener, Lorene::Star::ener_euler, Lorene::Star::ent, Lorene::Star::equation_of_state(), Lorene::exp(), Lorene::Star::gam_euler, Lorene::Star::gamma, Lorene::Map_et::get_alpha(), Lorene::Map_af::get_alpha(), Lorene::Map_et::get_beta(), Lorene::Map_af::get_beta(), Lorene::Map::get_bvect_cart(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Map_af::homothetie(), Lorene::Scalar::integrale(), Lorene::Star::logn, Lorene::Star::mass_b(), Lorene::Star::mass_g(), Lorene::Star::mp, Lorene::Star::nn, Lorene::norme(), Lorene::Star::nzet, Lorene::Map_af::poisson(), Lorene::Star::press, Lorene::Star::s_euler, Lorene::Vector::set(), Lorene::Map_af::set_alpha(), Lorene::Map_af::set_beta(), Lorene::Scalar::set_dzpuis(), Lorene::Cmp::set_etat_qcq(), Lorene::Scalar::set_etat_zero(), Lorene::sqrt(), Lorene::Scalar::std_spectral_base(), Lorene::Star::u_euler, Lorene::Scalar::val_grid_point(), and Lorene::Map::val_r().

const Sym_tensor Lorene::Star_rot_Dirac::get_aa (  )  const [inline]

Returns $A^{ij}$.

Definition at line 229 of file star_rot_dirac.h.

References aa.

const Scalar Lorene::Star_rot_Dirac::get_aa_quad (  )  const [inline]

Returns $\tilde{A}_{ij} A^{ij}$.

Definition at line 239 of file star_rot_dirac.h.

References aa_quad.

const Vector& Lorene::Star::get_beta (  )  const [inline, inherited]

Returns the shift vector $\beta^i$.

Definition at line 402 of file star.h.

References Lorene::Star::beta.

const Scalar& Lorene::Star::get_ener (  )  const [inline, inherited]

Returns the proper total energy density.

Definition at line 370 of file star.h.

References Lorene::Star::ener.

const Scalar& Lorene::Star::get_ener_euler (  )  const [inline, inherited]

Returns the total energy density with respect to the Eulerian observer.

Definition at line 376 of file star.h.

References Lorene::Star::ener_euler.

const Scalar& Lorene::Star::get_ent (  )  const [inline, inherited]

Returns the enthalpy field.

Definition at line 364 of file star.h.

References Lorene::Star::ent.

const Eos& Lorene::Star::get_eos (  )  const [inline, inherited]

Returns the equation of state.

Definition at line 361 of file star.h.

References Lorene::Star::eos.

const Scalar& Lorene::Star::get_gam_euler (  )  const [inline, inherited]

Returns the Lorentz factor between the fluid and Eulerian observers.

Definition at line 382 of file star.h.

References Lorene::Star::gam_euler.

const Metric& Lorene::Star::get_gamma (  )  const [inline, inherited]

Returns the 3-metric $\gamma$.

Definition at line 409 of file star.h.

References Lorene::Star::gamma.

const Sym_tensor_trans Lorene::Star_rot_Dirac::get_hh (  )  const [inline]

Returns $h^{ij}$.

Definition at line 244 of file star_rot_dirac.h.

References hh.

const Vector& Lorene::Star_rot_Dirac::get_j_euler (  )  const [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.

const Scalar& Lorene::Star_rot_Dirac::get_ln_psi (  )  const [inline]

Returns $ln(\Psi)$.

Definition at line 199 of file star_rot_dirac.h.

References ln_psi.

const Scalar& Lorene::Star::get_logn (  )  const [inline, inherited]

Returns the logarithm of the lapse N.

In the Newtonian case, this is the Newtonian gravitational potential (in units of $c^2$).

Definition at line 396 of file star.h.

References Lorene::Star::logn.

const Map& Lorene::Star::get_mp (  )  const [inline, inherited]

Returns the mapping.

Definition at line 355 of file star.h.

References Lorene::Star::mp.

const Scalar& Lorene::Star::get_nbar (  )  const [inline, inherited]

Returns the proper baryon density.

Definition at line 367 of file star.h.

References Lorene::Star::nbar.

const Scalar& Lorene::Star::get_nn (  )  const [inline, inherited]

Returns the lapse function N.

Definition at line 399 of file star.h.

References Lorene::Star::nn.

int Lorene::Star::get_nzet (  )  const [inline, inherited]

Returns the number of domains occupied by the star.

Definition at line 358 of file star.h.

References Lorene::Star::nzet.

double Lorene::Star_rot_Dirac::get_omega (  )  const [inline]

Returns the rotation angular velocity $\Omega$.

Definition at line 178 of file star_rot_dirac.h.

References omega.

const Scalar& Lorene::Star::get_press (  )  const [inline, inherited]

Returns the fluid pressure.

Definition at line 373 of file star.h.

References Lorene::Star::press.

const Scalar& Lorene::Star_rot_Dirac::get_psi2 (  )  const [inline]

Returns $\Psi^2$.

Definition at line 189 of file star_rot_dirac.h.

References psi2.

const Scalar& Lorene::Star_rot_Dirac::get_psi4 (  )  const [inline]

Returns the conformal factor $\Psi^4$.

Definition at line 184 of file star_rot_dirac.h.

References psi4.

const Scalar& Lorene::Star_rot_Dirac::get_qqq (  )  const [inline]

Returns $Q=\Psi^2 N$.

Definition at line 194 of file star_rot_dirac.h.

References qqq.

const Scalar& Lorene::Star::get_s_euler (  )  const [inline, inherited]

Returns the trace of the stress tensor in the Eulerian frame.

Definition at line 379 of file star.h.

References Lorene::Star::s_euler.

const Tensor& Lorene::Star::get_stress_euler (  )  const [inline, inherited]

Returns the spatial part of the stress-energy tensor with respect to the Eulerian observer.

Definition at line 390 of file star.h.

References Lorene::Star::stress_euler.

const Sym_tensor Lorene::Star_rot_Dirac::get_taa (  )  const [inline]

Returns $\tilde{A}_{ij}$.

Definition at line 234 of file star_rot_dirac.h.

References taa.

const Metric Lorene::Star_rot_Dirac::get_tgamma (  )  const [inline]

Returns the conformal metric $\tilde{\gamma}_{ij}$.

Definition at line 222 of file star_rot_dirac.h.

References tgamma.

const Vector& Lorene::Star::get_u_euler (  )  const [inline, inherited]

Returns the fluid 3-velocity with respect to the Eulerian observer.

Definition at line 385 of file star.h.

References Lorene::Star::u_euler.

const Scalar& Lorene::Star_rot_Dirac::get_v2 (  )  const [inline]

Reutrns $\gamma_{ij}v^i v^j$.

Definition at line 214 of file star_rot_dirac.h.

References v2.

double Lorene::Star_rot_Dirac::grv2 (  )  const [virtual]
double Lorene::Star_rot_Dirac::grv3 (  )  const [virtual]
void Lorene::Star_rot_Dirac::hydro_euler (  )  [virtual]
const Itbl & Lorene::Star::l_surf (  )  const [virtual, inherited]

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 $(\theta', \phi')$.

The stellar surface is defined as the location where the enthalpy (member ent) vanishes.

Reimplemented in Lorene::Star_rot.

Definition at line 66 of file star_global.C.

References Lorene::Star::ent, Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Scalar::get_spectral_va(), Lorene::Star::mp, Lorene::Star::nzet, Lorene::Star::p_l_surf, and Lorene::Star::p_xi_surf.

double Lorene::Star_rot_Dirac::mass_b (  )  const [virtual]
double Lorene::Star_rot_Dirac::mass_g (  )  const [virtual]
void Lorene::Star_rot_Dirac::operator= ( const Star_rot_Dirac star  ) 

Assignment to another Star_rot_Dirac.

Reimplemented from Lorene::Star.

Reimplemented in Lorene::Star_rot_Dirac_diff.

Definition at line 269 of file star_rot_dirac.C.

References aa, aa_quad, del_deriv(), flat, hh, j_euler, ln_psi, omega, psi2, psi4, qqq, spectral_filter, tgamma, and v2.

ostream & Lorene::Star_rot_Dirac::operator>> ( ostream &  ost  )  const [protected, virtual]

Operator >> (virtual function called by the operator <<).

Reimplemented from Lorene::Star.

Reimplemented in Lorene::Star_rot_Dirac_diff.

Definition at line 318 of file star_rot_dirac.C.

References angu_mom(), aplat(), ellipt(), Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), grv2(), grv3(), mass_g(), Lorene::Star::mp, omega, Lorene::pow(), r_circ(), Lorene::Star::ray_eq(), rp_circ(), spectral_filter, and tsw().

double Lorene::Star_rot_Dirac::r_circ (  )  const [virtual]
double Lorene::Star::ray_eq (  )  const [inherited]
double Lorene::Star::ray_eq_3pis2 (  )  const [inherited]
double Lorene::Star::ray_eq_pi (  )  const [inherited]
double Lorene::Star::ray_eq_pis2 (  )  const [inherited]
double Lorene::Star::ray_pole (  )  const [inherited]
double Lorene::Star_rot_Dirac::rp_circ (  )  const [virtual]
void Lorene::Star_rot_Dirac::sauve ( FILE *  fich  )  const [virtual]
void Lorene::Star_rot_Dirac::set_der_0x0 (  )  const [protected, virtual]

Sets to 0x0 all the pointers on derived quantities.

Reimplemented from Lorene::Star.

Definition at line 237 of file star_rot_dirac.C.

References p_angu_mom, p_grv2, p_grv3, p_r_circ, p_rp_circ, and p_tsw.

void Lorene::Star::set_enthalpy ( const Scalar ent_i  )  [inherited]

Assignment of the enthalpy field.

Definition at line 382 of file star.C.

References Lorene::Star::del_deriv(), Lorene::Star::ent, and Lorene::Star::equation_of_state().

Map& Lorene::Star::set_mp (  )  [inline, inherited]

Read/write of the mapping.

Definition at line 322 of file star.h.

References Lorene::Star::mp.

void Lorene::Star_rot_Dirac::solve_hij ( Sym_tensor_trans hij_new  )  const
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 65 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
void Lorene::Star_rot_Dirac::solve_qqq ( Scalar q_new  )  const
void Lorene::Star_rot_Dirac::solve_shift ( Vector shift_new  )  const
int Lorene::Star_rot_Dirac::spectral_filter_order (  )  const [inline]

Returns the filtering order.

Definition at line 173 of file star_rot_dirac.h.

References spectral_filter.

double Lorene::Star_rot_Dirac::tsw (  )  const [virtual]
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 62 of file strot_dirac_upmetr.C.

References aa, aa_quad, Lorene::Star::beta, Lorene::Metric::con(), Lorene::Metric_flat::con(), Lorene::contract(), del_deriv(), Lorene::Sym_tensor::derive_lie(), Lorene::exp(), flat, Lorene::Star::gamma, hh, ln_psi, Lorene::log(), Lorene::Star::logn, Lorene::Star::nn, Lorene::Vector::ope_killing_conf(), psi2, psi4, qqq, Lorene::sqrt(), Lorene::Scalar::std_spectral_base(), taa, tgamma, and Lorene::Tensor::up_down().

const Tbl & Lorene::Star::xi_surf (  )  const [inherited]

Description of the stellar surface: returns a 2-D Tbl containing the values of the radial coordinate $\xi$ on the surface at the collocation points in $(\theta', \phi')$.

The stellar surface is defined as the location where the enthalpy (member ent) vanishes.

Definition at line 92 of file star_global.C.

References Lorene::Star::l_surf(), Lorene::Star::p_l_surf, and Lorene::Star::p_xi_surf.


Friends And Related Function Documentation

ostream& operator<< ( ostream &  ,
const Star  
) [friend, inherited]

Display.


Member Data Documentation

$A^{ij}$

Definition at line 87 of file star_rot_dirac.h.

$\tilde{A}_{ij} A^{ij}$

Definition at line 89 of file star_rot_dirac.h.

Vector Lorene::Star::beta [protected, inherited]

Shift vector.

Definition at line 228 of file star.h.

Scalar Lorene::Star::ener [protected, inherited]

Total energy density in the fluid frame.

Definition at line 193 of file star.h.

Scalar Lorene::Star::ener_euler [protected, inherited]

Total energy density in the Eulerian frame.

Definition at line 198 of file star.h.

Scalar Lorene::Star::ent [protected, inherited]

Log-enthalpy.

Definition at line 190 of file star.h.

const Eos& Lorene::Star::eos [protected, inherited]

Equation of state of the stellar matter.

Definition at line 185 of file star.h.

flat metric $f_{ij}$ (spherical components)

Definition at line 84 of file star_rot_dirac.h.

Scalar Lorene::Star::gam_euler [protected, inherited]

Lorentz factor between the fluid and Eulerian observers.

Definition at line 204 of file star.h.

Metric Lorene::Star::gamma [protected, inherited]

3-metric

Definition at line 235 of file star.h.

$h^{ij}$ is defined by $\tilde{\gamma}^{ij}=f^{ij}+h^{ij}$.

We impose the Dirac gauge $D_j h^{ij}$ explicitly by defining $h^{ij}$ to be a symmetric transverse tensor.

Definition at line 96 of file star_rot_dirac.h.

Momentum density 3-vector with respect to the Eulerian observer.

Definition at line 77 of file star_rot_dirac.h.

$ln(\Psi)$

Definition at line 67 of file star_rot_dirac.h.

Scalar Lorene::Star::logn [protected, inherited]

Logarithm of the lapse N .

In the Newtonian case, this is the Newtonian gravitational potential (in units of $c^2$).

Definition at line 222 of file star.h.

Map& Lorene::Star::mp [protected, inherited]

Mapping associated with the star.

Definition at line 180 of file star.h.

Scalar Lorene::Star::nbar [protected, inherited]

Baryon density in the fluid frame.

Definition at line 192 of file star.h.

Scalar Lorene::Star::nn [protected, inherited]

Lapse function N .

Definition at line 225 of file star.h.

int Lorene::Star::nzet [protected, inherited]

Number of domains of *mp occupied by the star.

Definition at line 183 of file star.h.

double Lorene::Star_rot_Dirac::omega [protected]

Rotation angular velocity ([f_unit] ).

Definition at line 59 of file star_rot_dirac.h.

double* Lorene::Star_rot_Dirac::p_angu_mom [mutable, protected]

Angular momentum.

Definition at line 106 of file star_rot_dirac.h.

double* Lorene::Star_rot_Dirac::p_grv2 [mutable, protected]

Error on the virial identity GRV2.

Definition at line 107 of file star_rot_dirac.h.

double* Lorene::Star_rot_Dirac::p_grv3 [mutable, protected]

Error on the virial identity GRV3.

Definition at line 108 of file star_rot_dirac.h.

Itbl* Lorene::Star::p_l_surf [mutable, protected, inherited]

Description of the stellar surface: 2-D Itbl containing the values of the domain index l on the surface at the collocation points in $(\theta', \phi')$.

Definition at line 260 of file star.h.

double* Lorene::Star::p_mass_b [mutable, protected, inherited]

Baryon mass.

Definition at line 268 of file star.h.

double* Lorene::Star::p_mass_g [mutable, protected, inherited]

Gravitational mass.

Definition at line 269 of file star.h.

double* Lorene::Star_rot_Dirac::p_r_circ [mutable, protected]

Circumferential equatorial radius.

Definition at line 110 of file star_rot_dirac.h.

double* Lorene::Star::p_ray_eq [mutable, protected, inherited]

Coordinate radius at $\phi=0$, $\theta=\pi/2$.

Definition at line 242 of file star.h.

double* Lorene::Star::p_ray_eq_3pis2 [mutable, protected, inherited]

Coordinate radius at $\phi=3\pi/2$, $\theta=\pi/2$.

Definition at line 251 of file star.h.

double* Lorene::Star::p_ray_eq_pi [mutable, protected, inherited]

Coordinate radius at $\phi=\pi$, $\theta=\pi/2$.

Definition at line 248 of file star.h.

double* Lorene::Star::p_ray_eq_pis2 [mutable, protected, inherited]

Coordinate radius at $\phi=\pi/2$, $\theta=\pi/2$.

Definition at line 245 of file star.h.

double* Lorene::Star::p_ray_pole [mutable, protected, inherited]

Coordinate radius at $\theta=0$.

Definition at line 254 of file star.h.

double* Lorene::Star_rot_Dirac::p_rp_circ [mutable, protected]

Circumferential polar radius.

Definition at line 111 of file star_rot_dirac.h.

double* Lorene::Star_rot_Dirac::p_tsw [mutable, protected]

Ratio T/W.

Definition at line 109 of file star_rot_dirac.h.

Tbl* Lorene::Star::p_xi_surf [mutable, protected, inherited]

Description of the stellar surface: 2-D Tbl containing the values of the radial coordinate $\xi$ on the surface at the collocation points in $(\theta', \phi')$.

Definition at line 266 of file star.h.

Scalar Lorene::Star::press [protected, inherited]

Fluid pressure.

Definition at line 194 of file star.h.

$\Psi^2$

Definition at line 65 of file star_rot_dirac.h.

Conformal factor $\Psi^4$.

Definition at line 64 of file star_rot_dirac.h.

$Q = \Psi^2 N$

Definition at line 66 of file star_rot_dirac.h.

Scalar Lorene::Star::s_euler [protected, inherited]

Trace of the stress scalar in the Eulerian frame.

Definition at line 201 of file star.h.

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 $0 < l <$ nzet .

Definition at line 57 of file star_rot_dirac.h.

Sym_tensor Lorene::Star::stress_euler [protected, inherited]

Spatial part of the stress-energy tensor with respect to the Eulerian observer.

Definition at line 212 of file star.h.

$\tilde{A}_{ij}$

Definition at line 88 of file star_rot_dirac.h.

$\tilde{\gamma}_{ij}$

Definition at line 86 of file star_rot_dirac.h.

Vector Lorene::Star::u_euler [protected, inherited]

Fluid 3-velocity with respect to the Eulerian observer.

Definition at line 207 of file star.h.

$\gamma_{ij}v^i v^j$

Definition at line 78 of file star_rot_dirac.h.


The documentation for this class was generated from the following files:

Generated on 7 Dec 2019 for LORENE by  doxygen 1.6.1