30char scalar_deriv_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Tensor/Scalar/scalar_deriv.C,v 1.20 2014/10/13 08:53:46 j_novak Exp $" ;
123 if (
etat == ETATUN) {
133 if (
mp->get_mg()->get_type_r(
mp->get_mg()->get_nzone() - 1) != UNSURR)
155 if (
etat == ETATUN) {
164 if (
mp->get_mg()->get_type_r(
mp->get_mg()->get_nzone() - 1) != UNSURR)
187 if (
etat == ETATUN) {
196 if (
mp->get_mg()->get_type_r(
mp->get_mg()->get_nzone() - 1) != UNSURR)
219 if (
etat == ETATUN) {
249 if (
etat == ETATUN) {
276 if (
etat == ETATUN) {
285 if (
mp->get_mg()->get_type_r(
mp->get_mg()->get_nzone() - 1) != UNSURR)
307 if (
etat == ETATUN) {
316 if (
mp->get_mg()->get_type_r(
mp->get_mg()->get_nzone() - 1) != UNSURR)
338 if (
etat == ETATUN) {
347 if (
mp->get_mg()->get_type_r(
mp->get_mg()->get_nzone() - 1) != UNSURR)
376 cout <<
"Scalar::deriv : index i out of range !" <<
endl ;
469 if (
etat == ETATUN) {
501 if (
etat == ETATUN) {
510 if (
mp->get_mg()->get_type_r(
mp->get_mg()->get_nzone() - 1) != UNSURR)
532 if (
etat == ETATUN) {
539 der_t.get_spectral_va().mult_ct()) ;
549 if (
mp->get_mg()->get_type_r(
mp->get_mg()->get_nzone() - 1) != UNSURR)
Time evolution with partial storage (*** under development ***).
Metric for tensor calculation.
Tensor field of valence 0 (or component of a tensorial field).
const Scalar & lapang() const
Returns the angular Laplacian of *this , where .
const Scalar & srdsdt() const
Returns of *this .
Scalar * p_lap
Pointer on the Laplacian of *this (0x0 if not up to date)
const Vector & derive_cov(const Metric &gam) const
Returns the gradient (1-form = covariant vector) of *this
Scalar * p_dsdy
Pointer on of *this , where (0x0 if not up to date)
const Scalar & deriv(int i) const
Returns of *this , where .
const Scalar & dsdz() const
Returns of *this , where .
const Scalar & dsdt() const
Returns of *this .
const Scalar & laplacian(int ced_mult_r=4) const
Returns the Laplacian of *this.
const Scalar & dsdy() const
Returns of *this , where .
Scalar * p_dsdrho
Pointer on of *this
const Scalar & srstdsdp() const
Returns of *this .
Scalar * p_dsdr
Pointer on of *this (0x0 if not up to date)
Scalar * p_stdsdp
Pointer on of *this (0x0 if not up to date)
Scalar * p_dsdx
Pointer on of *this , where (0x0 if not up to date)
const Scalar & dsdrho() const
Returns of *this .
const Scalar & stdsdp() const
Returns of *this .
Scalar * p_dsdz
Pointer on of *this , where (0x0 if not up to date)
const Scalar & dsdx() const
Returns of *this , where .
virtual void set_etat_zero()
Sets the logical state to ETATZERO (zero).
const Scalar & dsdr() const
Returns of *this .
const Scalar & dsdradial() const
Returns of *this if the mapping is affine (class Map_af) and of *this if the mapping is logarithmic...
int ind_lap
Power of r by which the last computed Laplacian has been multiplied in the compactified external doma...
Scalar * p_srstdsdp
Pointer on of *this (0x0 if not up to date)
int etat
The logical state ETATNONDEF (undefined), ETATZERO (null), ETATUN (one), or ETATQCQ (ordinary).
void set_dzpuis(int)
Modifies the dzpuis flag.
Scalar * p_lapang
Pointer on the Laplacian of *this (0x0 if not up to date)
const Vector & derive_con(const Metric &gam) const
Returns the "contravariant" derivative of *this with respect to some metric , by raising the index of...
Scalar * p_dsdradial
Pointer on of *this
Scalar * p_dsdt
Pointer on of *this (0x0 if not up to date)
Scalar * p_srdsdt
Pointer on of *this (0x0 if not up to date)
Scalar derive_lie(const Vector &v) const
Computes the derivative of this along a vector field v.
int dzpuis
Power of r by which the quantity represented by this must be divided in the compactified external d...
Values and coefficients of a (real-value) function.
Tensor field of valence 1.
const Map *const mp
Mapping on which the numerical values at the grid points are defined.
const Tensor & derive_con(const Metric &gam) const
Returns the "contravariant" derivative of this with respect to some metric , by raising the last inde...
void compute_derive_lie(const Vector &v, Tensor &resu) const
Computes the Lie derivative of this with respect to some vector field v (protected method; the public...
const Tensor & derive_cov(const Metric &gam) const
Returns the covariant derivative of this with respect to some metric .