33char scalar_r_manip_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Tensor/Scalar/scalar_r_manip.C,v 1.23 2014/10/13 08:53:47 j_novak Exp $" ;
153 if (
etat != ETATZERO) {
159 int nzm1 =
mp->get_mg()->get_nzone() - 1 ;
160 bool ced =
mp->get_mg()->get_type_r(
nzm1) == UNSURR ;
198 mp->div_r_zec(*
this) ;
227 if (
etat != ETATZERO) {
233 int nzm1 =
mp->get_mg()->get_nzone() - 1 ;
234 bool ced =
mp->get_mg()->get_type_r(
nzm1) == UNSURR ;
271 mp->mult_r_zec(*
this) ;
283 mp->mult_rsint(*
this) ;
299 int nzm1 =
mp->get_mg()->get_nzone() - 1 ;
300 bool ced =
mp->get_mg()->get_type_r(
nzm1) == UNSURR ;
302 if (
etat != ETATZERO) {
350 mp->div_rsint(*
this) ;
367 int nzm1 =
mp->get_mg()->get_nzone() - 1 ;
368 bool ced =
mp->get_mg()->get_type_r(
nzm1) == UNSURR ;
370 if (
etat != ETATZERO) {
422 if (
etat == ETATZERO) {
434 mp->dec_dzpuis(*
this) ;
439 mp->dec2_dzpuis(*
this) ;
444 mp->dec2_dzpuis(*
this) ;
445 mp->dec_dzpuis(*
this) ;
450 mp->dec2_dzpuis(*
this) ;
451 mp->dec2_dzpuis(*
this) ;
456 cout <<
"Scalar::dec_dzpuis : unexpected value of decrem !"
474 if (
etat == ETATZERO) {
486 mp->inc_dzpuis(*
this) ;
491 mp->inc2_dzpuis(*
this) ;
496 mp->inc_dzpuis(*
this) ;
497 mp->inc2_dzpuis(*
this) ;
502 mp->inc2_dzpuis(*
this) ;
503 mp->inc2_dzpuis(*
this) ;
508 cout <<
"Scalar::inc_dzpuis : unexpected value of inc !"
Bases of the spectral expansions.
Time evolution with partial storage (*** under development ***).
Base class for pure radial mappings.
Tensor field of valence 0 (or component of a tensorial field).
virtual void del_deriv() const
Logical destructor of the derivatives.
void div_rsint_dzpuis(int ced_mult_r)
Division by but with the output flag dzpuis set to ced_mult_r .
void div_r_dzpuis(int ced_mult_r)
Division by r everywhere but with the output flag dzpuis set to ced_mult_r .
virtual void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
virtual void inc_dzpuis(int inc=1)
Increases by inc units the value of dzpuis and changes accordingly the values of the Scalar in the co...
void div_r()
Division by r everywhere; dzpuis is not changed.
Tbl & set_domain(int l)
Read/write of the value in a given domain.
virtual void annule(int l_min, int l_max)
Sets the Scalar to zero in several domains.
void mult_r_ced()
Multiplication by r in the compactified external domain (CED), the dzpuis flag is not changed.
int etat
The logical state ETATNONDEF (undefined), ETATZERO (null), ETATUN (one), or ETATQCQ (ordinary).
void mult_rsint()
Multiplication by everywhere; dzpuis is not changed.
void div_rsint()
Division by everywhere; dzpuis is not changed.
void mult_rsint_dzpuis(int ced_mult_r)
Multiplication by but with the output flag dzpuis set to ced_mult_r .
const Tbl & domain(int l) const
Read-only of the value in a given domain.
void mult_r_dzpuis(int ced_mult_r)
Multiplication by r everywhere but with the output flag dzpuis set to ced_mult_r .
Valeur va
The numerical value of the Scalar
virtual void dec_dzpuis(int dec=1)
Decreases by dec units the value of dzpuis and changes accordingly the values of the Scalar in the co...
void mult_r()
Multiplication by r everywhere; dzpuis is not changed.
void div_r_ced()
Division by r in the compactified external domain (CED), the dzpuis flag is not changed.
void set_spectral_base(const Base_val &)
Sets the spectral bases of the Valeur va
int dzpuis
Power of r by which the quantity represented by this must be divided in the compactified external d...
const Base_val & get_base() const
Return the bases for spectral expansions (member base )
Base_val base
Bases on which the spectral expansion is performed.
const Map *const mp
Mapping on which the numerical values at the grid points are defined.