80 int nz =
mp.get_mg()->get_nzone() ;
92 bsn.change_triad(
mp.get_bvect_cart()) ;
94 if (fabs(
mp.get_rot_phi()) < 1e-10){
95 bsn.set(1) = - omega *
ya ;
96 bsn.set(2) = omega * (
xa - x_axe) ;
100 bsn.set(1) = omega *
ya ;
101 bsn.set(2) = - omega * (
xa - x_axe) ;
105 bsn.std_spectral_base() ;
107 bsn.annule(nzm1, nzm1) ;
115 bsn.annule(nzm1, nzm1) ;
Active physical coordinates and mapping derivatives.
Tensor field of valence 0 (or component of a tensorial field).
Vector bsn
3-vector shift, divided by N, of the rotating coordinates, .
virtual void del_deriv() const
Deletes all the derived quantities.
void kinematics(double omega, double x_axe)
Computes the quantities bsn and pot_centri.
Scalar pot_centri
Centrifugal potential.
Scalar nn
Lapse function N .
Map & mp
Mapping associated with the star.
Class intended to describe valence-2 symmetric tensors.
Cmp sqrt(const Cmp &)
Square root.
Cmp log(const Cmp &)
Neperian logarithm.
virtual void change_triad(const Base_vect &new_triad)
Sets a new vectorial basis (triad) of decomposition and modifies the components accordingly.
Tenseur contract(const Tenseur &, int id1, int id2)
Self contraction of two indices of a Tenseur .
Coord xa
Absolute x coordinate.
Coord ya
Absolute y coordinate.