30 #include "star_rot_cfc.h" 45 ln_f_new = source_logn.
poisson() ;
64 ln_q_new = source_logn.
poisson() ;
80 double lambda = 1./3. ;
96 psi_new = source_psi.
poisson() + 1. ;
110 double lambda = 1./3. ;
116 beta_new = sou_shift.
poisson(lambda) ;
117 beta_new.
set(1) = 0 ;
118 beta_new.
set(2) = 0 ;
Cmp log(const Cmp &)
Neperian logarithm.
Cmp exp(const Cmp &)
Exponential.
void solve_logn_q(Scalar &ln_q_new) const
Solution of the quadratic part of the Poisson equation for the lapse for rotating stars in CFC...
Scalar psi
Conformal factor .
Standard units of space, time and mass.
Tensor field of valence 0 (or component of a tensorial field).
Scalar poisson() const
Solves the scalar Poisson equation with *this as a source.
virtual void del_deriv() const
Deletes all the derived quantities.
Tensor up_down(const Metric &gam) const
Computes a new tensor by raising or lowering all the indices of *this .
Scalar psi4
Conformal factor .
virtual void std_spectral_base()
Sets the spectral bases of the Valeur va to the standard ones for a scalar field. ...
int get_etat() const
Returns the logical state ETATNONDEF (undefined), ETATZERO (null) or ETATQCQ (ordinary).
Scalar s_euler
Trace of the stress scalar in the Eulerian frame.
const Vector & derive_con(const Metric &gam) const
Returns the "contravariant" derivative of *this with respect to some metric , by raising the index of...
Tensor field of valence 1.
Sym_tensor ope_killing_conf(const Metric &gam) const
Computes the conformal Killing operator associated with a given metric.
const Vector & divergence(const Metric &) const
Returns the divergence of this with respect to a Metric .
void solve_shift(Vector &shift_new) const
Solution of the shift equation for rotating stars in CFC.
Vector poisson(double lambda, int method=6) const
Solves the vector Poisson equation with *this as a source.
Tenseur contract(const Tenseur &, int id1, int id2)
Self contraction of two indices of a Tenseur .
Scalar logn
Logarithm of the lapse N .
void solve_logn_f(Scalar &ln_f_new) const
Solution of the `‘matter’' part of the Poisson equation for the lapse for rotating stars in CFC...
virtual void inc_dzpuis(int inc=1)
Increases by inc units the value of dzpuis and changes accordingly the values in the compactified ext...
void solve_psi(Scalar &psi_new)
Solution of the equations for the conformal factor for rotating stars in CFC.
virtual const Sym_tensor & cov() const
Read-only access to the covariant representation.
Scalar nn
Lapse function N .
Scalar & set(int)
Read/write access to a component.
void update_metric()
Computes metric quantities from known potentials.
const Vector & derive_cov(const Metric &gam) const
Returns the gradient (1-form = covariant vector) of *this
Vector j_euler
Momentum density 3-vector with respect to the Eulerian observer.
Scalar ener_euler
Total energy density in the Eulerian frame.
Class intended to describe valence-2 symmetric tensors.
const Metric_flat & flat
flat metric (spherical components)