30char star_bin_kinema_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Star/star_bin_kinema.C,v 1.10 2014/10/13 08:53:38 j_novak Exp $" ;
77 int nz =
mp.get_mg()->get_nzone() ;
89 bsn.change_triad(
mp.get_bvect_cart()) ;
91 if (fabs(
mp.get_rot_phi()) < 1e-10){
92 bsn.set(1) = - omega *
ya ;
93 bsn.set(2) = omega * (
xa - x_axe) ;
97 bsn.set(1) = omega *
ya ;
98 bsn.set(2) = - omega * (
xa - x_axe) ;
102 bsn.std_spectral_base() ;
104 bsn.annule(nzm1, nzm1) ;
112 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.