152 assert (
etat != ETATNONDEF) ;
156 if (
etat != ETATZERO) {
158 assert((
etat == ETATQCQ) || (
etat == ETATUN)) ;
184 int diff_dzpuis = ced_mult_r -
dzpuis ;
226 assert (
etat != ETATNONDEF) ;
230 if (
etat != ETATZERO) {
232 assert((
etat == ETATQCQ) || (
etat == ETATUN)) ;
257 int diff_dzpuis = ced_mult_r -
dzpuis ;
299 assert (
etat != ETATNONDEF) ;
305 if (
etat != ETATZERO) {
307 assert((
etat == ETATQCQ) || (
etat == ETATUN)) ;
317 int dzpuis_ext =
dzpuis - 1 ;
319 int diff_dzpuis = ced_mult_r - dzpuis_ext ;
320 (diff_dzpuis >= 0) ? uu_ext.
inc_dzpuis(diff_dzpuis)
325 assert( dynamic_cast<const Map_radial*>(
mp) != 0x0 ) ;
337 if (ced)
dzpuis = ced_mult_r ;
367 assert (
etat != ETATNONDEF) ;
373 if (
etat != ETATZERO) {
375 assert((
etat == ETATQCQ) || (
etat == ETATUN)) ;
385 int dzpuis_ext =
dzpuis + 1 ;
387 int diff_dzpuis = ced_mult_r - dzpuis_ext ;
388 (diff_dzpuis >= 0) ? uu_ext.
inc_dzpuis(diff_dzpuis)
393 assert( dynamic_cast<const Map_radial*>(
mp) != 0x0 ) ;
423 if (decrem == 0) return ;
425 if (
etat == ETATZERO) {
459 cout <<
"Scalar::dec_dzpuis : unexpected value of decrem !" 460 << endl <<
" decrem = " << decrem << endl ;
475 if (inc == 0) return ;
477 if (
etat == ETATZERO) {
511 cout <<
"Scalar::inc_dzpuis : unexpected value of inc !" 512 << endl <<
" inc = " << inc << endl ;
void mult_r()
Multiplication by r everywhere; dzpuis is not changed.
void sx()
The basis is transformed as with a multiplication.
virtual void annule(int l_min, int l_max)
Sets the Scalar to zero in several domains.
const Tbl & domain(int l) const
Read-only of the value in a given domain.
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).
void mult_sint()
Multiplication by .
virtual void inc_dzpuis(Scalar &) const =0
Increases by 1 the value of dzpuis of a Scalar and changes accordingly its values in the compactifi...
virtual void allocate_all()
Sets the logical state to ETATQCQ (ordinary state) and performs the memory allocation of all the elem...
virtual void mult_rsint(Scalar &) const =0
Multiplication by of a Scalar.
int dzpuis
Power of r by which the quantity represented by this must be divided in the compactified external do...
virtual void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
Tbl & set_domain(int l)
Read/write of the value in a given domain.
virtual void div_r_zec(Scalar &) const =0
Division by r (in the compactified external domain only) of a Scalar.
void set_dzpuis(int)
Modifies the dzpuis flag.
virtual void dec2_dzpuis(Scalar &) const =0
Decreases by 2 the value of dzpuis of a Scalar and changes accordingly its values in the compactifi...
void div_r()
Division by r everywhere; dzpuis is not changed.
virtual void del_deriv() const
Logical destructor of the derivatives.
virtual void div_rsint(Scalar &) const =0
Division by of a Scalar.
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...
Base_val base
Bases on which the spectral expansion is performed.
void mult_r_ced()
Multiplication by r in the compactified external domain (CED), the dzpuis flag is not changed...
int get_nzone() const
Returns the number of domains.
Valeur va
The numerical value of the Scalar.
void div_rsint_dzpuis(int ced_mult_r)
Division by but with the output flag dzpuis set to ced_mult_r .
void mult_rsint()
Multiplication by everywhere; dzpuis is not changed.
void ssint()
The basis is transformed as with a multiplication.
void set_spectral_base(const Base_val &)
Sets the spectral bases of the Valeur va
virtual void mult_r(Scalar &uu) const =0
Multiplication by r of a Scalar , the dzpuis of uu is not changed.
virtual void inc2_dzpuis(Scalar &) const =0
Increases by 2 the value of dzpuis of a Scalar and changes accordingly its values in the compactifi...
Bases of the spectral expansions.
int etat
The logical state ETATNONDEF (undefined), ETATZERO (null), ETATUN (one), or ETATQCQ (ordinary)...
void mult_x()
The basis is transformed as with a multiplication by .
void div_sint()
Division by .
void div_rsint()
Division by everywhere; dzpuis is not changed.
virtual void mult_r_zec(Scalar &) const =0
Multiplication by r (in the compactified external domain only) of a Scalar.
void mult_rsint_dzpuis(int ced_mult_r)
Multiplication by but with the output flag dzpuis set to ced_mult_r .
void mult_sint()
The basis is transformed as with a multiplication.
int get_type_r(int l) const
Returns the type of sampling in the radial direction in domain no.
virtual void dec_dzpuis(Scalar &) const =0
Decreases by 1 the value of dzpuis of a Scalar and changes accordingly its values in the compactifi...
const Map *const mp
Mapping on which the numerical values at the grid points are defined.
void div_r_dzpuis(int ced_mult_r)
Division by r everywhere but with the output flag dzpuis set to ced_mult_r .
void div_r_ced()
Division by r in the compactified external domain (CED), the dzpuis flag is not changed.
virtual void div_r(Scalar &) const =0
Division by r of a 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_dzpuis(int ced_mult_r)
Multiplication by r everywhere but with the output flag dzpuis set to ced_mult_r ...
const Base_val & get_base() const
Return the bases for spectral expansions (member base )