30char star_rot_upmetr_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Star/star_rot_upmetr.C,v 1.2 2014/10/13 08:53:39 j_novak Exp $" ;
117 if ( (
mp.
get_mg())->get_np(0) == 1) {
130 if (
dnpdr.get_etat() == ETATQCQ) {
132 dnpdr.set_spectral_va() = (
dnpdr.get_spectral_va()).mult_st() ;
135 if (
dnpdt.get_etat() == ETATQCQ) {
137 dnpdt.set_spectral_va() = (
dnpdt.get_spectral_va()).mult_ct() ;
153 if (
dnpdr.get_etat() == ETATQCQ) {
155 dnpdr.set_spectral_va() = (
dnpdr.get_spectral_va()).mult_ct() ;
158 if (
dnpdt.get_etat() == ETATQCQ) {
160 dnpdt.set_spectral_va() = (
dnpdt.get_spectral_va()).mult_st() ;
191 if (
divn.get_etat() == ETATQCQ) {
196 for (
int i=1;
i<=3;
i++) {
197 for (
int j=
i;
j<=3;
j++) {
217 for (
int i=1;
i<=3;
i++) {
218 for (
int j=1;
j<=3;
j++) {
Time evolution with partial storage (*** under development ***).
Base class for pure radial mappings.
const Base_vect_spher & get_bvect_spher() const
Returns the orthonormal vectorial basis associated with the coordinates of the mapping.
const Metric_flat & flat_met_cart() const
Returns the flat metric associated with the Cartesian coordinates and with components expressed in th...
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).
const Scalar & srdsdt() const
Returns of *this .
virtual void std_spectral_base()
Sets the spectral bases of the Valeur va to the standard ones for a scalar field.
const Scalar & dsdr() const
Returns of *this .
Sym_tensor tkij
Tensor related to the extrinsic curvature tensor by .
Scalar tggg
Metric potential .
double unsurc2
: unsurc2=1 for a relativistic star, 0 for a Newtonian one.
void extrinsic_curvature()
Computes tkij and ak_car from shift , nnn and b_car .
Scalar b_car
Square of the metric factor B.
Scalar bbb
Metric factor B.
Scalar nphi
Metric coefficient .
void update_metric()
Computes metric coefficients from known potentials.
Scalar dzeta
Metric potential .
Scalar a_car
Square of the metric factor A.
virtual void del_deriv() const
Deletes all the derived quantities.
Scalar logn
Logarithm of the lapse N .
Scalar nn
Lapse function N .
Map & mp
Mapping associated with the star.
Class intended to describe valence-2 symmetric tensors.
Cmp exp(const Cmp &)
Exponential.
virtual void set_etat_qcq()
Sets the logical state of all components to ETATQCQ (ordinary state).
const Tensor & derive_cov(const Metric &gam) const
Returns the covariant derivative of this with respect to some metric .
virtual void set_etat_zero()
Sets the logical state of all components to ETATZERO (zero state).
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 .