LORENE
|
Class for stationary axisymmetric boson stars (under development). More...
#include <boson_star.h>
Public Member Functions | |
Boson_star (Map &mp_i, double m, int k) | |
Standard constructor. More... | |
Boson_star (const Boson_star &) | |
Copy constructor. More... | |
Boson_star (Map &mp_i, FILE *fich) | |
Constructor from a file (see sauve(FILE*) ). More... | |
virtual | ~Boson_star () |
Destructor. More... | |
void | operator= (const Boson_star &) |
Assignment to another Boson_star . More... | |
const Scalar & | get_rphi () const |
Returns the real part of the scalar field. More... | |
const Scalar & | get_iphi () const |
Returns the imaginary part of the scalar field. More... | |
Scalar & | set_rphi () |
Sets a value to the real part of the scalar field. More... | |
Scalar & | set_iphi () |
Sets a value to the imaginary part of the scalar field. More... | |
virtual void | sauve (FILE *) const |
Save in a file. More... | |
void | update_ener_mom () |
Computes the 3+1 components of the energy-momentum tensor (E, P_i and S_{ij}) from the values of the scalar field and the metric. More... | |
virtual void | equilibrium (double rphi_c, double iphi_c, int nzadapt, const Tbl &ent_limit, const Itbl &icontrol, const Tbl &control, Tbl &diff, Param *=0x0) |
Solves the equation satisfied by the scalar field. More... | |
const Scalar & | get_logn () const |
Returns the logarithm of the lapse N. More... | |
const Scalar & | get_tnphi () const |
Returns the component of the shift vector. More... | |
const Scalar & | get_nuf () const |
Returns the part of the Metric potential = logn generated by the matter terms. More... | |
const Scalar & | get_nuq () const |
Returns the Part of the Metric potential = logn generated by the quadratic terms. More... | |
const Scalar & | get_dzeta () const |
Returns the Metric potential . More... | |
const Scalar & | get_tggg () const |
Returns the Metric potential . More... | |
const Vector & | get_w_shift () const |
Returns the vector used in the decomposition of shift , following Shibata's prescription [Prog. More... | |
const Scalar & | get_khi_shift () const |
Returns the scalar used in the decomposition of shift following Shibata's prescription [Prog. 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 | grv3 (ostream *ost=0x0) const |
Error on the virial identity GRV3. More... | |
virtual double | mom_quad () const |
Quadrupole moment. 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... | |
const Scalar & | get_bbb () const |
Returns the metric factor B. More... | |
const Scalar & | get_a_car () const |
Returns the square of the metric factor A. More... | |
const Scalar & | get_b_car () const |
Returns the square of the metric factor B. More... | |
const Scalar & | get_nphi () const |
Returns the metric coefficient . More... | |
const Scalar & | get_ak_car () const |
Returns the scalar . More... | |
void | gyoto_data (const char *file_name) const |
Save in a file for GYOTO. More... | |
virtual double | r_isco (int lmin, ostream *ost=0x0) const |
Coordinate r of the innermost stable circular orbit (ISCO). More... | |
virtual double | f_isco (int lmin) const |
Orbital frequency at the innermost stable circular orbit (ISCO). More... | |
virtual double | espec_isco (int lmin) const |
Energy of a particle at the ISCO. More... | |
virtual double | lspec_isco (int lmin) const |
Angular momentum of a particle at the ISCO. More... | |
virtual double | r_mb (int lmin, ostream *ost=0x0) const |
Coordinate r of the marginally bound circular orbit (R_mb). More... | |
virtual void | extrinsic_curvature () |
Computes the extrinsic curvature and ak_car from nphi , nn and b_car . More... | |
Map & | set_mp () |
Read/write of the mapping. More... | |
const Map & | get_mp () const |
Returns the mapping. More... | |
const Scalar & | get_nn () const |
Returns the lapse function N . More... | |
const Vector & | get_beta () const |
Returns the shift vector . More... | |
const Metric & | get_gamma () const |
Returns the 3-metric . More... | |
const Scalar & | get_ener_euler () const |
Returns the total energy density E in the Eulerian frame. More... | |
const Vector & | get_mom_euler () const |
Returns the total 3-momentum density in the Eulerian frame. More... | |
const Sym_tensor & | get_stress_euler () const |
Returns the stress tensor with respect to the Eulerian observer. More... | |
const Sym_tensor & | get_kk () const |
Returns the extrinsic curvature tensor . More... | |
virtual double | adm_mass () const |
ADM mass (computed as a surface integral at spatial infinity) More... | |
Static Public Member Functions | |
static double | lambda_grv2 (const Scalar &sou_m, const Scalar &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 ostream & | operator>> (ostream &) const |
Operator >> (virtual function called by the operator <<). More... | |
Protected Attributes | |
Scalar | rphi |
Real part of the scalar field Phi. More... | |
Scalar | iphi |
Imaginary part of the scalar field Phi. More... | |
double | omega |
Coefficient omega in the time dependence of Phi. More... | |
int | kkk |
Coefficient kkk in the azimuthal dependence of Phi. More... | |
double | mmm |
Boson mass. More... | |
double | m2 |
Boson mass squared. More... | |
Scalar | logn |
Logarithm of the lapse N . More... | |
Scalar | tnphi |
Component of the shift vector. More... | |
Scalar | nuf |
Part of the Metric potential = logn generated by the matter terms. More... | |
Scalar | nuq |
Part of the Metric potential = logn generated by the quadratic terms. More... | |
Scalar | dzeta |
Metric potential . More... | |
Scalar | tggg |
Metric potential . More... | |
Vector | w_shift |
Vector used in the decomposition of shift , following Shibata's prescription [Prog. More... | |
Scalar | khi_shift |
Scalar used in the decomposition of shift , following Shibata's prescription [Prog. More... | |
Scalar | ssjm1_nuf |
Effective source at the previous step for the resolution of the Poisson equation for nuf by means of Map_et::poisson . More... | |
Scalar | ssjm1_nuq |
Effective source at the previous step for the resolution of the Poisson equation for nuq by means of Map_et::poisson . More... | |
Scalar | ssjm1_dzeta |
Effective source at the previous step for the resolution of the Poisson equation for dzeta . More... | |
Scalar | ssjm1_tggg |
Effective source at the previous step for the resolution of the Poisson equation for tggg . More... | |
Scalar | 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... | |
Vector | ssjm1_wshift |
Effective source at the previous step for the resolution of the vector Poisson equation for . More... | |
double * | p_grv2 |
Error on the virial identity GRV2. More... | |
double * | p_grv3 |
Error on the virial identity GRV3. More... | |
double * | p_mom_quad |
Quadrupole moment. More... | |
double * | p_mass_g |
Gravitational mass (ADM mass as a volume integral) More... | |
Scalar | a_car |
Square of the metric factor A. More... | |
Scalar | bbb |
Metric factor B. More... | |
Scalar | b_car |
Square of the metric factor B. More... | |
Scalar | nphi |
Metric coefficient . More... | |
Scalar | ak_car |
Scalar . More... | |
double * | p_angu_mom |
Angular momentum. More... | |
double * | p_r_isco |
Coordinate r of the ISCO. More... | |
double * | p_f_isco |
Orbital frequency of the ISCO. More... | |
double * | p_espec_isco |
Specific energy of a particle at the ISCO. More... | |
double * | p_lspec_isco |
Specific angular momentum of a particle at the ISCO. More... | |
double * | p_r_mb |
Coordinate r of the marginally bound orbit. More... | |
Map & | mp |
Mapping describing the coordinate system (r,theta,phi) More... | |
Scalar | nn |
Lapse function N . More... | |
Vector | beta |
Shift vector . More... | |
Metric | gamma |
3-metric More... | |
Scalar | ener_euler |
Total energy density E in the Eulerian frame. More... | |
Vector | mom_euler |
Total 3-momentum density in the Eulerian frame. More... | |
Sym_tensor | stress_euler |
Stress tensor with respect to the Eulerian observer. More... | |
Sym_tensor | kk |
Extrinsic curvature tensor . More... | |
double * | p_adm_mass |
ADM mass. More... | |
Class for stationary axisymmetric boson stars (under development).
()
Definition at line 64 of file boson_star.h.
Lorene::Boson_star::Boson_star | ( | Map & | mp_i, |
double | m, | ||
int | k | ||
) |
Standard constructor.
mp_i | Mapping on which the star is contructed |
m | Boson mass //## which unit ? |
k | Coefficient k in the azimuthal dependence of Phi |
Definition at line 67 of file boson_star.C.
References iphi, rphi, and set_der_0x0().
Lorene::Boson_star::Boson_star | ( | const Boson_star & | st | ) |
Lorene::Boson_star::Boson_star | ( | Map & | mp_i, |
FILE * | fich | ||
) |
Constructor from a file (see sauve(FILE*)
).
mp_i | Mapping on which the star is constructed |
fich | input file (must have been created by the function Boson_star::sauve ) |
Definition at line 103 of file boson_star.C.
References Lorene::fread_be(), kkk, m2, mmm, omega, and set_der_0x0().
|
virtual |
|
virtualinherited |
ADM mass (computed as a surface integral at spatial infinity)
Definition at line 313 of file compobj.C.
References Lorene::Metric::cov(), Lorene::Tensor::derive_con(), Lorene::Tensor_sym::derive_con(), Lorene::Vector::flux(), Lorene::Compobj::gamma, Lorene::Tensor::get_triad(), Lorene::Compobj::mp, Lorene::Compobj::p_adm_mass, Lorene::Tensor::trace(), and Lorene::Tensor::up().
|
virtualinherited |
Angular momentum.
Reimplemented from Lorene::Compobj_QI.
Definition at line 99 of file star_QI_global.C.
References Lorene::Compobj_QI::a_car, Lorene::Compobj_QI::b_car, Lorene::Compobj_QI::bbb, Lorene::Map::get_bvect_spher(), Lorene::Tensor::get_triad(), Lorene::Compobj::mom_euler, Lorene::Compobj::mp, and Lorene::Compobj_QI::p_angu_mom.
|
protectedvirtual |
Deletes all the derived quantities.
Reimplemented from Lorene::Star_QI.
Definition at line 133 of file boson_star.C.
References Lorene::Star_QI::del_deriv(), and set_der_0x0().
|
virtual |
Solves the equation satisfied by the scalar field.
Computes an equilibrium configuration.
rphi_c | [input] Central value of the real part of the scalar field |
iphi_c | [input] Central value of the imaginary part of the scalar field |
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:
|
diff | [output] 1-D Tbl of size 7 for the storage of some error indicators :
|
Definition at line 73 of file boson_star_equil.C.
References Lorene::Map::get_mg(), Lorene::Mg3d::get_nzone(), Lorene::Mg3d::get_type_t(), and Lorene::Compobj::mp.
|
virtualinherited |
Energy of a particle at the ISCO.
Definition at line 323 of file compobj_QI_global.C.
References Lorene::Compobj_QI::p_espec_isco, and Lorene::Compobj_QI::r_isco().
|
virtualinherited |
Computes the extrinsic curvature and ak_car
from nphi
, nn
and b_car
.
Reimplemented from Lorene::Compobj.
Reimplemented in Lorene::AltBH_QI.
Definition at line 342 of file compobj_QI.C.
References Lorene::Compobj_QI::ak_car, Lorene::Compobj_QI::b_car, Lorene::Compobj_QI::del_deriv(), Lorene::Scalar::dsdr(), Lorene::Scalar::dsdt(), Lorene::Compobj::extrinsic_curvature(), Lorene::Map::get_mg(), Lorene::Scalar::inc_dzpuis(), Lorene::Compobj::kk, Lorene::Compobj::mp, Lorene::Scalar::mult_rsint(), Lorene::Scalar::mult_sint(), Lorene::Compobj::nn, Lorene::Compobj_QI::nphi, and Lorene::Tensor::set().
|
virtualinherited |
Orbital frequency at the innermost stable circular orbit (ISCO).
Definition at line 289 of file compobj_QI_global.C.
References Lorene::Compobj_QI::p_f_isco, and Lorene::Compobj_QI::r_isco().
|
inherited |
Computes tnphi
and nphi
from the Cartesian components of the shift, stored in shift
.
Definition at line 389 of file star_QI.C.
References Lorene::Compobj::beta.
|
inherited |
Computes shift
from w_shift
and khi_shift
according to Shibata's prescription [Prog.
Theor. Phys. 101 , 1199 (1999)] :
Definition at line 343 of file star_QI.C.
References Lorene::Compobj::beta, Lorene::contract(), Lorene::Map::cosp, Lorene::Map::cost, Lorene::Tensor::dec_dzpuis(), Lorene::Tensor::derive_con(), Lorene::Scalar::derive_con(), Lorene::Scalar::domain(), Lorene::Map::flat_met_cart(), Lorene::Map::get_bvect_cart(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nzone(), Lorene::Star_QI::khi_shift, Lorene::Compobj::mp, Lorene::Tbl::set(), Lorene::Vector::set(), Lorene::Tensor::set(), Lorene::Scalar::set_domain(), Lorene::Map::sinp, Lorene::Map::sint, Lorene::Star_QI::w_shift, Lorene::Map::x, Lorene::Map::y, and Lorene::Map::z.
|
inlineinherited |
Returns the square of the metric factor A.
Definition at line 381 of file compobj.h.
References Lorene::Compobj_QI::a_car.
|
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 407 of file compobj.h.
References Lorene::Compobj_QI::ak_car.
|
inlineinherited |
Returns the square of the metric factor B.
Definition at line 384 of file compobj.h.
References Lorene::Compobj_QI::b_car.
|
inlineinherited |
Returns the metric factor B.
Definition at line 378 of file compobj.h.
References Lorene::Compobj_QI::bbb.
|
inlineinherited |
Returns the shift vector .
Definition at line 216 of file compobj.h.
References Lorene::Compobj::beta.
|
inlineinherited |
Returns the Metric potential .
Definition at line 658 of file compobj.h.
References Lorene::Star_QI::dzeta.
|
inlineinherited |
Returns the total energy density E in the Eulerian frame.
Definition at line 222 of file compobj.h.
References Lorene::Compobj::ener_euler.
|
inlineinherited |
|
inline |
Returns the imaginary part of the scalar field.
Definition at line 150 of file boson_star.h.
References iphi.
|
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 689 of file compobj.h.
References Lorene::Star_QI::khi_shift.
|
inlineinherited |
Returns the extrinsic curvature tensor .
Definition at line 231 of file compobj.h.
References Lorene::Compobj::kk.
|
inlineinherited |
Returns the logarithm of the lapse N.
Definition at line 639 of file compobj.h.
References Lorene::Star_QI::logn.
|
inlineinherited |
Returns the total 3-momentum density in the Eulerian frame.
Definition at line 225 of file compobj.h.
References Lorene::Compobj::mom_euler.
|
inlineinherited |
|
inlineinherited |
Returns the lapse function N .
Definition at line 213 of file compobj.h.
References Lorene::Compobj::nn.
|
inlineinherited |
Returns the metric coefficient .
Definition at line 387 of file compobj.h.
References Lorene::Compobj_QI::nphi.
|
inlineinherited |
Returns the part of the Metric potential = logn
generated by the matter terms.
Definition at line 650 of file compobj.h.
References Lorene::Star_QI::nuf.
|
inlineinherited |
Returns the Part of the Metric potential = logn
generated by the quadratic terms.
Definition at line 655 of file compobj.h.
References Lorene::Star_QI::nuq.
|
inline |
Returns the real part of the scalar field.
Definition at line 146 of file boson_star.h.
References rphi.
|
inlineinherited |
Returns the stress tensor with respect to the Eulerian observer.
Definition at line 228 of file compobj.h.
References Lorene::Compobj::stress_euler.
|
inlineinherited |
Returns the Metric potential .
Definition at line 661 of file compobj.h.
References Lorene::Star_QI::tggg.
|
inlineinherited |
Returns the component of the shift vector.
Definition at line 645 of file compobj.h.
References Lorene::Star_QI::tnphi.
|
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 675 of file compobj.h.
References Lorene::Star_QI::w_shift.
|
virtualinherited |
Error on the virial identity GRV2.
This indicator is only valid for relativistic computations.
Definition at line 126 of file star_QI_global.C.
References Lorene::Compobj_QI::a_car, Lorene::Compobj_QI::ak_car, Lorene::Compobj_QI::b_car, Lorene::Scalar::derive_cov(), Lorene::Map::flat_met_spher(), Lorene::Map::get_bvect_spher(), Lorene::Tensor::get_triad(), Lorene::Star_QI::lambda_grv2(), Lorene::Star_QI::logn, Lorene::Compobj::mp, Lorene::Star_QI::p_grv2, and Lorene::Compobj::stress_euler.
|
virtualinherited |
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. |
Definition at line 151 of file star_QI_global.C.
References Lorene::Compobj_QI::ak_car, Lorene::Compobj_QI::bbb, Lorene::Scalar::derive_cov(), Lorene::Star_QI::dzeta, Lorene::Map::flat_met_spher(), Lorene::Scalar::get_etat(), Lorene::log(), Lorene::Star_QI::logn, Lorene::Compobj::mp, Lorene::Star_QI::p_grv3, Lorene::Scalar::srdsdt(), and Lorene::Scalar::std_spectral_base().
|
inherited |
Save in a file for GYOTO.
Definition at line 235 of file compobj_QI.C.
References Lorene::Compobj::beta, Lorene::Metric::con(), Lorene::Metric::cov(), Lorene::fwrite_be(), Lorene::Compobj::gamma, Lorene::Map::get_mg(), Lorene::Compobj::kk, Lorene::Compobj::mp, Lorene::Compobj::nn, Lorene::Compobj_QI::r_isco(), Lorene::Compobj_QI::r_mb(), Lorene::Mg3d::sauve(), Lorene::Map::sauve(), Lorene::Tensor::sauve(), Lorene::Scalar::sauve(), and Lorene::Tensor_sym::sauve().
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 324 of file star_QI_global.C.
References Lorene::Scalar::check_dzpuis(), Lorene::Map::get_mg(), Lorene::Tensor::get_mp(), Lorene::Mg3d::get_nzone(), Lorene::Mg3d::get_type_r(), and Lorene::Map::val_r().
|
virtualinherited |
Angular momentum of a particle at the ISCO.
Definition at line 306 of file compobj_QI_global.C.
References Lorene::Compobj_QI::p_lspec_isco, and Lorene::Compobj_QI::r_isco().
|
virtualinherited |
Gravitational mass.
Definition at line 67 of file star_QI_global.C.
References Lorene::Compobj_QI::a_car, Lorene::Compobj_QI::b_car, Lorene::Compobj_QI::bbb, Lorene::Compobj::ener_euler, Lorene::Compobj::gamma, Lorene::Compobj::mom_euler, Lorene::Compobj::nn, Lorene::Star_QI::p_mass_g, Lorene::Scalar::std_spectral_base(), Lorene::Compobj::stress_euler, Lorene::Star_QI::tnphi, and Lorene::Tensor::trace().
|
virtualinherited |
Quadrupole moment.
The quadrupole moment Q is defined according to Eq. (7) of [Salgado, Bonazzola, Gourgoulhon and Haensel, Astron. Astrophys. 291 , 155 (1994)]. At the Newtonian limit it is related to the component of the MTW (1973) reduced quadrupole moment by: . Note that Q is the negative of the quadrupole moment defined by Laarakkers and Poisson, Astrophys. J. 512 , 282 (1999).
Definition at line 253 of file star_QI_global.C.
References Lorene::Compobj_QI::a_car, Lorene::Compobj_QI::ak_car, Lorene::Compobj_QI::bbb, Lorene::Scalar::check_dzpuis(), Lorene::Scalar::derive_cov(), Lorene::Compobj::ener_euler, Lorene::Map::flat_met_spher(), Lorene::Compobj::gamma, Lorene::Scalar::get_etat(), Lorene::Scalar::inc_dzpuis(), Lorene::log(), Lorene::Star_QI::logn, Lorene::Compobj::mp, Lorene::Scalar::mult_r(), Lorene::Star_QI::p_mom_quad, Lorene::Scalar::std_spectral_base(), Lorene::Compobj::stress_euler, and Lorene::Tensor::trace().
void Lorene::Boson_star::operator= | ( | const Boson_star & | st | ) |
Assignment to another Boson_star
.
Definition at line 151 of file boson_star.C.
References del_deriv(), iphi, kkk, m2, mmm, omega, Lorene::Star_QI::operator=(), and rphi.
|
protectedvirtual |
Operator >> (virtual function called by the operator <<).
Reimplemented from Lorene::Star_QI.
Definition at line 186 of file boson_star.C.
References iphi, kkk, Lorene::Star_QI::mass_g(), mmm, omega, Lorene::Star_QI::operator>>(), rphi, and Lorene::Scalar::val_grid_point().
|
virtualinherited |
Coordinate r of the innermost stable circular orbit (ISCO).
lmin | index of the innermost domain in which the ISCO is searched: the ISCO is searched inwards from the last but one domain to the domain of index lmin. |
ost | output stream to give details of the computation; if set to 0x0 [default value], no details will be given. |
Definition at line 111 of file compobj_QI_global.C.
References Lorene::Param::add_int(), Lorene::Param::add_scalar(), Lorene::Tensor::annule_domain(), Lorene::Compobj_QI::bbb, Lorene::Scalar::dsdr(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nzone(), Lorene::Scalar::get_spectral_va(), Lorene::Compobj::mp, Lorene::Compobj::nn, Lorene::Compobj_QI::nphi, Lorene::Compobj_QI::p_espec_isco, Lorene::Compobj_QI::p_f_isco, Lorene::Compobj_QI::p_lspec_isco, Lorene::Compobj_QI::p_r_isco, Lorene::Map::r, Lorene::sqrt(), Lorene::Scalar::std_spectral_base(), Lorene::Valeur::val_point(), Lorene::Map::val_r(), and Lorene::zerosec().
|
virtualinherited |
Coordinate r of the marginally bound circular orbit (R_mb).
Definition at line 344 of file compobj_QI_global.C.
References Lorene::Param::add_int(), Lorene::Param::add_scalar(), Lorene::Tensor::annule_domain(), Lorene::Compobj_QI::bbb, Lorene::Scalar::dsdr(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nzone(), Lorene::Scalar::get_spectral_va(), Lorene::Compobj::mp, Lorene::Compobj::nn, Lorene::Compobj_QI::nphi, Lorene::Compobj_QI::p_r_mb, Lorene::Map::r, Lorene::Compobj_QI::r_isco(), Lorene::sqrt(), Lorene::Scalar::std_spectral_base(), Lorene::Valeur::val_point(), Lorene::Map::val_r(), and Lorene::zerosec().
|
virtual |
Save in a file.
Reimplemented from Lorene::Star_QI.
Definition at line 172 of file boson_star.C.
References Lorene::fwrite_be(), iphi, kkk, mmm, omega, rphi, Lorene::Star_QI::sauve(), and Lorene::Scalar::sauve().
|
protectedvirtual |
Sets to 0x0
all the pointers on derived quantities.
Reimplemented from Lorene::Star_QI.
Definition at line 141 of file boson_star.C.
|
inline |
Sets a value to the imaginary part of the scalar field.
Definition at line 158 of file boson_star.h.
References del_deriv(), and iphi.
|
inlineinherited |
Read/write of the mapping.
Definition at line 203 of file compobj.h.
References Lorene::Compobj::mp.
|
inline |
Sets a value to the real part of the scalar field.
Definition at line 154 of file boson_star.h.
References del_deriv(), and rphi.
void Lorene::Boson_star::update_ener_mom | ( | ) |
Computes the 3+1 components of the energy-momentum tensor (E, P_i and S_{ij}) from the values of the scalar field and the metric.
Definition at line 214 of file boson_star.C.
References Lorene::Metric::cov(), Lorene::Scalar::derive_cov(), Lorene::Compobj::ener_euler, Lorene::Map::flat_met_spher(), Lorene::Compobj::gamma, Lorene::Scalar::inc_dzpuis(), iphi, kkk, m2, Lorene::Compobj::mom_euler, Lorene::Compobj::mp, Lorene::Compobj::nn, Lorene::Compobj_QI::nphi, omega, rphi, Lorene::Vector::set(), Lorene::Compobj::stress_euler, and Lorene::Tensor::trace().
|
virtualinherited |
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
, as well as the 3-metric gamma
.
Reimplemented from Lorene::Compobj_QI.
Definition at line 413 of file star_QI.C.
References Lorene::Compobj_QI::a_car, Lorene::Compobj_QI::b_car, Lorene::Compobj_QI::bbb, Lorene::Star_QI::del_deriv(), Lorene::Scalar::div_rsint(), Lorene::Star_QI::dzeta, Lorene::exp(), Lorene::Star_QI::logn, Lorene::Compobj::nn, Lorene::Scalar::std_spectral_base(), Lorene::Star_QI::tggg, and Lorene::Compobj_QI::update_metric().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
Imaginary part of the scalar field Phi.
Definition at line 76 of file boson_star.h.
|
protectedinherited |
|
protectedinherited |
|
protected |
Coefficient kkk in the azimuthal dependence of Phi.
Definition at line 84 of file boson_star.h.
|
protectedinherited |
|
protected |
Boson mass squared.
Definition at line 92 of file boson_star.h.
|
protected |
Boson mass.
Definition at line 88 of file boson_star.h.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
Coefficient omega in the time dependence of Phi.
Definition at line 80 of file boson_star.h.
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
protected |
Real part of the scalar field Phi.
Definition at line 72 of file boson_star.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 |