LORENE
|
Black hole with scalar hair spacetime (under development). More...
#include <compobj.h>
Public Member Functions | |
ScalarBH (Map &mp_i, const char *file_name) | |
Standard constructor. More... | |
ScalarBH (const ScalarBH &) | |
Copy constructor. More... | |
ScalarBH (Map &mp_i, FILE *fich) | |
Constructor from a file (see sauve(FILE*) ). More... | |
virtual | ~ScalarBH () |
Destructor. More... | |
void | operator= (const ScalarBH &) |
Assignment to another ScalarBH . More... | |
const Scalar & | get_ff0 () const |
Returns f0. More... | |
const Scalar & | get_ff1 () const |
const Scalar & | get_ff2 () const |
const Scalar & | get_ww () const |
const Scalar & | get_sfield () const |
double | get_rHor () const |
virtual void | sauve (FILE *) const |
Save in a file. More... | |
virtual void | update_metric () |
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... | |
void | gyoto_data (const char *file_name) const |
Save in a file for GYOTO. More... | |
virtual void | extrinsic_curvature () |
Computation of the extrinsic curvature. 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 | |
Scalar | ff0 |
Metric field F_0 of Herdeiro & Radu (2015) More... | |
Scalar | ff1 |
Metric field F_1 of Herdeiro & Radu (2015) More... | |
Scalar | ff2 |
Metric field F_2 of Herdeiro & Radu (2015) More... | |
Scalar | ww |
Metric field W of Herdeiro & Radu (2015) More... | |
Scalar | sfield |
Scalar field (modulus of Phi) More... | |
double | rHor |
Event horizon coordinate radius. 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... | |
Black hole with scalar hair spacetime (under development).
()
The metric is expressed:
Lorene::ScalarBH::ScalarBH | ( | Map & | mp_i, |
const char * | file_name | ||
) |
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 75 of file scalarBH.C.
References Lorene::Scalar::allocate_all(), ff0, ff1, ff2, Lorene::Map::get_mg(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Compobj::mp, Lorene::Map::r, rHor, set_der_0x0(), Lorene::Scalar::set_grid_point(), sfield, Lorene::sqrt(), Lorene::Scalar::std_spectral_base(), Lorene::Map::tet, and ww.
Lorene::ScalarBH::ScalarBH | ( | const ScalarBH & | other | ) |
Lorene::ScalarBH::ScalarBH | ( | 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 ScalarBH::sauve ) |
Definition at line 371 of file scalarBH.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().
|
protectedvirtual |
Deletes all the derived quantities.
Reimplemented from Lorene::Compobj.
Definition at line 403 of file scalarBH.C.
References Lorene::Compobj::del_deriv(), and set_der_0x0().
|
virtualinherited |
Computation of the extrinsic curvature.
Reimplemented in Lorene::AltBH_QI, and Lorene::Compobj_QI.
Definition at line 293 of file compobj.C.
References Lorene::Compobj::beta, Lorene::Tensor::derive_cov(), Lorene::Tensor::down(), Lorene::Compobj::gamma, Lorene::Compobj::kk, Lorene::Compobj::nn, Lorene::Tensor::set(), and Lorene::Tensor::set_etat_qcq().
|
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.
|
inline |
|
inlineinherited |
|
inlineinherited |
Returns the extrinsic curvature tensor .
Definition at line 231 of file compobj.h.
References Lorene::Compobj::kk.
|
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 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 213 of file compobj.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::Mg3d::sauve(), Lorene::Map::sauve(), Lorene::Tensor::sauve(), Lorene::Scalar::sauve(), and Lorene::Tensor_sym::sauve().
void Lorene::ScalarBH::operator= | ( | const ScalarBH & | other | ) |
Assignment to another ScalarBH
.
Definition at line 422 of file scalarBH.C.
References del_deriv(), and Lorene::Compobj::operator=().
|
protectedvirtual |
Operator >> (virtual function called by the operator <<).
Reimplemented from Lorene::Compobj.
Definition at line 444 of file scalarBH.C.
References Lorene::Compobj::operator>>().
|
virtual |
|
protectedvirtual |
Sets to 0x0
all the pointers on derived quantities.
Definition at line 412 of file scalarBH.C.
|
inlineinherited |
Read/write of the mapping.
Definition at line 203 of file compobj.h.
References Lorene::Compobj::mp.
|
protectedinherited |
|
protectedinherited |
|
protected |
|
protected |
|
protected |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
mutableprotectedinherited |
|
protected |
|
protected |
|
protectedinherited |
|
protected |