LORENE
Lorene::ScalarBH Class Reference

Black hole with scalar hair spacetime (under development). More...

#include <compobj.h>

Inheritance diagram for Lorene::ScalarBH:
Lorene::Compobj

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 Scalarget_ff0 () const
 Returns f0. More...
 
const Scalarget_ff1 () const
 
const Scalarget_ff2 () const
 
const Scalarget_ww () const
 
const Scalarget_sfield () const
 
double get_rHor () const
 
virtual void sauve (FILE *) const
 Save in a file. More...
 
virtual void update_metric ()
 
Mapset_mp ()
 Read/write of the mapping. More...
 
const Mapget_mp () const
 Returns the mapping. More...
 
const Scalarget_nn () const
 Returns the lapse function N . More...
 
const Vectorget_beta () const
 Returns the shift vector $\beta^i$. More...
 
const Metricget_gamma () const
 Returns the 3-metric $\gamma_{ij}$. More...
 
const Scalarget_ener_euler () const
 Returns the total energy density E in the Eulerian frame. More...
 
const Vectorget_mom_euler () const
 Returns the total 3-momentum density $P^i$ in the Eulerian frame. More...
 
const Sym_tensorget_stress_euler () const
 Returns the stress tensor $S_{ij}$ with respect to the Eulerian observer. More...
 
const Sym_tensorget_kk () const
 Returns the extrinsic curvature tensor $K_{ij}$. 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...
 
Mapmp
 Mapping describing the coordinate system (r,theta,phi) More...
 
Scalar nn
 Lapse function N . More...
 
Vector beta
 Shift vector $\beta^i$. More...
 
Metric gamma
 3-metric $\gamma_{ij}$ More...
 
Scalar ener_euler
 Total energy density E in the Eulerian frame. More...
 
Vector mom_euler
 Total 3-momentum density $P^i$ in the Eulerian frame. More...
 
Sym_tensor stress_euler
 Stress tensor $S_{ij}$ with respect to the Eulerian observer. More...
 
Sym_tensor kk
 Extrinsic curvature tensor $K_{ij}$. More...
 
double * p_adm_mass
 ADM mass. More...
 

Detailed Description

Black hole with scalar hair spacetime (under development).

()

The metric is expressed:

\[ ds^2 = copy Carlos metric \]

Definition at line 1023 of file compobj.h.

Constructor & Destructor Documentation

◆ ScalarBH() [1/3]

Lorene::ScalarBH::ScalarBH ( Map mp_i,
const char *  file_name 
)

Standard constructor.

Parameters
mp_iMapping on which the star is contructed
file_nameName of the file containing the metric data
a_spin_iSpin 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.

◆ ScalarBH() [2/3]

Lorene::ScalarBH::ScalarBH ( const ScalarBH other)

Copy constructor.

Definition at line 355 of file scalarBH.C.

References set_der_0x0().

◆ ScalarBH() [3/3]

Lorene::ScalarBH::ScalarBH ( Map mp_i,
FILE *  fich 
)

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

Parameters
mp_iMapping on which the star is constructed
fichinput file (must have been created by the function ScalarBH::sauve )

Definition at line 371 of file scalarBH.C.

References set_der_0x0().

◆ ~ScalarBH()

Lorene::ScalarBH::~ScalarBH ( )
virtual

Destructor.

Definition at line 392 of file scalarBH.C.

References del_deriv().

Member Function Documentation

◆ adm_mass()

double Lorene::Compobj::adm_mass ( ) const
virtualinherited

◆ del_deriv()

void Lorene::ScalarBH::del_deriv ( ) const
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().

◆ extrinsic_curvature()

void Lorene::Compobj::extrinsic_curvature ( )
virtualinherited

◆ get_beta()

const Vector& Lorene::Compobj::get_beta ( ) const
inlineinherited

Returns the shift vector $\beta^i$.

Definition at line 216 of file compobj.h.

References Lorene::Compobj::beta.

◆ get_ener_euler()

const Scalar& Lorene::Compobj::get_ener_euler ( ) const
inlineinherited

Returns the total energy density E in the Eulerian frame.

Definition at line 222 of file compobj.h.

References Lorene::Compobj::ener_euler.

◆ get_ff0()

const Scalar& Lorene::ScalarBH::get_ff0 ( ) const
inline

Returns f0.

Definition at line 1081 of file compobj.h.

References ff0.

◆ get_gamma()

const Metric& Lorene::Compobj::get_gamma ( ) const
inlineinherited

Returns the 3-metric $\gamma_{ij}$.

Definition at line 219 of file compobj.h.

References Lorene::Compobj::gamma.

◆ get_kk()

const Sym_tensor& Lorene::Compobj::get_kk ( ) const
inlineinherited

