64 int nzm1 =
mp.get_mg()->get_nzone() - 1 ;
75 bsn.change_triad(
mp.get_bvect_cart()) ;
77 if (fabs(
mp.get_rot_phi()) < 1e-10) {
79 bsn.set(1) = - omega *
ya ;
80 bsn.set(2) = omega * (
xa - x_axe) ;
85 bsn.set(1) = omega *
ya ;
86 bsn.set(2) = - omega * (
xa - x_axe) ;
91 bsn.annule_domain(nzm1) ;
100 bsn.annule_domain(nzm1) ;
101 bsn.std_spectral_base() ;
Active physical coordinates and mapping derivatives.
Tensor field of valence 0 (or component of a tensorial field).
Scalar pot_centri
Centrifugal potential.
void kinematics(double omega, double x_axe)
Computes the quantities bsn and pot_centri.
Vector bsn
3-vector shift, divided by N, of the rotating coordinates, .
virtual void del_deriv() const
Deletes all the derived quantities.
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.