et_bin_nsbh.C
/*
* Methods for the class Et_bin_nsbh
*
* (see file et_bin_nsbh.h for documentation).
*
*/
/*
* Copyright (c) 2003 Keisuke Taniguchi
*
* 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
*
*/
char et_bin_nsbh_C[] = "$Header: /cvsroot/Lorene/C++/Source/Etoile/et_bin_nsbh.C,v 1.12 2014/10/13 08:52:56 j_novak Exp $" ;
/*
* $Id: et_bin_nsbh.C,v 1.12 2014/10/13 08:52:56 j_novak Exp $
* $Log: et_bin_nsbh.C,v $
* Revision 1.12 2014/10/13 08:52:56 j_novak
* Lorene classes and functions now belong to the namespace Lorene.
*
* Revision 1.11 2014/10/06 15:13:08 j_novak
* Modified #include directives to use c++ syntax.
*
* Revision 1.10 2006/09/25 10:01:49 p_grandclement
* Addition of N-dimensional Tbl
*
* Revision 1.9 2006/06/01 12:47:53 p_grandclement
* update of the Bin_ns_bh project
*
* Revision 1.8 2005/08/29 15:10:16 p_grandclement
* Addition of things needed :
* 1) For BBH with different masses
* 2) Provisory files for the mixted binaries (Bh and NS) : THIS IS NOT
* WORKING YET !!!
*
* Revision 1.7 2004/06/09 06:39:35 k_taniguchi
* Introduce set_n_auto() and set_confpsi_auto().
*
* Revision 1.6 2004/03/25 10:29:04 j_novak
* All LORENE's units are now defined in the namespace Unites (in file unites.h).
*
* Revision 1.5 2003/12/16 05:30:18 k_taniguchi
* Some changes in the constructor from file and the saving to file.
*
* Revision 1.4 2003/11/28 04:30:22 k_taniguchi
* Add the output operator.
*
* Revision 1.3 2003/10/24 12:30:58 k_taniguchi
* Add some derivative terms
*
* Revision 1.2 2003/10/22 08:12:46 k_taniguchi
* Supress some terms in Et_bin_nsbh::sauve.
*
* Revision 1.1 2003/10/21 11:50:38 k_taniguchi
* Methods for class Et_bin_nsbh
*
*
* $Header: /cvsroot/Lorene/C++/Source/Etoile/et_bin_nsbh.C,v 1.12 2014/10/13 08:52:56 j_novak Exp $
*
*/
// C headers
#include <cmath>
// Lorene headers
#include "et_bin_nsbh.h"
#include "etoile.h"
#include "eos.h"
#include "utilitaires.h"
#include "param.h"
#include "unites.h"
//--------------//
// Constructors //
//--------------//
// Standard constructor
// --------------------
namespace Lorene {
Et_bin_nsbh::Et_bin_nsbh(Map& mp_i, int nzet_i, bool relat, const Eos& eos_i,
bool irrot, const Base_vect& ref_triad_i)
: Etoile_bin(mp_i, nzet_i, relat, eos_i, irrot, ref_triad_i),
n_auto(mp_i),
n_comp(mp_i),
d_n_auto(mp_i, 1, COV, ref_triad_i),
d_n_comp(mp_i, 1, COV, ref_triad_i),
confpsi(mp_i),
confpsi_auto(mp_i),
confpsi_comp(mp_i),
d_confpsi_auto(mp_i, 1, COV, ref_triad_i),
d_confpsi_comp(mp_i, 1, COV, ref_triad_i),
taij_auto(mp_i, 2, CON, ref_triad_i) ,
taij_comp(mp_i, 2, CON, ref_triad_i),
taij_tot(mp_i, 2, CON, ref_triad_i) ,
tkij_auto(mp_i, 2, CON, ref_triad_i),
tkij_tot(mp_i, 2, CON, ref_triad_i),
ssjm1_lapse(mp_i),
ssjm1_confpsi(mp_i) {
// Pointers of derived quantities initialized to zero :
set_der_0x0() ;
// The metric is initialized to the flat one :
n_auto = 0.5 ;
n_auto.set_std_base() ;
n_comp = 0.5 ;
n_comp.set_std_base() ;
d_n_auto = 0 ;
d_n_comp = 0 ;
confpsi = 1 ;
confpsi.set_std_base() ;
confpsi_auto = 0.5 ;
confpsi_auto.set_std_base() ;
confpsi_comp = 0.5 ;
confpsi_comp.set_std_base() ;
d_confpsi_auto = 0 ;
d_confpsi_comp = 0 ;
taij_auto.set_etat_zero() ;
taij_comp.set_etat_zero() ;
taij_tot.set_etat_zero() ;
tkij_auto.set_etat_zero() ;
tkij_tot.set_etat_zero() ;
ssjm1_lapse.set_etat_qcq() ;
ssjm1_lapse = 0. ;
ssjm1_confpsi.set_etat_qcq() ;
ssjm1_confpsi = 0. ;
}
// Copy constructor
// ----------------
Et_bin_nsbh::Et_bin_nsbh(const Et_bin_nsbh& et)
: Etoile_bin(et),
n_auto(et.n_auto),
n_comp(et.n_comp),
d_n_auto(et.d_n_auto),
d_n_comp(et.d_n_comp),
confpsi(et.confpsi),
confpsi_auto(et.confpsi_auto),
confpsi_comp(et.confpsi_comp),
d_confpsi_auto(et.d_confpsi_auto),
d_confpsi_comp(et.d_confpsi_comp),
taij_auto(et.taij_auto),
taij_comp(et.taij_comp),
taij_tot(et.taij_tot),
tkij_auto(et.tkij_auto),
tkij_tot(et.tkij_tot),
ssjm1_lapse(et.ssjm1_lapse),
ssjm1_confpsi(et.ssjm1_confpsi) {
set_der_0x0() ;
}
// Constructor from a file
// -----------------------
Et_bin_nsbh::Et_bin_nsbh(Map& mp_i, const Eos& eos_i,
const Base_vect& ref_triad_i, FILE* fich, bool old)
: Etoile_bin(mp_i, eos_i, ref_triad_i, fich),
n_auto(mp_i),
n_comp(mp_i),
d_n_auto(mp_i, 1, COV, ref_triad_i),
d_n_comp(mp_i, 1, COV, ref_triad_i ),
confpsi(mp_i),
confpsi_auto(mp_i),
confpsi_comp(mp_i),
d_confpsi_auto(mp_i, 1, COV, ref_triad_i),
d_confpsi_comp(mp_i, 1, COV, ref_triad_i),
taij_auto(mp_i, 2, CON, ref_triad_i),
taij_comp(mp_i, 2, CON, ref_triad_i),
taij_tot(mp_i, 2, CON, ref_triad_i),
tkij_auto(mp_i, 2, CON, ref_triad_i),
tkij_tot(mp_i, 2, CON, ref_triad_i),
ssjm1_lapse(mp_i),
ssjm1_confpsi(mp_i) {
// Construct from data in Etoile_bin
Cmp n_from_file (mp_i, *(mp_i.get_mg()), fich) ;
n_auto.set_etat_qcq() ;
n_auto.set() = n_from_file ;
Cmp psi_from_file (mp_i, *(mp_i.get_mg()), fich) ;
confpsi_auto.set_etat_qcq() ;
confpsi_auto.set() = psi_from_file ;
if (!old) {
Tenseur shift_auto_file (mp, ref_triad_i, fich) ;
shift_auto = shift_auto_file ;
}
// All other fields are initialized to zero or some constants :
// ----------------------------------------------------------
n_comp = 0.5 ;
n_comp.set_std_base() ;
d_n_auto = 0 ;
d_n_comp = 0 ;
confpsi = 1 ;
confpsi.set_std_base() ;
confpsi_comp = 0.5 ;
confpsi_comp.set_std_base() ;
d_confpsi_auto = 0 ;
d_confpsi_comp = 0 ;
taij_auto.set_etat_zero() ;
taij_comp.set_etat_zero() ;
taij_tot.set_etat_zero() ;
tkij_auto.set_etat_zero() ;
tkij_tot.set_etat_zero() ;
// Read of the saved fields :
Cmp ssjm1_lapse_file(mp_i, *(mp_i.get_mg()), fich) ;
ssjm1_lapse = ssjm1_lapse_file ;
Cmp ssjm1_confpsi_file(mp_i, *(mp_i.get_mg()), fich) ;
ssjm1_confpsi = ssjm1_confpsi_file ;
// Pointers of derived quantities initialized to zero
// --------------------------------------------------
set_der_0x0() ;
}
//------------//
// Destructor //
//------------//
Et_bin_nsbh::~Et_bin_nsbh(){
del_deriv() ;
}
//--------------//
// Assignment //
//--------------//
// Assignment to another Et_bin_nsbh
// ---------------------------------
void Et_bin_nsbh::operator=(const Et_bin_nsbh& et) {
// Assignment of quantities common to the derived classes of Etoile_bin
Etoile_bin::operator=(et) ;
n_auto = et.n_auto ;
n_comp = et.n_comp ;
d_n_auto = et.d_n_auto ;
d_n_comp = et.d_n_comp ;
confpsi = et.confpsi ;
confpsi_auto = et.confpsi_auto ;
confpsi_comp = et.confpsi_comp ;
d_confpsi_auto = et.d_confpsi_auto ;
d_confpsi_comp = et.d_confpsi_comp ;
taij_auto = et.taij_auto ;
taij_comp = et.taij_comp ;
taij_tot = et.taij_tot ;
tkij_auto = et.tkij_auto ;
tkij_tot = et.tkij_tot ;
ssjm1_lapse = et.ssjm1_lapse ;
ssjm1_confpsi = et.ssjm1_confpsi ;
del_deriv() ; // Deletes all derived quantities
}
Tenseur& Et_bin_nsbh::set_n_auto() {
del_deriv() ; // sets to 0x0 all the derived quantities
return n_auto ;
}
Tenseur& Et_bin_nsbh::set_n_comp() {
del_deriv() ; // sets to 0x0 all the derived quantities
return n_comp ;
}
Tenseur& Et_bin_nsbh::set_confpsi_auto() {
del_deriv() ; // sets to 0x0 all the derived quantities
return confpsi_auto ;
}
Tenseur& Et_bin_nsbh::set_confpsi_comp() {
del_deriv() ; // sets to 0x0 all the derived quantities
return confpsi_comp ;
}
//--------------//
// Outputs //
//--------------//
// Save in a file
// --------------
void Et_bin_nsbh::sauve(FILE* fich) const {
Etoile_bin::sauve(fich) ;
n_auto().sauve(fich) ;
confpsi_auto().sauve(fich) ;
shift_auto.sauve(fich) ;
ssjm1_lapse.sauve(fich) ;
ssjm1_confpsi.sauve(fich) ;
}
// Printing
// --------
ostream& Et_bin_nsbh::operator>>(ostream& ost) const {
using namespace Unites ;
Etoile::operator>>(ost) ;
ost << endl ;
ost << "Neutron star in a binary system" << endl ;
ost << "-------------------------------" << endl ;
if (irrotational) {
ost << "irrotational configuration" << endl ;
}
else {
ost << "corotating configuration" << endl ;
}
ost << "Absolute abscidia of the stellar center: " <<
mp.get_ori_x() / km << " km" << endl ;
ost << "Absolute abscidia of the barycenter of the baryon density : " <<
xa_barycenter() / km << " km" << endl ;
double r_0 = 0.5 * ( ray_eq() + ray_eq_pi() ) ;
double d_ns = fabs( mp.get_ori_x() ) + ray_eq_pi() - r_0 ;
double d_tilde = 2 * d_ns / r_0 ;
ost << "d_tilde : " << d_tilde << endl ;
ost << "Orientation with respect to the absolute frame : " <<
mp.get_rot_phi() << " rad" << endl ;
ost << "Central value of gam_euler : "
<< gam_euler()(0, 0, 0, 0) << endl ;
ost << "Central u_euler (U^X, U^Y, U^Z) [c] : "
<< u_euler(0)(0, 0, 0, 0) << " "
<< u_euler(1)(0, 0, 0, 0) << " "
<< u_euler(2)(0, 0, 0, 0) << endl ;
if (irrotational) {
ost << "Central d_psi (X, Y, Z) [c] : "
<< d_psi(0)(0, 0, 0, 0) << " "
<< d_psi(1)(0, 0, 0, 0) << " "
<< d_psi(2)(0, 0, 0, 0) << endl ;
ost << "Central vel. / co-orb. (W^X, W^Y, W^Z) [c] : "
<< wit_w(0)(0, 0, 0, 0) << " "
<< wit_w(1)(0, 0, 0, 0) << " "
<< wit_w(2)(0, 0, 0, 0) << endl ;
ost << "Max vel. / co-orb. (W^X, W^Y, W^Z) [c] : "
<< max(max(wit_w(0))) << " "
<< max(max(wit_w(1))) << " "
<< max(max(wit_w(2))) << endl ;
ost << "Min vel. / co-orb. (W^X, W^Y, W^Z) [c] : "
<< min(min(wit_w(0))) << " "
<< min(min(wit_w(1))) << " "
<< min(min(wit_w(2))) << endl ;
double r_surf = mp.val_r(0,1.,M_PI/4,M_PI/4) ;
ost << "Velocity at (r_surf,pi/4,pi/4) / co-orb. [c] : "
<< wit_w(0).val_point(r_surf,M_PI/4,M_PI/4) << " "
<< wit_w(1).val_point(r_surf,M_PI/4,M_PI/4) << " "
<< wit_w(2).val_point(r_surf,M_PI/4,M_PI/4) << endl ;
ost << "Central value of loggam : "
<< loggam()(0, 0, 0, 0) << endl ;
}
ost << "Central value of lapse(N) auto : "
<< n_auto()(0, 0, 0, 0) << endl ;
ost << "Central value of confpsi auto : "
<< confpsi_auto()(0, 0, 0, 0) << endl ;
ost << "Central value of shift (N^X, N^Y, N^Z) [c] : "
<< shift(0)(0, 0, 0, 0) << " "
<< shift(1)(0, 0, 0, 0) << " "
<< shift(2)(0, 0, 0, 0) << endl ;
ost << " ... shift_auto part of it [c] : "
<< shift_auto(0)(0, 0, 0, 0) << " "
<< shift_auto(1)(0, 0, 0, 0) << " "
<< shift_auto(2)(0, 0, 0, 0) << endl ;
ost << " ... shift_comp part of it [c] : "
<< shift_comp(0)(0, 0, 0, 0) << " "
<< shift_comp(1)(0, 0, 0, 0) << " "
<< shift_comp(2)(0, 0, 0, 0) << endl ;
ost << " ... w_shift (NB: components in the star Cartesian frame) [c] : "
<< endl
<< w_shift(0)(0, 0, 0, 0) << " "
<< w_shift(1)(0, 0, 0, 0) << " "
<< w_shift(2)(0, 0, 0, 0) << endl ;
ost << "Central value of khi_shift [km c] : "
<< khi_shift()(0, 0, 0, 0) / km << endl ;
ost << endl << "Central value of (B^X, B^Y, B^Z)/N [c] : "
<< bsn(0)(0, 0, 0, 0) << " "
<< bsn(1)(0, 0, 0, 0) << " "
<< bsn(2)(0, 0, 0, 0) << endl ;
ost << endl <<
"Central (d/dX,d/dY,d/dZ)(logn_auto) [km^{-1}] : "
<< d_n_auto(0)(0, 0, 0, 0) * km << " "
<< d_n_auto(1)(0, 0, 0, 0) * km << " "
<< d_n_auto(2)(0, 0, 0, 0) * km << endl ;
ost << endl <<
"Central (d/dX,d/dY,d/dZ)(beta_auto) [km^{-1}] : "
<< d_confpsi_auto(0)(0, 0, 0, 0) * km << " "
<< d_confpsi_auto(1)(0, 0, 0, 0) * km << " "
<< d_confpsi_auto(2)(0, 0, 0, 0) * km << endl ;
return ost ;
}
}
Lorene::Base_vect
Vectorial bases (triads) with respect to which the tensorial components are defined.
Definition base_vect.h:105
Lorene::Cmp
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
Definition cmp.h:446
Lorene::Eos
Equation of state base class.
Definition eos.h:190
Lorene::Et_bin_nsbh
Class for a star in a NS-BH binary system.
Definition et_bin_nsbh.h:79
Lorene::Et_bin_nsbh::confpsi_auto
Tenseur confpsi_auto
Part of the conformal factor $\Psi$ generated principaly by the star.
Definition et_bin_nsbh.h:104
Lorene::Et_bin_nsbh::d_confpsi_comp
Tenseur d_confpsi_comp
Gradient of {\tt confpsi_comp} (Cartesian components with respect to {\tt ref_triad}...
Definition et_bin_nsbh.h:119
Lorene::Et_bin_nsbh::ssjm1_confpsi
Cmp ssjm1_confpsi
Effective source at the previous step for the resolution of the Poisson equation for {\tt confpsi_aut...
Definition et_bin_nsbh.h:164
Lorene::Et_bin_nsbh::operator>>
virtual ostream & operator>>(ostream &) const
Save in a file.
Definition et_bin_nsbh.C:328
Lorene::Et_bin_nsbh::confpsi_comp
Tenseur confpsi_comp
Part of the conformal factor $\Psi$ generated principaly by the companion star.
Definition et_bin_nsbh.h:109
Lorene::Et_bin_nsbh::tkij_tot
Tenseur_sym tkij_tot
Total extrinsic curvature tensor $K^{ij}$ generated by {\tt shift_auto} and {\tt shift_comp}...
Definition et_bin_nsbh.h:152
Lorene::Et_bin_nsbh::d_n_comp
Tenseur d_n_comp
Gradient of {\tt n_comp} (Cartesian components with respect to {\tt ref_triad}).
Definition et_bin_nsbh.h:98
Lorene::Et_bin_nsbh::set_n_comp
Tenseur & set_n_comp()
Read/write the lapse {\it N} generated principaly by the companion star.
Definition et_bin_nsbh.C:285
Lorene::Et_bin_nsbh::taij_tot
Tenseur_sym taij_tot
Total extrinsic curvature tensor $\tilde A^{ij} = 2 N K^{ij}$ generated by {\tt shift_auto}...
Definition et_bin_nsbh.h:140
Lorene::Et_bin_nsbh::set_n_auto
Tenseur & set_n_auto()
Read/write the lapse {\it N} generated principaly by the star.
Definition et_bin_nsbh.C:278
Lorene::Et_bin_nsbh::d_n_auto
Tenseur d_n_auto
Gradient of {\tt n_auto} (Cartesian components with respect to {\tt ref_triad}).
Definition et_bin_nsbh.h:93
Lorene::Et_bin_nsbh::operator=
void operator=(const Et_bin_nsbh &)
Destructor.
Definition et_bin_nsbh.C:253
Lorene::Et_bin_nsbh::ssjm1_lapse
Cmp ssjm1_lapse
Effective source at the previous step for the resolution of the Poisson equation for {\tt n_auto}...
Definition et_bin_nsbh.h:158
Lorene::Et_bin_nsbh::Et_bin_nsbh
Et_bin_nsbh(Map &mp_i, int nzet_i, bool relat, const Eos &eos_i, bool irrot, const Base_vect &ref_triad_i)
Standard constructor.
Definition et_bin_nsbh.C:95
Lorene::Et_bin_nsbh::taij_auto
Tenseur_sym taij_auto
Part of the extrinsic curvature tensor $\tilde A^{ij} = 2 N K^{ij}$ generated by {\tt shift_auto}...
Definition et_bin_nsbh.h:126
Lorene::Et_bin_nsbh::set_confpsi_comp
Tenseur & set_confpsi_comp()
Read/write the conformal factor $\Psi$ generated principaly by the companion star.
Definition et_bin_nsbh.C:299
Lorene::Et_bin_nsbh::tkij_auto
Tenseur_sym tkij_auto
Part of the extrinsic curvature tensor $K^{ij}$ generated by {\tt shift_auto}.
Definition et_bin_nsbh.h:146
Lorene::Et_bin_nsbh::set_confpsi_auto
Tenseur & set_confpsi_auto()
Read/write the conformal factor $\Psi$ generated principaly by the star.
Definition et_bin_nsbh.C:292
Lorene::Et_bin_nsbh::taij_comp
Tenseur_sym taij_comp
Part of the extrinsic curvature tensor $\tilde A^{ij} = 2 N K^{ij}$ generated by {\tt shift_comp}...
Definition et_bin_nsbh.h:133
Lorene::Et_bin_nsbh::n_auto
Tenseur n_auto
Part of the lapse {\it N} generated principaly by the star.
Definition et_bin_nsbh.h:85
Lorene::Et_bin_nsbh::n_comp
Tenseur n_comp
Part of the lapse {\it N} generated principaly by the companion star.
Definition et_bin_nsbh.h:88
Lorene::Et_bin_nsbh::confpsi
Tenseur confpsi
Total conformal factor $\Psi$.
Definition et_bin_nsbh.h:101
Lorene::Et_bin_nsbh::sauve
virtual void sauve(FILE *) const
Save in a file.
Definition et_bin_nsbh.C:312
Lorene::Et_bin_nsbh::d_confpsi_auto
Tenseur d_confpsi_auto
Gradient of {\tt confpsi_auto} (Cartesian components with respect to {\tt ref_triad}...
Definition et_bin_nsbh.h:114
Lorene::Etoile_bin
Class for stars in binary system.
Definition etoile.h:814
Lorene::Etoile_bin::shift_comp
Tenseur shift_comp
Part of the shift vector generated principaly by the companion star.
Definition etoile.h:895
Lorene::Etoile_bin::sauve
virtual void sauve(FILE *) const
Save in a file.
Definition etoile_bin.C:559
Lorene::Etoile_bin::bsn
Tenseur bsn
3-vector shift, divided by N , of the rotating coordinates, .
Definition etoile.h:950
Lorene::Etoile_bin::d_psi
Tenseur d_psi
Gradient of (in the irrotational case) (Cartesian components with respect to ref_triad ).
Definition etoile.h:838
Lorene::Etoile_bin::irrotational
bool irrotational
true for an irrotational star, false for a corotating one
Definition etoile.h:822
Lorene::Etoile_bin::w_shift
Tenseur w_shift
Vector used in the decomposition of shift_auto , following Shibata's prescription [Prog.
Definition etoile.h:908
Lorene::Etoile_bin::set_der_0x0
virtual void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
Definition etoile_bin.C:459
Lorene::Etoile_bin::del_deriv
virtual void del_deriv() const
Deletes all the derived quantities.
Definition etoile_bin.C:447
Lorene::Etoile_bin::loggam
Tenseur loggam
Logarithm of the Lorentz factor between the fluid and the co-orbiting observer.
Definition etoile.h:849
Lorene::Etoile_bin::shift_auto
Tenseur shift_auto
Part of the shift vector generated principaly by the star.
Definition etoile.h:889
Lorene::Etoile_bin::xa_barycenter
virtual double xa_barycenter() const
Absolute coordinate X of the barycenter of the baryon density, defined according to the formula.
Definition et_bin_global.C:170
Lorene::Etoile_bin::wit_w
Tenseur wit_w
Spatial projection of the fluid 3-velocity with respect to the co-orbiting observer.
Definition etoile.h:844
Lorene::Etoile_bin::Etoile_bin
Etoile_bin(Map &mp_i, int nzet_i, bool relat, const Eos &eos_i, bool irrot, const Base_vect &ref_triad_i)
Standard constructor.
Definition etoile_bin.C:207
Lorene::Etoile_bin::operator=
void operator=(const Etoile_bin &)
Assignment to another Etoile_bin.
Definition etoile_bin.C:482
Lorene::Etoile_bin::khi_shift
Tenseur khi_shift
Scalar used in the decomposition of shift_auto , following Shibata's prescription [Prog.
Definition etoile.h:918
Lorene::Etoile::ray_eq_pi
double ray_eq_pi() const
Coordinate radius at , [r_unit].
Definition etoile_global.C:256
Lorene::Etoile::ray_eq
double ray_eq() const
Coordinate radius at , [r_unit].
Definition etoile_global.C:120
Lorene::Etoile::u_euler
Tenseur u_euler
Fluid 3-velocity with respect to the Eulerian observer.
Definition etoile.h:474
Lorene::Etoile::gam_euler
Tenseur gam_euler
Lorentz factor between the fluid and Eulerian observers.
Definition etoile.h:471
Lorene::Etoile::mp
Map & mp
Mapping associated with the star.
Definition etoile.h:429
Lorene::Etoile::operator>>
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Definition etoile.C:511
Lorene::Etoile::shift
Tenseur shift
Total shift vector.
Definition etoile.h:512
Lorene::Tenseur
Tensor handling *** DEPRECATED : use class Tensor instead ***.
Definition tenseur.h:301
Lorene::Tenseur::sauve
void sauve(FILE *) const
Save in a file.
Definition tenseur.C:1325
Lorene::min
Tbl min(const Cmp &)
Minimum values of a Cmp in each domain.
Definition cmp_math.C:458
Lorene::max
Tbl max(const Cmp &)
Maximum values of a Cmp in each domain.
Definition cmp_math.C:435
Lorene
Lorene prototypes.
Definition app_hor.h:64
Lorene::Map
Map(const Mg3d &)
Constructor from a multi-domain 3D grid.
Definition map.C:139
Unites
Standard units of space, time and mass.