27char boson_star_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Compobj/boson_star.C,v 1.4 2014/10/13 08:52:49 j_novak Exp $" ;
54#include "boson_star.h"
55#include "utilitaires.h"
102 rphi(mpi, *(mpi.get_mg()), fich) ,
103 iphi(mpi, *(mpi.get_mg()), fich)
187 ost << endl <<
"Axisymmetric stationary boson star in quasi-isotropic coordinates (class Boson_star) " << endl ;
189 ost <<
"Boson mass : " <<
mmm << endl ;
191 ost <<
"omega = " <<
omega <<
" , k = " <<
kkk << endl ;
199 ost <<
"Gravitational mass : " <<
mass_g() << endl ;
Class for stationary axisymmetric boson stars (under development).
double omega
Coefficient omega in the time dependence of Phi.
virtual void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
double m2
Boson mass squared.
virtual void del_deriv() const
Deletes all the derived quantities.
Scalar rphi
Real part of the scalar field Phi.
int kkk
Coefficient kkk in the azimuthal dependence of Phi.
virtual ~Boson_star()
Destructor.
void operator=(const Boson_star &)
Assignment to another Boson_star.
void update_ener_mom()
Computes the 3+1 components of the energy-momentum tensor (E, P_i and S_{ij}) from the values of the ...
Boson_star(Map &mp_i, double m, int k)
Standard constructor.
Scalar iphi
Imaginary part of the scalar field Phi.
virtual void sauve(FILE *) const
Save in a file.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Scalar nphi
Metric coefficient .
Vector mom_euler
Total 3-momentum density in the Eulerian frame.
Sym_tensor stress_euler
Stress tensor with respect to the Eulerian observer.
Scalar ener_euler
Total energy density E in the Eulerian frame.
Scalar nn
Lapse function N .
Map & mp
Mapping describing the coordinate system (r,theta,phi)
Base class for coordinate mappings.
const Metric_flat & flat_met_spher() const
Returns the flat metric associated with the spherical coordinates and with components expressed in th...
Flat metric for tensor calculation.
virtual const Sym_tensor & cov() const
Read-only access to the covariant representation.
Tensor field of valence 0 (or component of a tensorial field).
virtual void sauve(FILE *) const
Save in a file.
const Vector & derive_cov(const Metric &gam) const
Returns the gradient (1-form = covariant vector) of *this
double val_grid_point(int l, int k, int j, int i) const
Returns the value of the field at a specified grid point.
virtual void inc_dzpuis(int inc=1)
Increases by inc units the value of dzpuis and changes accordingly the values of the Scalar in the co...
Base class for axisymmetric stationary compact stars in Quasi-Isotropic coordinates (under developmen...
virtual void sauve(FILE *) const
Save in a file.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
virtual void del_deriv() const
Deletes all the derived quantities.
virtual double mass_g() const
Gravitational mass.
void operator=(const Star_QI &)
Assignment to another Star_QI.
Class intended to describe valence-2 symmetric tensors.
Scalar & set(int)
Read/write access to a component.
int fread_be(int *aa, int size, int nb, FILE *fich)
Reads integer(s) from a binary file according to the big endian convention.
int fwrite_be(const int *aa, int size, int nb, FILE *fich)
Writes integer(s) into a binary file according to the big endian convention.
Tensor trace(int ind1, int ind2) const
Trace on two different type indices.