57 #include "boson_star.h" 58 #include "utilitaires.h" 105 rphi(mpi, *(mpi.get_mg()), fich) ,
106 iphi(mpi, *(mpi.get_mg()), fich)
190 ost << endl <<
"Axisymmetric stationary boson star in quasi-isotropic coordinates (class Boson_star) " << endl ;
192 ost <<
"Boson mass : " <<
mmm << endl ;
194 ost <<
"omega = " <<
omega <<
" , k = " <<
kkk << endl ;
202 ost <<
"Gravitational mass : " <<
mass_g() << endl ;
void operator=(const Boson_star &)
Assignment to another Boson_star.
Scalar iphi
Imaginary part of the scalar field Phi.
Vector mom_euler
Total 3-momentum density in the Eulerian frame.
Flat metric for tensor calculation.
Tensor field of valence 0 (or component of a tensorial field).
double omega
Coefficient omega in the time dependence of Phi.
virtual double mass_g() const
Gravitational mass.
Base class for coordinate mappings.
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 ...
double val_grid_point(int l, int k, int j, int i) const
Returns the value of the field at a specified grid point.
Base class for axisymmetric stationary compact stars in Quasi-Isotropic coordinates (under developmen...
double m2
Boson mass squared.
Scalar nphi
Metric coefficient .
virtual void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
virtual void sauve(FILE *) const
Save in a file.
Boson_star(Map &mp_i, double m, int k)
Standard constructor.
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...
int kkk
Coefficient kkk in the azimuthal dependence of Phi.
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.
Scalar rphi
Real part of the scalar field Phi.
int fread_be(int *aa, int size, int nb, FILE *fich)
Reads integer(s) from a binary file according to the big endian convention.
virtual const Sym_tensor & cov() const
Read-only access to the covariant representation.
Scalar ener_euler
Total energy density E in the Eulerian frame.
virtual void del_deriv() const
Deletes all the derived quantities.
Class for stationary axisymmetric boson stars (under development).
Scalar nn
Lapse function N .
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Scalar & set(int)
Read/write access to a component.
const Vector & derive_cov(const Metric &gam) const
Returns the gradient (1-form = covariant vector) of *this
virtual void del_deriv() const
Deletes all the derived quantities.
virtual ~Boson_star()
Destructor.
const Metric_flat & flat_met_spher() const
Returns the flat metric associated with the spherical coordinates and with components expressed in th...
void operator=(const Star_QI &)
Assignment to another Star_QI.
Class intended to describe valence-2 symmetric tensors.
virtual void sauve(FILE *) const
Save in a file.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Tensor trace(int ind1, int ind2) const
Trace on two different type indices.
Map & mp
Mapping describing the coordinate system (r,theta,phi)
Sym_tensor stress_euler
Stress tensor with respect to the Eulerian observer.
virtual void sauve(FILE *) const
Save in a file.