26char star_bin_kinema_xcts_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Star/star_bin_kinema_xcts.C,v 1.6 2014/10/13 08:53:38 j_novak Exp $" ;
61 int nzm1 =
mp.get_mg()->get_nzone() - 1 ;
72 bsn.change_triad(
mp.get_bvect_cart()) ;
74 if (fabs(
mp.get_rot_phi()) < 1e-10) {
76 bsn.set(1) = - omega *
ya ;
77 bsn.set(2) = omega * (
xa - x_axe) ;
82 bsn.set(1) = omega *
ya ;
83 bsn.set(2) = - omega * (
xa - x_axe) ;
88 bsn.annule_domain(nzm1) ;
97 bsn.annule_domain(nzm1) ;
98 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.