28char star_bhns_kinema_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Star_bhns/star_bhns_kinema.C,v 1.4 2014/10/13 08:53:41 j_novak Exp $" ;
62 const double&
sepa,
double omega,
63 double x_rot,
double y_rot) {
85 bsn.
set(1) = - omega * (ya - y_rot) ;
86 bsn.
set(2) = omega * (xa - x_rot) ;
92 bsn.
set(1) = omega * (ya - y_rot) ;
93 bsn.
set(2) = - omega * (xa - x_rot) ;
103 for (
int i=1;
i<=3;
i++) {
117 bsn2.std_spectral_base() ;
121 double mass = ggrav * mass_bh ;
125 xx.std_spectral_base() ;
128 yy.std_spectral_base() ;
131 zz.std_spectral_base() ;
137 rbh.std_spectral_base() ;
148 msr.std_spectral_base() ;
152 llbsn.std_spectral_base() ;
156 tmp1.std_spectral_base() ;
Active physical coordinates and mapping derivatives.
Time evolution with partial storage (*** under development ***).
const Base_vect_cart & get_bvect_cart() const
Returns the Cartesian basis associated with the coordinates (x,y,z) of the mapping,...
Coord y
y coordinate centered on the grid
Coord ya
Absolute y coordinate.
double get_ori_y() const
Returns the y coordinate of the origin.
Coord z
z coordinate centered on the grid
Coord x
x coordinate centered on the grid
double get_rot_phi() const
Returns the angle between the x –axis and X –axis.
Coord xa
Absolute x coordinate.
const Mg3d * get_mg() const
Gives the Mg3d on which the mapping is defined.
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.
void annule_domain(int l)
Sets the Tensor to zero in a given domain.
virtual void set_etat_qcq()
Sets the logical state of all components to ETATQCQ (ordinary state).
Standard units of space, time and mass.