LORENE
|
Alternative black hole spacetime in Quasi-Isotropic coordinates (under development). More...
#include <compobj.h>
Public Member Functions | |
AltBH_QI (Map &mp_i, const char *file_name, double a_spin_i) | |
Standard constructor. More... | |
AltBH_QI (const AltBH_QI &) | |
Copy constructor. More... | |
AltBH_QI (Map &mp_i, FILE *fich) | |
Constructor from a file (see sauve(FILE*) ). More... | |
virtual | ~AltBH_QI () |
Destructor. More... | |
void | operator= (const AltBH_QI &) |
Assignment to another AltBH_QI . More... | |
const Scalar & | get_krphi () const |
Returns K_{(r)(phi)}/sin(theta). More... | |
virtual void | sauve (FILE *) const |
Save in a file. More... | |
virtual void | extrinsic_curvature () |
Computation of the extrinsic curvature. 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 | angu_mom () const |
Angular momentum. 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 | update_metric () |
Updates the 3-metric from A and B and the shift vector from . 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... | |
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 | |
char | description1 [256] |
String describing the model. More... | |
char | description2 [256] |
String describing the model. More... | |
double | a_spin |
Spin parameter of the model. More... | |
Scalar | krphi |
K_{(r)(phi)} read in the file. 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... | |
Alternative black hole spacetime in Quasi-Isotropic coordinates (under development).
()
The metric is expressed in Quasi-Isotropic (QI) coordinates :
Lorene::AltBH_QI::AltBH_QI | ( | Map & | mp_i, |
const char * | file_name, | ||
double | a_spin_i | ||
) |
Standard constructor.
mp_i | Mapping on which the star is contructed |
file_name | Name of the file containing the metric data |
a_spin_i | Spin parameter of the model |
Definition at line 72 of file altBH_QI.C.
References Lorene::Compobj_QI::a_car, a_spin, Lorene::Scalar::allocate_all(), Lorene::Scalar::annule(), Lorene::Compobj_QI::b_car, Lorene::Compobj_QI::bbb, description1, description2, Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Map::homothetie(), krphi, Lorene::Compobj::mp, Lorene::Compobj::nn, Lorene::Compobj_QI::nphi, set_der_0x0(), Lorene::Scalar::set_etat_qcq(), Lorene::Scalar::set_grid_point(), Lorene::sqrt(), Lorene::Scalar::std_spectral_base(), and Lorene::Map::val_r().
Lorene::AltBH_QI::AltBH_QI | ( | const AltBH_QI & | other | ) |
Lorene::AltBH_QI::AltBH_QI | ( | 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 AltBH_QI::sauve ) |
Definition at line 183 of file altBH_QI.C.
References 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 in Lorene::Star_QI.
Definition at line 93 of file compobj_QI_global.C.
References Lorene::Compobj_QI::p_angu_mom.
|
protectedvirtual |
Deletes all the derived quantities.
Reimplemented from Lorene::Compobj_QI.
Definition at line 210 of file altBH_QI.C.
References Lorene::Compobj_QI::del_deriv(), and set_der_0x0().
|
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().
|
virtual |
Computation of the extrinsic curvature.
Reimplemented from Lorene::Compobj_QI.
Definition at line 272 of file altBH_QI.C.
References Lorene::Compobj_QI::ak_car, Lorene::Compobj_QI::b_car, del_deriv(), Lorene::Compobj::extrinsic_curvature(), Lorene::Map::get_mg(), Lorene::Compobj::kk, krphi, Lorene::Compobj::mp, Lorene::Scalar::mult_sint(), 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().
|
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 total energy density E in the Eulerian frame.
Definition at line 222 of file compobj.h.
References Lorene::Compobj::ener_euler.
|
inlineinherited |
|
inlineinherited |
Returns the extrinsic curvature tensor .
Definition at line 231 of file compobj.h.
References Lorene::Compobj::kk.
|
inline |
|
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 stress tensor with respect to the Eulerian observer.
Definition at line 228 of file compobj.h.
References Lorene::Compobj::stress_euler.
|
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().
|
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().
void Lorene::AltBH_QI::operator= | ( | const AltBH_QI & | other | ) |
Assignment to another AltBH_QI
.
Definition at line 229 of file altBH_QI.C.
References del_deriv(), and Lorene::Compobj_QI::operator=().
|
protectedvirtual |
Operator >> (virtual function called by the operator <<).
Reimplemented from Lorene::Compobj_QI.
Definition at line 251 of file altBH_QI.C.
References description1, description2, and Lorene::Compobj_QI::operator>>().
|
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 |
|
protectedvirtual |
Sets to 0x0
all the pointers on derived quantities.
Definition at line 219 of file altBH_QI.C.
|
inlineinherited |
Read/write of the mapping.
Definition at line 203 of file compobj.h.
References Lorene::Compobj::mp.
|
virtualinherited |
Updates the 3-metric from A and B and the shift vector from .
Reimplemented in Lorene::Star_QI.
Definition at line 305 of file compobj_QI.C.
References Lorene::Compobj_QI::a_car, Lorene::Compobj_QI::b_car, Lorene::Compobj::beta, Lorene::Compobj_QI::del_deriv(), Lorene::Compobj_QI::extrinsic_curvature(), Lorene::Compobj::gamma, Lorene::Map::get_bvect_spher(), Lorene::Tensor::get_triad(), Lorene::Compobj::mp, Lorene::Scalar::mult_rsint(), Lorene::Compobj_QI::nphi, Lorene::Vector::set(), and Lorene::Tensor::set().
|
protectedinherited |
|
protected |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protected |
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
protectedinherited |