30char star_bin_upmetr_der_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Star/star_bin_upmetr_der.C,v 1.17 2014/10/13 08:53:38 j_novak Exp $" ;
97#include "utilitaires.h"
109 temp.change_triad(
temp.get_mp().get_bvect_cart()) ;
151 temp.change_triad(
temp.get_mp().get_bvect_cart()) ;
171 .derive_con(
comp.get_flat()) ;
206 omdsdp.set(3).annule_hard() ;
211 omdsdp.set(3).annule_hard() ;
214 omdsdp.set(1).set_spectral_va()
215 .set_base(*(
mp.
get_mg()->std_base_vect_cart()[0])) ;
216 omdsdp.set(2).set_spectral_va()
217 .set_base(*(
mp.
get_mg()->std_base_vect_cart()[1])) ;
218 omdsdp.set(3).set_spectral_va()
219 .set_base(*(
mp.
get_mg()->std_base_vect_cart()[2])) ;
221 omdsdp.annule_domain(nz-1) ;
238 for (
int i=1;
i<=3;
i++)
239 for (
int j=
i;
j<=3;
j++) {
Bases of the spectral expansions.
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 ya
Absolute y coordinate.
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.
virtual const Sym_tensor & con() const
Read-only access to the contravariant representation.
int get_nzone() const
Returns the number of domains.
Tensor field of valence 0 (or component of a tensorial field).
const Vector & derive_cov(const Metric &gam) const
Returns the gradient (1-form = covariant vector) of *this
Valeur & set_spectral_va()
Returns va (read/write version)
const Vector & derive_con(const Metric &gam) const
Returns the "contravariant" derivative of *this with respect to some metric , by raising the index of...
void import(const Scalar &ci)
Assignment to another Scalar defined on a different mapping.
Class for stars in binary system.
Scalar lnq_auto
Scalar field generated principally by the star.
Vector dcon_logn
Contravariant derivative of the total logarithm of the lapse.
Vector dcon_phi
Contravariant derivative of the logarithm of the conformal factor.
Sym_tensor hij_comp
Deviation of the inverse conformal metric from the inverse flat metric generated principally by the ...
virtual void del_deriv() const
Deletes all the derived quantities.
Vector beta_comp
Part of the shift vector generated principally by the star (Spherical components with respect to the ...
Vector dcov_logn
Covariant derivative of the total logarithm of the lapse.
Scalar logn_auto
Part of the lapse logarithm (gravitational potential at the Newtonian limit) generated principally by...
Scalar kcar_comp
Part of the scalar generated by beta_auto and beta_comp, i.e.
Sym_tensor tkij_comp
Part of the extrinsic curvature tensor generated by beta_comp.
Sym_tensor tkij_auto
Part of the extrinsic curvature tensor generated by beta_auto.
Vector dcov_phi
Covariant derivative of the logarithm of the conformal factor.
Metric_flat flat
Flat metric defined on the mapping (Spherical components with respect to the mapping of the star) .
void update_metric_der_comp(const Star_bin &comp, double omega)
Computes the derivative of metric functions related to the companion star.
Metric gtilde
Conformal metric .
Scalar nn
Lapse function N .
Map & mp
Mapping associated with the star.
Class intended to describe valence-2 symmetric tensors.
Sym_tensor derive_lie(const Vector &v) const
Computes the Lie derivative of this with respect to some vector field v.
void set_base(const Base_val &)
Sets the bases for spectral expansions (member base )
Tensor field of valence 1.
const Scalar & divergence(const Metric &) const
The divergence of this with respect to a Metric .
Scalar & set(int)
Read/write access to a component.
Tensor up_down(const Metric &gam) const
Computes a new tensor by raising or lowering all the indices of *this .
const Tensor & derive_con(const Metric &gam) const
Returns the "contravariant" derivative of this with respect to some metric , by raising the last inde...
virtual void inc_dzpuis(int inc=1)
Increases by inc units the value of dzpuis and changes accordingly the values in the compactified ext...
const Base_vect * get_triad() const
Returns the vectorial basis (triad) on which the components are defined.
Scalar & set(const Itbl &ind)
Returns the value of a component (read/write version).
Tenseur contract(const Tenseur &, int id1, int id2)
Self contraction of two indices of a Tenseur .