|
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. | |
| AltBH_QI (const AltBH_QI &) | |
| Copy constructor. | |
| AltBH_QI (Map &mp_i, FILE *fich) | |
Constructor from a file (see sauve(FILE*) ). | |
| virtual | ~AltBH_QI () |
| Destructor. | |
| void | operator= (const AltBH_QI &) |
Assignment to another AltBH_QI. | |
| const Scalar & | get_krphi () const |
| Returns K_{(r)(phi)}/sin(theta). | |
| virtual void | sauve (FILE *) const |
| Save in a file. | |
| virtual void | extrinsic_curvature () |
| Computation of the extrinsic curvature. | |
| const Scalar & | get_bbb () const |
| Returns the metric factor B. | |
| const Scalar & | get_a_car () const |
| Returns the square of the metric factor A. | |
| const Scalar & | get_b_car () const |
| Returns the square of the metric factor B. | |
| const Scalar & | get_nphi () const |
Returns the metric coefficient ![]() | |
| const Scalar & | get_ak_car () const |
Returns the scalar ![]() | |
| void | gyoto_data (const char *file_name) const |
| Save in a file for GYOTO. | |
| virtual double | angu_mom () const |
| Angular momentum. | |
| virtual double | r_isco (int lmin, ostream *ost=0x0) const |
| Coordinate r of the innermost stable circular orbit (ISCO). | |
| virtual double | f_isco (int lmin) const |
| Orbital frequency at the innermost stable circular orbit (ISCO). | |
| virtual double | espec_isco (int lmin) const |
| Energy of a particle at the ISCO. | |
| virtual double | lspec_isco (int lmin) const |
| Angular momentum of a particle at the ISCO. | |
| virtual double | r_mb (int lmin, ostream *ost=0x0) const |
| Coordinate r of the marginally bound circular orbit (R_mb). | |
| virtual void | update_metric () |
Updates the 3-metric ![]() ![]() ![]() | |
| Map & | set_mp () |
| Read/write of the mapping. | |
| const Map & | get_mp () const |
| Returns the mapping. | |
| const Scalar & | get_nn () const |
| Returns the lapse function N . | |
| const Vector & | get_beta () const |
Returns the shift vector ![]() | |
| const Metric & | get_gamma () const |
Returns the 3-metric ![]() | |
| const Scalar & | get_ener_euler () const |
| Returns the total energy density E in the Eulerian frame. | |
| const Vector & | get_mom_euler () const |
Returns the total 3-momentum density ![]() | |
| const Sym_tensor & | get_stress_euler () const |
Returns the stress tensor ![]() | |
| const Sym_tensor & | get_kk () const |
Returns the extrinsic curvature tensor ![]() | |
| virtual double | adm_mass () const |
| ADM mass (computed as a surface integral at spatial infinity). | |
Protected Member Functions | |
| virtual void | del_deriv () const |
| Deletes all the derived quantities. | |
| virtual void | set_der_0x0 () const |
Sets to 0x0 all the pointers on derived quantities. | |
| virtual ostream & | operator>> (ostream &) const |
| Operator >> (virtual function called by the operator <<). | |
Protected Attributes | |
| char | description1 [256] |
| String describing the model. | |
| char | description2 [256] |
| String describing the model. | |
| double | a_spin |
| Spin parameter of the model. | |
| Scalar | krphi |
| K_{(r)(phi)} read in the file. | |
| Scalar | a_car |
| Square of the metric factor A. | |
| Scalar | bbb |
| Metric factor B. | |
| Scalar | b_car |
| Square of the metric factor B. | |
| Scalar | nphi |
Metric coefficient ![]() | |
| Scalar | ak_car |
Scalar ![]() | |
| double * | p_angu_mom |
| Angular momentum. | |
| double * | p_r_isco |
| Coordinate r of the ISCO. | |
| double * | p_f_isco |
| Orbital frequency of the ISCO. | |
| double * | p_espec_isco |
| Specific energy of a particle at the ISCO. | |
| double * | p_lspec_isco |
| Specific angular momentum of a particle at the ISCO. | |
| double * | p_r_mb |
| Coordinate r of the marginally bound orbit. | |
| Map & | mp |
| Mapping describing the coordinate system (r,theta,phi). | |
| Scalar | nn |
| Lapse function N . | |
| Vector | beta |
Shift vector ![]() | |
| Metric | gamma |
3-metric ![]() | |
| Scalar | ener_euler |
| Total energy density E in the Eulerian frame. | |
| Vector | mom_euler |
Total 3-momentum density ![]() | |
| Sym_tensor | stress_euler |
Stress tensor ![]() | |
| Sym_tensor | kk |
Extrinsic curvature tensor ![]() | |
| double * | p_adm_mass |
| ADM mass. | |
Alternative black hole spacetime in Quasi-Isotropic coordinates (under development).
()
The metric is expressed in Quasi-Isotropic (QI) coordinates :
![\[ ds^2 = - N^2 dt^2 + A^2 (dr^2 + r^2 d\theta^2)
+ B^2 r^2 \sin^2\theta (d\varphi - N^\varphi dt)^2
\]](form_173.png)
| 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 69 of file altBH_QI.C.
References Lorene::Compobj_QI::a_car, a_spin, Lorene::Compobj_QI::b_car, Lorene::Compobj_QI::bbb, Lorene::Compobj_QI::Compobj_QI(), description1, description2, Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), krphi, Lorene::Map(), Lorene::Compobj::mp, Lorene::Compobj::nn, Lorene::Compobj_QI::nphi, set_der_0x0(), and Lorene::sqrt().
| Lorene::AltBH_QI::AltBH_QI | ( | const AltBH_QI & | other | ) |
Copy constructor.
Definition at line 169 of file altBH_QI.C.
References AltBH_QI(), Lorene::Compobj_QI::Compobj_QI(), krphi, and set_der_0x0().
| 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 180 of file altBH_QI.C.
References Lorene::Compobj_QI::Compobj_QI(), krphi, Lorene::Map(), and set_der_0x0().
|
virtual |
|
virtualinherited |
ADM mass (computed as a surface integral at spatial infinity).
Definition at line 310 of file compobj.C.
References Lorene::Tensor::derive_con(), Lorene::Tensor_sym::derive_con(), Lorene::Vector::flux(), gamma, Lorene::Tensor::get_triad(), mp, p_adm_mass, Lorene::Tensor::trace(), and Lorene::Tensor::up().
|
virtualinherited |
Angular momentum.
Reimplemented in Lorene::Star_QI.
Definition at line 90 of file compobj_QI_global.C.
References p_angu_mom.
|
protectedvirtual |
Deletes all the derived quantities.
Reimplemented from Lorene::Compobj_QI.
Definition at line 207 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 320 of file compobj_QI_global.C.
References p_espec_isco, and r_isco().
|
virtual |
Computation of the extrinsic curvature.
Reimplemented from Lorene::Compobj_QI.
Definition at line 269 of file altBH_QI.C.
References Lorene::Compobj_QI::ak_car, Lorene::Compobj_QI::b_car, del_deriv(), Lorene::Compobj::extrinsic_curvature(), Lorene::Compobj::kk, krphi, Lorene::Compobj::mp, and Lorene::Scalar::mult_sint().
|
virtualinherited |
Orbital frequency at the innermost stable circular orbit (ISCO).
Definition at line 286 of file compobj_QI_global.C.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Returns the total energy density E in the Eulerian frame.
Definition at line 219 of file compobj.h.
References ener_euler.
|
inlineinherited |
|
inlineinherited |
|
inline |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Returns the stress tensor 
Definition at line 225 of file compobj.h.
References stress_euler.
|
inherited |
Save in a file for GYOTO.
Definition at line 232 of file compobj_QI.C.
References Lorene::Compobj::beta, Lorene::fwrite_be(), Lorene::Compobj::gamma, Lorene::Compobj::kk, Lorene::Compobj::mp, Lorene::Compobj::nn, r_isco(), and r_mb().
|
virtualinherited |
Angular momentum of a particle at the ISCO.
Definition at line 303 of file compobj_QI_global.C.
References p_lspec_isco, and r_isco().
| void Lorene::AltBH_QI::operator= | ( | const AltBH_QI & | other | ) |
Assignment to another AltBH_QI.
Definition at line 226 of file altBH_QI.C.
References AltBH_QI(), del_deriv(), and Lorene::Compobj_QI::operator=().
|
protectedvirtual |
Operator >> (virtual function called by the operator <<).
Reimplemented from Lorene::Compobj_QI.
Definition at line 248 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 108 of file compobj_QI_global.C.
References Lorene::Param::add_int(), Lorene::Param::add_scalar(), Lorene::Tensor::annule_domain(), bbb, Lorene::Scalar::dsdr(), Lorene::Scalar::get_spectral_va(), Lorene::Compobj::mp, Lorene::Compobj::nn, nphi, p_espec_isco, p_f_isco, p_lspec_isco, p_r_isco, Lorene::r, Lorene::sqrt(), Lorene::Scalar::std_spectral_base(), Lorene::Valeur::val_point(), and Lorene::zerosec().
|
virtualinherited |
Coordinate r of the marginally bound circular orbit (R_mb).
Definition at line 341 of file compobj_QI_global.C.
References Lorene::Param::add_int(), Lorene::Param::add_scalar(), Lorene::Tensor::annule_domain(), bbb, Lorene::Scalar::get_spectral_va(), Lorene::Compobj::mp, Lorene::Compobj::nn, nphi, p_r_mb, Lorene::r, r_isco(), Lorene::sqrt(), Lorene::Scalar::std_spectral_base(), Lorene::Valeur::val_point(), and Lorene::zerosec().
|
virtual |
|
protectedvirtual |
Sets to 0x0 all the pointers on derived quantities.
Definition at line 216 of file altBH_QI.C.
|
inlineinherited |
Read/write of the mapping.
Definition at line 200 of file compobj.h.
References Lorene::Map(), and mp.
|
virtualinherited |
Updates the 3-metric 


Reimplemented in Lorene::Star_QI.
Definition at line 302 of file compobj_QI.C.
References a_car, b_car, Lorene::Compobj::beta, del_deriv(), extrinsic_curvature(), Lorene::Compobj::gamma, Lorene::Compobj::mp, Lorene::Scalar::mult_rsint(), nphi, 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 |