65 const double& sepa,
double omega,
66 double x_rot,
double y_rot) {
72 int nz =
mp.get_mg()->get_nzone() ;
86 if (fabs(
mp.get_rot_phi()) < 1.e-10) {
88 bsn.set(1) = - omega * (
ya - y_rot) ;
89 bsn.set(2) = omega * (
xa - x_rot) ;
95 bsn.set(1) = omega * (
ya - y_rot) ;
96 bsn.set(2) = - omega * (
xa - x_rot) ;
101 bsn.std_spectral_base() ;
102 bsn.annule_domain(nzm1) ;
106 for (
int i=1; i<=3; i++) {
109 bsn.std_spectral_base() ;
110 bsn.annule_domain(nzm1) ;
124 double mass = ggrav * mass_bh ;
136 double yns =
mp.get_ori_y() ;
139 rbh =
sqrt( (xx+sepa)*(xx+sepa) + (yy+yns)*(yy+yns) + zz*zz ) ;
144 ll.
set(1) = (xx+sepa) / rbh ;
145 ll.
set(2) = (yy+yns) / rbh ;
146 ll.
set(3) = zz / rbh ;
154 llbsn = ll(1)%
bsn(1) + ll(2)%
bsn(2) + ll(3)%
bsn(3) ;
158 tmp1 = 2. * msr % llbsn % llbsn ;
162 gam0.std_spectral_base() ;
168 gam0.std_spectral_base() ;
Active physical coordinates and mapping derivatives.
Tensor field of valence 0 (or component of a tensorial field).
virtual void std_spectral_base()
Sets the spectral bases of the Valeur va to the standard ones for a scalar field.
Vector shift_tot
Total shift vector.
Vector bsn
3-vector shift, divided by N , of the rotating coordinates, .
virtual void del_deriv() const
Deletes all the derived quantities.
void kinema_bhns(bool kerrschild, const double &mass_bh, const double &sepa, double omega, double x_rot, double y_rot)
Computes the quantities bsn and pot_centri .
Scalar confo_tot
Total conformal factor.
Scalar psi4
Fourth power of the total conformal factor.
Scalar gam0
Lorentz factor between the co-orbiting observer and the Eulerian one.
Scalar lapconf_tot
Total lapconf function.
Scalar pot_centri
Centrifugal potential.
Map & mp
Mapping associated with the star.
Tensor field of valence 1.
virtual void std_spectral_base()
Sets the standard spectal bases of decomposition for each component.
Scalar & set(int)
Read/write access to a component.
Cmp sqrt(const Cmp &)
Square root.
Cmp log(const Cmp &)
Neperian logarithm.
virtual void set_etat_qcq()
Sets the logical state of all components to ETATQCQ (ordinary state).
Coord xa
Absolute x coordinate.
Coord ya
Absolute y coordinate.
Standard units of space, time and mass.