compobj.h
/*
* Definition of Lorene class Compobj, Compobj_QI, Star_QI, Kerr_QI, AltBH_QI, HiggsMonopole, ScalarBH
*
*/
/*
* Copyright (c) 2012, 2013 Claire Some, Eric Gourgoulhon
*
* This file is part of LORENE.
*
* LORENE is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2
* as published by the Free Software Foundation.
*
* LORENE is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with LORENE; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#ifndef __COMPOBJ_H_
#define __COMPOBJ_H_
/*
* $Id: compobj.h,v 1.20 2015/11/05 17:31:21 f_vincent Exp $
* $Log: compobj.h,v $
* Revision 1.20 2015/11/05 17:31:21 f_vincent
* Updated class scalarBH.
*
* Revision 1.19 2015/10/22 09:18:35 f_vincent
* New class ScalarBH
*
* Revision 1.18 2014/10/13 08:52:33 j_novak
* Lorene classes and functions now belong to the namespace Lorene.
*
* Revision 1.17 2014/05/16 11:55:19 o_straub
* fixed: GYOTO output from compobj & compobj_QI
*
* Revision 1.16 2014/01/31 15:34:54 e_gourgoulhon
* Added members to class HiggsMonopole
*
* Revision 1.15 2014/01/29 16:29:16 e_gourgoulhon
* Added new class HiggsMonopole
*
* Revision 1.14 2014/01/14 20:53:39 e_gourgoulhon
* Updated documentation of r_isco
*
* Revision 1.13 2013/07/25 19:44:45 o_straub
* calculation of the marginally bound radius
*
* Revision 1.12 2013/04/17 13:01:50 e_gourgoulhon
* Some modifications in the class AltBH_QI
*
* Revision 1.11 2013/04/16 15:26:45 e_gourgoulhon
* Added class AltBH_QI
*
* Revision 1.10 2013/04/04 15:31:34 e_gourgoulhon
* r_isco returns now the coordinate r, not the areal r
*
* Revision 1.9 2013/04/03 12:08:57 e_gourgoulhon
* Added member kk to Compobj; suppressed tkij
*
* Revision 1.8 2013/04/02 23:17:18 e_gourgoulhon
* New class Kerr_QI
*
* Revision 1.7 2012/12/03 15:26:14 c_some
* Added data member m2
*
* Revision 1.6 2012/11/22 16:02:18 c_some
* *** empty log message ***
*
* Revision 1.5 2012/11/21 14:52:13 c_some
* Documentation corrected
*
* Revision 1.4 2012/11/20 16:21:16 c_some
* Added new class Star_QI
*
* Revision 1.3 2012/11/16 16:13:12 c_some
* Added new class Compobj_QI
*
* Revision 1.2 2012/11/15 20:50:41 e_gourgoulhon
* Corrected the documentation
*
* Revision 1.1 2012/11/15 16:20:51 c_some
* New class Compobj
*
*
* $Header: /cvsroot/Lorene/C++/Include/compobj.h,v 1.20 2015/11/05 17:31:21 f_vincent Exp $
*
*/
// Headers Lorene
#include "tensor.h"
#include "metric.h"
//---------------------------//
// base class Compobj //
//---------------------------//
namespace Lorene {
class Compobj {
// Data :
// -----
protected:
Map& mp ;
Scalar nn ;
Vector beta ;
Metric gamma ;
Scalar ener_euler ;
Vector mom_euler ;
Sym_tensor stress_euler ;
Sym_tensor kk ;
// Derived data :
// ------------
protected:
mutable double* p_adm_mass ;
// Constructors - Destructor
// -------------------------
public:
Compobj(Map& map_i) ;
Compobj(const Compobj& ) ;
Compobj(Map& map_i, FILE* ) ;
virtual ~Compobj() ;
// Memory management
// -----------------
protected:
virtual void del_deriv() const ;
void set_der_0x0() const ;
// Mutators / assignment
// ---------------------
public:
void operator=(const Compobj&) ;
Map& set_mp() {return mp; } ;
// Accessors
// ---------
public:
const Map& get_mp() const {return mp; } ;
const Scalar& get_nn() const {return nn;} ;
const Vector& get_beta() const {return beta;} ;
const Metric& get_gamma() const {return gamma;} ;
const Scalar& get_ener_euler() const {return ener_euler;} ;
const Vector& get_mom_euler() const {return mom_euler;} ;
const Sym_tensor& get_stress_euler() const {return stress_euler;} ;
const Sym_tensor& get_kk() const {return kk;} ;
// Outputs
// -------
public:
virtual void sauve(FILE *) const ;
void gyoto_data(const char* file_name) const ;
friend ostream& operator<<(ostream& , const Compobj& ) ;
protected:
virtual ostream& operator>>(ostream& ) const ;
// Computational methods
// ---------------------
public:
virtual void extrinsic_curvature() ;
// Global quantities
// -----------------
public:
virtual double adm_mass() const ;
};
//---------------------------//
// base class Compobj_QI //
//---------------------------//
class Compobj_QI : public Compobj {
// Data :
// -----
protected:
Scalar a_car ;
Scalar bbb ;
Scalar b_car ;
Scalar nphi ;
Scalar ak_car ;
// Derived data :
// ------------
protected:
mutable double* p_angu_mom ;
mutable double* p_r_isco ;
mutable double* p_f_isco ;
mutable double* p_espec_isco ;
mutable double* p_lspec_isco ;
mutable double* p_r_mb ;
// Constructors - Destructor
// -------------------------
public:
Compobj_QI(Map& map_i) ;
Compobj_QI(const Compobj_QI& ) ;
Compobj_QI(Map& map_i, FILE* ) ;
virtual ~Compobj_QI() ;
// Memory management
// -----------------
protected:
virtual void del_deriv() const ;
void set_der_0x0() const ;
// Mutators / assignment
// ---------------------
public:
void operator=(const Compobj_QI&) ;
// Accessors
// ---------
public:
const Scalar& get_bbb() const {return bbb;} ;
const Scalar& get_a_car() const {return a_car;} ;
const Scalar& get_b_car() const {return b_car;} ;
const Scalar& get_nphi() const {return nphi;} ;
const Scalar& get_ak_car() const {return ak_car;} ;
// Outputs
// -------
public:
virtual void sauve(FILE *) const ;
void gyoto_data(const char* file_name) const ;
protected:
virtual ostream& operator>>(ostream& ) const ;
// Global quantities
// -----------------
public:
virtual double angu_mom() const ;
virtual double r_isco(int lmin, ostream* ost = 0x0) const ;
virtual double f_isco(int lmin) const ;
virtual double espec_isco(int lmin) const ;
virtual double lspec_isco(int lmin) const ;
virtual double r_mb(int lmin, ostream* ost = 0x0) const ;
// Computational routines
// ----------------------
virtual void update_metric() ;
virtual void extrinsic_curvature() ;
};
//--------------------------//
// base class Star_QI //
//--------------------------//
class Star_QI : public Compobj_QI {
// Data :
// -----
protected:
Scalar logn ;
Scalar tnphi ;
Scalar nuf ;
Scalar nuq ;
Scalar dzeta ;
Scalar tggg ;
Vector w_shift ;
Scalar khi_shift ;
Scalar ssjm1_nuf ;
Scalar ssjm1_nuq ;
Scalar ssjm1_dzeta ;
Scalar ssjm1_tggg ;
Scalar ssjm1_khi ;
Vector ssjm1_wshift ;
// Derived data :
// ------------
protected:
mutable double* p_grv2 ;
mutable double* p_grv3 ;
mutable double* p_mom_quad ;
mutable double* p_mass_g ;
// Constructors - Destructor
// -------------------------
public:
Star_QI(Map& mp_i) ;
Star_QI(const Star_QI& ) ;
Star_QI(Map& mp_i, FILE* fich) ;
virtual ~Star_QI() ;
// Memory management
// -----------------
protected:
virtual void del_deriv() const ;
virtual void set_der_0x0() const ;
// Mutators / assignment
// ---------------------
public:
void operator=(const Star_QI& ) ;
// Accessors
// ---------
public:
const Scalar& get_logn() const {return logn;} ;
const Scalar& get_tnphi() const {return tnphi;} ;
const Scalar& get_nuf() const {return nuf;} ;
const Scalar& get_nuq() const {return nuq;} ;
const Scalar& get_dzeta() const {return dzeta;} ;
const Scalar& get_tggg() const {return tggg;} ;
const Vector& get_w_shift() const {return w_shift;} ;
const Scalar& get_khi_shift() const {return khi_shift;} ;
// Outputs
// -------
public:
virtual void sauve(FILE* ) const ;
protected:
virtual ostream& operator>>(ostream& ) const ;
// Global quantities
// -----------------
public:
virtual double mass_g() const ;
virtual double angu_mom() const ;
virtual double grv2() const ;
virtual double grv3(ostream* ost = 0x0) const ;
virtual double mom_quad() const ;
// Computational routines
// ----------------------
public:
void update_metric() ;
void fait_shift() ;
void fait_nphi() ;
static double lambda_grv2(const Scalar& sou_m, const Scalar& sou_q) ;
};
//---------------------//
// class Kerr_QI //
//---------------------//
class Kerr_QI : public Compobj_QI {
// Data :
// -----
protected:
double mm ;
double aa ;
// Derived data :
// ------------
protected:
// Constructors - Destructor
// -------------------------
public:
Kerr_QI(Map& mp_i, double mass, double a_over_m) ;
Kerr_QI(const Kerr_QI& ) ;
Kerr_QI(Map& mp_i, FILE* fich) ;
virtual ~Kerr_QI() ;
// Memory management
// -----------------
protected:
virtual void del_deriv() const ;
virtual void set_der_0x0() const ;
// Mutators / assignment
// ---------------------
public:
void operator=(const Kerr_QI& ) ;
// Accessors
// ---------
public:
// Outputs
// -------
public:
virtual void sauve(FILE* ) const ;
protected:
virtual ostream& operator>>(ostream& ) const ;
// Global quantities
// -----------------
public:
// Computational routines
// ----------------------
public:
};
//-------------------//
// class AltBH_QI //
//-------------------//
class AltBH_QI : public Compobj_QI {
// Data :
// -----
protected:
char description1[256] ;
char description2[256] ;
double a_spin ;
Scalar krphi ;
// Derived data :
// ------------
protected:
// Constructors - Destructor
// -------------------------
public:
AltBH_QI(Map& mp_i, const char* file_name, double a_spin_i) ;
AltBH_QI(const AltBH_QI& ) ;
AltBH_QI(Map& mp_i, FILE* fich) ;
virtual ~AltBH_QI() ;
// Memory management
// -----------------
protected:
virtual void del_deriv() const ;
virtual void set_der_0x0() const ;
// Mutators / assignment
// ---------------------
public:
void operator=(const AltBH_QI& ) ;
// Accessors
// ---------
public:
const Scalar& get_krphi() const {return krphi;} ;
// Outputs
// -------
public:
virtual void sauve(FILE* ) const ;
protected:
virtual ostream& operator>>(ostream& ) const ;
// Global quantities
// -----------------
public:
// Computational routines
// ----------------------
public:
virtual void extrinsic_curvature() ;
};
//-------------------//
// class ScalarBH //
//-------------------//
class ScalarBH : public Compobj {
// Data :
// -----
protected:
//char description1[256] ; ///< String describing the model
// char description2[256] ; ///< String describing the model
Scalar ff0 ;
Scalar ff1 ;
Scalar ff2 ;
Scalar ww ;
Scalar sfield ;
double rHor ;
// Constructors - Destructor
// -------------------------
public:
ScalarBH(Map& mp_i, const char* file_name) ;
ScalarBH(const ScalarBH& ) ;
ScalarBH(Map& mp_i, FILE* fich) ;
virtual ~ScalarBH() ;
// Memory management
// -----------------
protected:
virtual void del_deriv() const ;
virtual void set_der_0x0() const ;
// Mutators / assignment
// ---------------------
public:
void operator=(const ScalarBH& ) ;
// Accessors
// ---------
public:
const Scalar& get_ff0() const {return ff0; } ;
const Scalar& get_ff1() const {return ff1; } ;
const Scalar& get_ff2() const {return ff2; } ;
const Scalar& get_ww() const {return ww; } ;
const Scalar& get_sfield() const {return sfield; } ;
const double get_rHor() const {return rHor; } ;
// Outputs
// -------
public:
virtual void sauve(FILE* ) const ;
protected:
virtual ostream& operator>>(ostream& ) const ;
// Global quantities
// -----------------
public:
// Computational routines
// ----------------------
public:
virtual void update_metric();
};
//------------------------//
// class HiggsMonopole //
//------------------------//
class HiggsMonopole : public Compobj {
// Data :
// -----
protected:
char description1[256] ;
char description2[256] ;
Scalar hh ;
Scalar grr ;
Scalar press ;
// Derived data :
// ------------
protected:
// Constructors - Destructor
// -------------------------
public:
HiggsMonopole(Map& mp_i, const char* file_name) ;
HiggsMonopole(const HiggsMonopole& ) ;
virtual ~HiggsMonopole() ;
// Memory management
// -----------------
protected:
// virtual void del_deriv() const ;
// virtual void set_der_0x0() const ;
// Mutators / assignment
// ---------------------
public:
// void operator=(const AltBH_QI& ) ;
// Accessors
// ---------
public:
const Scalar& get_higgs() const {return hh;} ;
const Scalar& get_grr() const {return grr;} ;
const Scalar& get_press() const {return press;} ;
// Outputs
// -------
public:
// virtual void sauve(FILE* ) const ; ///< Save in a file
protected:
virtual ostream& operator>>(ostream& ) const ;
// Global quantities
// -----------------
public:
// Computational routines
// ----------------------
public:
// virtual void extrinsic_curvature() ;
};
}
#endif
Lorene::AltBH_QI::description2
char description2[256]
String describing the model.
Definition compobj.h:924
Lorene::AltBH_QI::operator=
void operator=(const AltBH_QI &)
Assignment to another AltBH_QI.
Definition altBH_QI.C:226
Lorene::AltBH_QI::AltBH_QI
AltBH_QI(Map &mp_i, const char *file_name, double a_spin_i)
Standard constructor.
Definition altBH_QI.C:69
Lorene::AltBH_QI::~AltBH_QI
virtual ~AltBH_QI()
Destructor.
Definition altBH_QI.C:196
Lorene::AltBH_QI::description1
char description1[256]
String describing the model.
Definition compobj.h:923
Lorene::AltBH_QI::del_deriv
virtual void del_deriv() const
Deletes all the derived quantities.
Definition altBH_QI.C:207
Lorene::AltBH_QI::krphi
Scalar krphi
K_{(r)(phi)} read in the file.
Definition compobj.h:927
Lorene::AltBH_QI::operator>>
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Definition altBH_QI.C:248
Lorene::AltBH_QI::a_spin
double a_spin
Spin parameter of the model.
Definition compobj.h:925
Lorene::AltBH_QI::set_der_0x0
virtual void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
Definition altBH_QI.C:216
Lorene::AltBH_QI::extrinsic_curvature
virtual void extrinsic_curvature()
Computation of the extrinsic curvature.
Definition altBH_QI.C:269
Lorene::AltBH_QI::sauve
virtual void sauve(FILE *) const
Save in a file.
Definition altBH_QI.C:240
Lorene::AltBH_QI::get_krphi
const Scalar & get_krphi() const
Returns K_{(r)(phi)}/sin(theta).
Definition compobj.h:979
Lorene::Compobj_QI::set_der_0x0
void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
Definition compobj_QI.C:178
Lorene::Compobj_QI::p_lspec_isco
double * p_lspec_isco
Specific angular momentum of a particle at the ISCO.
Definition compobj.h:327
Lorene::Compobj_QI::f_isco
virtual double f_isco(int lmin) const
Orbital frequency at the innermost stable circular orbit (ISCO).
Definition compobj_QI_global.C:286
Lorene::Compobj_QI::extrinsic_curvature
virtual void extrinsic_curvature()
Computes the extrinsic curvature and ak_car from nphi , nn and b_car .
Definition compobj_QI.C:339
Lorene::Compobj_QI::p_r_mb
double * p_r_mb
Coordinate r of the marginally bound orbit.
Definition compobj.h:328
Lorene::Compobj_QI::operator=
void operator=(const Compobj_QI &)
Assignment to another Compobj_QI.
Definition compobj_QI.C:195
Lorene::Compobj_QI::p_r_isco
double * p_r_isco
Coordinate r of the ISCO.
Definition compobj.h:322
Lorene::Compobj_QI::sauve
virtual void sauve(FILE *) const
Save in a file.
Definition compobj_QI.C:216
Lorene::Compobj_QI::gyoto_data
void gyoto_data(const char *file_name) const
Save in a file for GYOTO.
Definition compobj_QI.C:232
Lorene::Compobj_QI::lspec_isco
virtual double lspec_isco(int lmin) const
Angular momentum of a particle at the ISCO.
Definition compobj_QI_global.C:303
Lorene::Compobj_QI::angu_mom
virtual double angu_mom() const
Angular momentum.
Definition compobj_QI_global.C:90
Lorene::Compobj_QI::r_isco
virtual double r_isco(int lmin, ostream *ost=0x0) const
Coordinate r of the innermost stable circular orbit (ISCO).
Definition compobj_QI_global.C:108
Lorene::Compobj_QI::nphi
Scalar nphi
Metric coefficient .
Definition compobj.h:296
Lorene::Compobj_QI::del_deriv
virtual void del_deriv() const
Deletes all the derived quantities.
Definition compobj_QI.C:163
Lorene::Compobj_QI::Compobj_QI
Compobj_QI(Map &map_i)
Standard constructor.
Definition compobj_QI.C:86
Lorene::Compobj_QI::ak_car
Scalar ak_car
Scalar .
Definition compobj.h:315
Lorene::Compobj_QI::~Compobj_QI
virtual ~Compobj_QI()
Destructor.
Definition compobj_QI.C:152
Lorene::Compobj_QI::update_metric
virtual void update_metric()
Updates the 3-metric from A and B and the shift vector from .
Definition compobj_QI.C:302
Lorene::Compobj_QI::espec_isco
virtual double espec_isco(int lmin) const
Energy of a particle at the ISCO.
Definition compobj_QI_global.C:320
Lorene::Compobj_QI::operator>>
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Definition compobj_QI.C:264
Lorene::Compobj_QI::get_b_car
const Scalar & get_b_car() const
Returns the square of the metric factor B.
Definition compobj.h:381
Lorene::Compobj_QI::b_car
Scalar b_car
Square of the metric factor B.
Definition compobj.h:293
Lorene::Compobj_QI::bbb
Scalar bbb
Metric factor B.
Definition compobj.h:290
Lorene::Compobj_QI::get_a_car
const Scalar & get_a_car() const
Returns the square of the metric factor A.
Definition compobj.h:378
Lorene::Compobj_QI::p_espec_isco
double * p_espec_isco
Specific energy of a particle at the ISCO.
Definition compobj.h:325
Lorene::Compobj_QI::a_car
Scalar a_car
Square of the metric factor A.
Definition compobj.h:287
Lorene::Compobj_QI::get_ak_car
const Scalar & get_ak_car() const
Returns the scalar .
Definition compobj.h:404
Lorene::Compobj_QI::p_angu_mom
double * p_angu_mom
Angular momentum.
Definition compobj.h:321
Lorene::Compobj_QI::p_f_isco
double * p_f_isco
Orbital frequency of the ISCO.
Definition compobj.h:323
Lorene::Compobj_QI::get_bbb
const Scalar & get_bbb() const
Returns the metric factor B.
Definition compobj.h:375
Lorene::Compobj_QI::get_nphi
const Scalar & get_nphi() const
Returns the metric coefficient .
Definition compobj.h:384
Lorene::Compobj_QI::r_mb
virtual double r_mb(int lmin, ostream *ost=0x0) const
Coordinate r of the marginally bound circular orbit (R_mb).
Definition compobj_QI_global.C:341
Lorene::Compobj
Base class for stationary compact objects (under development).
Definition compobj.h:126
Lorene::Compobj::adm_mass
virtual double adm_mass() const
ADM mass (computed as a surface integral at spatial infinity).
Definition compobj.C:310
Lorene::Compobj::kk
Sym_tensor kk
Extrinsic curvature tensor .
Definition compobj.h:153
Lorene::Compobj::set_mp
Map & set_mp()
Read/write of the mapping.
Definition compobj.h:200
Lorene::Compobj::mom_euler
Vector mom_euler
Total 3-momentum density in the Eulerian frame.
Definition compobj.h:147
Lorene::Compobj::get_nn
const Scalar & get_nn() const
Returns the lapse function N .
Definition compobj.h:210
Lorene::Compobj::get_kk
const Sym_tensor & get_kk() const
Returns the extrinsic curvature tensor .
Definition compobj.h:228
Lorene::Compobj::get_beta
const Vector & get_beta() const
Returns the shift vector .
Definition compobj.h:213
Lorene::Compobj::operator<<
friend ostream & operator<<(ostream &, const Compobj &)
Display.
Definition compobj.C:233
Lorene::Compobj::del_deriv
virtual void del_deriv() const
Deletes all the derived quantities.
Definition compobj.C:155
Lorene::Compobj::stress_euler
Sym_tensor stress_euler
Stress tensor with respect to the Eulerian observer.
Definition compobj.h:150
Lorene::Compobj::ener_euler
Scalar ener_euler
Total energy density E in the Eulerian frame.
Definition compobj.h:144
Lorene::Compobj::set_der_0x0
void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
Definition compobj.C:163
Lorene::Compobj::operator=
void operator=(const Compobj &)
Assignment to another Compobj.
Definition compobj.C:175
Lorene::Compobj::operator>>
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Definition compobj.C:239
Lorene::Compobj::get_stress_euler
const Sym_tensor & get_stress_euler() const
Returns the stress tensor with respect to the Eulerian observer.
Definition compobj.h:225
Lorene::Compobj::gamma
Metric gamma
3-metric
Definition compobj.h:141
Lorene::Compobj::Compobj
Compobj(Map &map_i)
Standard constructor.
Definition compobj.C:82
Lorene::Compobj::sauve
virtual void sauve(FILE *) const
Save in a file.
Definition compobj.C:196
Lorene::Compobj::nn
Scalar nn
Lapse function N .
Definition compobj.h:135
Lorene::Compobj::get_ener_euler
const Scalar & get_ener_euler() const
Returns the total energy density E in the Eulerian frame.
Definition compobj.h:219
Lorene::Compobj::get_gamma
const Metric & get_gamma() const
Returns the 3-metric .
Definition compobj.h:216
Lorene::Compobj::beta
Vector beta
Shift vector .
Definition compobj.h:138
Lorene::Compobj::get_mom_euler
const Vector & get_mom_euler() const
Returns the total 3-momentum density in the Eulerian frame.
Definition compobj.h:222
Lorene::Compobj::gyoto_data
void gyoto_data(const char *file_name) const
Save in a file for GYOTO.
Definition compobj.C:210
Lorene::Compobj::p_adm_mass
double * p_adm_mass
ADM mass.
Definition compobj.h:158
Lorene::Compobj::extrinsic_curvature
virtual void extrinsic_curvature()
Computation of the extrinsic curvature.
Definition compobj.C:290
Lorene::Compobj::get_mp
const Map & get_mp() const
Returns the mapping.
Definition compobj.h:207
Lorene::Compobj::~Compobj
virtual ~Compobj()
Destructor.
Definition compobj.C:144
Lorene::Compobj::mp
Map & mp
Mapping describing the coordinate system (r,theta,phi).
Definition compobj.h:132
Lorene::HiggsMonopole::HiggsMonopole
HiggsMonopole(Map &mp_i, const char *file_name)
Standard constructor.
Definition higgs_monopole.C:62
Lorene::HiggsMonopole::get_press
const Scalar & get_press() const
Returns the fluid pressure.
Definition compobj.h:1177
Lorene::HiggsMonopole::get_higgs
const Scalar & get_higgs() const
Deletes all the derived quantities.
Definition compobj.h:1171
Lorene::HiggsMonopole::get_grr
const Scalar & get_grr() const
Returns the metric coefficient g_rr.
Definition compobj.h:1174
Lorene::HiggsMonopole::hh
Scalar hh
Higgs scalar field.
Definition compobj.h:1125
Lorene::HiggsMonopole::~HiggsMonopole
virtual ~HiggsMonopole()
Destructor.
Definition higgs_monopole.C:172
Lorene::HiggsMonopole::press
Scalar press
Fluid pressure.
Definition compobj.h:1129
Lorene::HiggsMonopole::description2
char description2[256]
String describing the model.
Definition compobj.h:1123
Lorene::HiggsMonopole::operator>>
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Definition higgs_monopole.C:181
Lorene::HiggsMonopole::description1
char description1[256]
String describing the model.
Definition compobj.h:1122
Lorene::HiggsMonopole::grr
Scalar grr
Metric coefficient g_rr.
Definition compobj.h:1127
Lorene::Kerr_QI::~Kerr_QI
virtual ~Kerr_QI()
Destructor.
Definition kerr_QI.C:148
Lorene::Kerr_QI::del_deriv
virtual void del_deriv() const
Deletes all the derived quantities.
Definition kerr_QI.C:159
Lorene::Kerr_QI::mm
double mm
mass parameter
Definition compobj.h:824
Lorene::Kerr_QI::Kerr_QI
Kerr_QI(Map &mp_i, double mass, double a_over_m)
Standard constructor.
Definition kerr_QI.C:65
Lorene::Kerr_QI::operator=
void operator=(const Kerr_QI &)
Assignment to another Kerr_QI.
Definition kerr_QI.C:178
Lorene::Kerr_QI::aa
double aa
angular momentum parameter
Definition compobj.h:828
Lorene::Kerr_QI::set_der_0x0
virtual void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
Definition kerr_QI.C:168
Lorene::Kerr_QI::sauve
virtual void sauve(FILE *) const
Save in a file.
Definition kerr_QI.C:195
Lorene::Kerr_QI::operator>>
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Definition kerr_QI.C:203
Lorene::Metric
Metric for tensor calculation.
Definition metric.h:90
Lorene::ScalarBH::ff0
Scalar ff0
Metric field F_0 of Herdeiro & Radu (2015).
Definition compobj.h:1028
Lorene::ScalarBH::ff2
Scalar ff2
Metric field F_2 of Herdeiro & Radu (2015).
Definition compobj.h:1030
Lorene::ScalarBH::ScalarBH
ScalarBH(Map &mp_i, const char *file_name)
Standard constructor.
Definition scalarBH.C:72
Lorene::ScalarBH::ff1
Scalar ff1
Metric field F_1 of Herdeiro & Radu (2015).
Definition compobj.h:1029
Lorene::ScalarBH::get_ff0
const Scalar & get_ff0() const
Returns f0.
Definition compobj.h:1078
Lorene::ScalarBH::rHor
double rHor
Event horizon coordinate radius.
Definition compobj.h:1033
Lorene::ScalarBH::sfield
Scalar sfield
Scalar field (modulus of Phi).
Definition compobj.h:1032
Lorene::ScalarBH::set_der_0x0
virtual void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
Definition scalarBH.C:409
Lorene::ScalarBH::operator=
void operator=(const ScalarBH &)
Assignment to another ScalarBH.
Definition scalarBH.C:419
Lorene::ScalarBH::~ScalarBH
virtual ~ScalarBH()
Destructor.
Definition scalarBH.C:389
Lorene::ScalarBH::operator>>
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Definition scalarBH.C:441
Lorene::ScalarBH::sauve
virtual void sauve(FILE *) const
Save in a file.
Definition scalarBH.C:433
Lorene::ScalarBH::ww
Scalar ww
Metric field W of Herdeiro & Radu (2015).
Definition compobj.h:1031
Lorene::ScalarBH::del_deriv
virtual void del_deriv() const
Deletes all the derived quantities.
Definition scalarBH.C:400
Lorene::Scalar
Tensor field of valence 0 (or component of a tensorial field).
Definition scalar.h:387
Lorene::Star_QI::get_w_shift
const Vector & get_w_shift() const
Returns the vector used in the decomposition of shift , following Shibata's prescription [Prog.
Definition compobj.h:672
Lorene::Star_QI::fait_shift
void fait_shift()
Computes shift from w_shift and khi_shift according to Shibata's prescription [Prog.
Definition star_QI.C:340
Lorene::Star_QI::w_shift
Vector w_shift
Vector used in the decomposition of shift , following Shibata's prescription [Prog.
Definition compobj.h:529
Lorene::Star_QI::get_tggg
const Scalar & get_tggg() const
Returns the Metric potential .
Definition compobj.h:658
Lorene::Star_QI::grv2
virtual double grv2() const
Error on the virial identity GRV2.
Definition star_QI_global.C:123
Lorene::Star_QI::p_grv2
double * p_grv2
Error on the virial identity GRV2.
Definition compobj.h:585
Lorene::Star_QI::logn
Scalar logn
Logarithm of the lapse N .
Definition compobj.h:495
Lorene::Star_QI::p_mass_g
double * p_mass_g
Gravitational mass (ADM mass as a volume integral).
Definition compobj.h:588
Lorene::Star_QI::nuq
Scalar nuq
Part of the Metric potential = logn generated by the quadratic terms.
Definition compobj.h:510
Lorene::Star_QI::ssjm1_khi
Scalar ssjm1_khi
Effective source at the previous step for the resolution of the Poisson equation for the scalar by m...
Definition compobj.h:569
Lorene::Star_QI::grv3
virtual double grv3(ostream *ost=0x0) const
Error on the virial identity GRV3.
Definition star_QI_global.C:148
Lorene::Star_QI::Star_QI
Star_QI(Map &mp_i)
Standard constructor.
Definition star_QI.C:68
Lorene::Star_QI::sauve
virtual void sauve(FILE *) const
Save in a file.
Definition star_QI.C:279
Lorene::Star_QI::mom_quad
virtual double mom_quad() const
Quadrupole moment.
Definition star_QI_global.C:250
Lorene::Star_QI::~Star_QI
virtual ~Star_QI()
Destructor.
Definition star_QI.C:211
Lorene::Star_QI::nuf
Scalar nuf
Part of the Metric potential = logn generated by the matter terms.
Definition compobj.h:505
Lorene::Star_QI::get_dzeta
const Scalar & get_dzeta() const
Returns the Metric potential .
Definition compobj.h:655
Lorene::Star_QI::ssjm1_nuq
Scalar ssjm1_nuq
Effective source at the previous step for the resolution of the Poisson equation for nuq by means of ...
Definition compobj.h:551
Lorene::Star_QI::update_metric
void update_metric()
Computes metric coefficients from known potentials.
Definition star_QI.C:410
Lorene::Star_QI::get_nuf
const Scalar & get_nuf() const
Returns the part of the Metric potential = logn generated by the matter terms.
Definition compobj.h:647
Lorene::Star_QI::p_grv3
double * p_grv3
Error on the virial identity GRV3.
Definition compobj.h:586
Lorene::Star_QI::operator>>
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Definition star_QI.C:300
Lorene::Star_QI::ssjm1_wshift
Vector ssjm1_wshift
Effective source at the previous step for the resolution of the vector Poisson equation for .
Definition compobj.h:578
Lorene::Star_QI::fait_nphi
void fait_nphi()
Computes tnphi and nphi from the Cartesian components of the shift, stored in shift .
Definition star_QI.C:386
Lorene::Star_QI::lambda_grv2
static double lambda_grv2(const Scalar &sou_m, const Scalar &sou_q)
Computes the coefficient which ensures that the GRV2 virial identity is satisfied.
Definition star_QI_global.C:321
Lorene::Star_QI::angu_mom
virtual double angu_mom() const
Angular momentum.
Definition star_QI_global.C:96
Lorene::Star_QI::get_tnphi
const Scalar & get_tnphi() const
Returns the component of the shift vector.
Definition compobj.h:642
Lorene::Star_QI::khi_shift
Scalar khi_shift
Scalar used in the decomposition of shift , following Shibata's prescription [Prog.
Definition compobj.h:539
Lorene::Star_QI::ssjm1_nuf
Scalar ssjm1_nuf
Effective source at the previous step for the resolution of the Poisson equation for nuf by means of ...
Definition compobj.h:545
Lorene::Star_QI::del_deriv
virtual void del_deriv() const
Deletes all the derived quantities.
Definition star_QI.C:222
Lorene::Star_QI::mass_g
virtual double mass_g() const
Gravitational mass.
Definition star_QI_global.C:64
Lorene::Star_QI::operator=
void operator=(const Star_QI &)
Assignment to another Star_QI.
Definition star_QI.C:250
Lorene::Star_QI::get_nuq
const Scalar & get_nuq() const
Returns the Part of the Metric potential = logn generated by the quadratic terms.
Definition compobj.h:652
Lorene::Star_QI::tggg
Scalar tggg
Metric potential .
Definition compobj.h:516
Lorene::Star_QI::tnphi
Scalar tnphi
Component of the shift vector.
Definition compobj.h:500
Lorene::Star_QI::get_khi_shift
const Scalar & get_khi_shift() const
Returns the scalar used in the decomposition of shift following Shibata's prescription [Prog.
Definition compobj.h:686
Lorene::Star_QI::get_logn
const Scalar & get_logn() const
Returns the logarithm of the lapse N.
Definition compobj.h:636
Lorene::Star_QI::ssjm1_tggg
Scalar ssjm1_tggg
Effective source at the previous step for the resolution of the Poisson equation for tggg .
Definition compobj.h:561
Lorene::Star_QI::ssjm1_dzeta
Scalar ssjm1_dzeta
Effective source at the previous step for the resolution of the Poisson equation for dzeta .
Definition compobj.h:556
Lorene::Star_QI::p_mom_quad
double * p_mom_quad
Quadrupole moment.
Definition compobj.h:587
Lorene::Star_QI::dzeta
Scalar dzeta
Metric potential .
Definition compobj.h:513
Lorene::Star_QI::set_der_0x0
virtual void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
Definition star_QI.C:235
Lorene::Sym_tensor
Class intended to describe valence-2 symmetric tensors.
Definition sym_tensor.h:223
Lorene::Vector
Tensor field of valence 1.
Definition vector.h:188
Lorene
Lorene prototypes.
Definition app_hor.h:64
Lorene::Map
Map(const Mg3d &)
Constructor from a multi-domain 3D grid.
Definition map.C:139