Returns the extrinsic curvature tensor $K_{ij}$.

Definition at line 231 of file compobj.h.

References Lorene::Compobj::kk.

◆ get_mom_euler()

const Vector& Lorene::Compobj::get_mom_euler ( ) const
inlineinherited

Returns the total 3-momentum density $P^i$ in the Eulerian frame.

Definition at line 225 of file compobj.h.

References Lorene::Compobj::mom_euler.

◆ get_mp()

const Map& Lorene::Compobj::get_mp ( ) const
inlineinherited

Returns the mapping.

Definition at line 210 of file compobj.h.

References Lorene::Compobj::mp.

◆ get_nn()

const Scalar& Lorene::Compobj::get_nn ( ) const
inlineinherited

Returns the lapse function N .

Definition at line 213 of file compobj.h.

References Lorene::Compobj::nn.

◆ get_stress_euler()

const Sym_tensor& Lorene::Compobj::get_stress_euler ( ) const
inlineinherited

Returns the stress tensor $S_{ij}$ with respect to the Eulerian observer.

Definition at line 228 of file compobj.h.

References Lorene::Compobj::stress_euler.

◆ gyoto_data()

◆ operator=()

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=().

◆ operator>>()

ostream & Lorene::ScalarBH::operator>> ( ostream &  ost) const
protectedvirtual

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

Reimplemented from Lorene::Compobj.

Definition at line 444 of file scalarBH.C.

References Lorene::Compobj::operator>>().

◆ sauve()

void Lorene::ScalarBH::sauve ( FILE *  ) const
virtual

Save in a file.

Reimplemented from Lorene::Compobj.

Definition at line 436 of file scalarBH.C.

◆ set_der_0x0()

void Lorene::ScalarBH::set_der_0x0 ( ) const
protectedvirtual

Sets to 0x0 all the pointers on derived quantities.

Definition at line 412 of file scalarBH.C.

◆ set_mp()

Map& Lorene::Compobj::set_mp ( )
inlineinherited

Read/write of the mapping.

Definition at line 203 of file compobj.h.

References Lorene::Compobj::mp.

Member Data Documentation

◆ beta

Vector Lorene::Compobj::beta
protectedinherited

Shift vector $\beta^i$.

Definition at line 141 of file compobj.h.

◆ ener_euler

Scalar Lorene::Compobj::ener_euler
protectedinherited

Total energy density E in the Eulerian frame.

Definition at line 147 of file compobj.h.

◆ ff0

Scalar Lorene::ScalarBH::ff0
protected

Metric field F_0 of Herdeiro & Radu (2015)

Definition at line 1031 of file compobj.h.

◆ ff1

Scalar Lorene::ScalarBH::ff1
protected

Metric field F_1 of Herdeiro & Radu (2015)

Definition at line 1032 of file compobj.h.

◆ ff2

Scalar Lorene::ScalarBH::ff2
protected

Metric field F_2 of Herdeiro & Radu (2015)

Definition at line 1033 of file compobj.h.

◆ gamma

Metric Lorene::Compobj::gamma
protectedinherited

3-metric $\gamma_{ij}$

Definition at line 144 of file compobj.h.

◆ kk

Sym_tensor Lorene::Compobj::kk
protectedinherited

Extrinsic curvature tensor $K_{ij}$.

Definition at line 156 of file compobj.h.

◆ mom_euler

Vector Lorene::Compobj::mom_euler
protectedinherited

Total 3-momentum density $P^i$ in the Eulerian frame.

Definition at line 150 of file compobj.h.

◆ mp

Map& Lorene::Compobj::mp
protectedinherited

Mapping describing the coordinate system (r,theta,phi)

Definition at line 135 of file compobj.h.

◆ nn

Scalar Lorene::Compobj::nn
protectedinherited

Lapse function N .

Definition at line 138 of file compobj.h.

◆ p_adm_mass

double* Lorene::Compobj::p_adm_mass
mutableprotectedinherited

ADM mass.

Definition at line 161 of file compobj.h.

◆ rHor

double Lorene::ScalarBH::rHor
protected

Event horizon coordinate radius.

Definition at line 1036 of file compobj.h.

◆ sfield

Scalar Lorene::ScalarBH::sfield
protected

Scalar field (modulus of Phi)

Definition at line 1035 of file compobj.h.

◆ stress_euler

Sym_tensor Lorene::Compobj::stress_euler
protectedinherited

Stress tensor $S_{ij}$ with respect to the Eulerian observer.

Definition at line 153 of file compobj.h.

◆ ww

Scalar Lorene::ScalarBH::ww
protected

Metric field W of Herdeiro & Radu (2015)

Definition at line 1034 of file compobj.h.


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