150 assert(uu.
get_etat() != ETATNONDEF) ;
161 int nz = mg->get_nzone() ;
165 if (mg->get_type_r(nzm1) == UNSURR) {
172 uu_ext.
annule(0, nzm1-1) ;
180 assert(val.
get_mg() == mg) ;
188 val.
base = sauve_base ;
196 sauve_base = val_ext.
base ;
197 val_ext =
xsr * val_ext ;
198 val_ext.
base = sauve_base ;
215 val.
base = sauve_base ;
225 assert(ci.
get_etat() != ETATNONDEF) ;
234 int nz = mg->get_nzone() ;
238 if (mg->get_type_r(nzm1) == UNSURR) {
245 ci_ext.
annule(0, nzm1-1) ;
253 assert(val.
get_mg() == mg) ;
261 val.
base = sauve_base ;
287 uu.
base = sauve_base ;
302 assert(ci.
get_etat() != ETATNONDEF) ;
315 assert(uu.
get_mg() == mg) ;
317 int nz = mg->get_nzone() ;
321 if (mg->get_type_r(nzm1) == UNSURR) {
332 val_ext.
annule(0, nzm1-1) ;
337 val_ext =
xsr * val_ext ;
338 val_ext.
base = sauve_base ;
360 assert(ci.
get_etat() != ETATNONDEF) ;
371 assert(val.
get_mg() == mg) ;
373 int nz = mg->get_nzone() ;
386 if (mg->get_type_r(nzm1) == UNSURR) {
392 ci_ext.
annule(0, nzm1-1) ;
398 assert(val_ext.
get_mg() == mg) ;
403 val_ext = val_ext *
xsr ;
404 val_ext.
base = sauve_base ;
422 val.
base = sauve_base ;
439 assert(ci.
get_etat() != ETATNONDEF) ;
450 assert(val.
get_mg() == mg) ;
452 int nz = mg->get_nzone() ;
466 if (mg->get_type_r(nzm1) == UNSURR) {
473 ci_ext.
annule(0, nzm1-1) ;
479 assert(val_ext.
get_mg() == mg) ;
481 val_ext = val_ext.
mult_x() ;
484 val_ext = val_ext /
xsr ;
485 val_ext.
base = sauve_base ;
504 val.
base = sauve_base ;
519 assert(ci.
get_etat() != ETATNONDEF) ;
530 assert(val.
get_mg() == mg) ;
532 int nz = mg->get_nzone() ;
537 if (mg->get_type_r(nzm1) == UNSURR) {
544 ci_ext.
annule(0, nzm1-1) ;
550 assert(val_ext.
get_mg() == mg) ;
552 val_ext = val_ext.
mult_x() ;
555 val_ext = val_ext /
xsr ;
556 val_ext.
base = sauve_base ;
575 val.
base = sauve_base ;
591 assert(uu.
get_etat() != ETATNONDEF) ;
604 assert(vu.
get_mg() == mg) ;
606 int nz = mg->get_nzone() ;
609 if (mg->get_type_r(nzm1) == UNSURR) {
619 val_ext.
annule(0, nzm1-1) ;
624 val_ext = val_ext /
xsr ;
625 val_ext.
base = sauve_base ;
649 assert(ci.
get_etat() != ETATNONDEF) ;
651 int nz = mg->get_nzone() ;
660 if (mg->get_type_r(nzm1) != UNSURR)
668 assert(uu.
get_mg() == mg) ;
674 uu_ext.
annule(0, nzm1-1) ;
684 uu_ext = uu_ext /
xsr ;
685 uu_ext.
base = sauve_base ;
702 assert(ci.
get_etat() != ETATNONDEF) ;
704 int nz = mg->get_nzone() ;
712 if (mg->get_type_r(nzm1) != UNSURR) return ;
719 assert(uu.
get_mg() == mg) ;
725 uu_ext.
annule(0, nzm1-1) ;
735 uu_ext = uu_ext *
xsr ;
736 uu_ext.
base = sauve_base ;
754 assert(ci.
get_etat() != ETATNONDEF) ;
756 int nz = mg->get_nzone() ;
764 if (mg->get_type_r(nzm1) != UNSURR) return ;
771 assert(uu.
get_mg() == mg) ;
777 uu_ext.
annule(0, nzm1-1) ;
787 uu_ext = uu_ext / (
xsr*
xsr) ;
788 uu_ext.
base = sauve_base ;
805 assert(ci.
get_etat() != ETATNONDEF) ;
807 int nz = mg->get_nzone() ;
815 if (mg->get_type_r(nzm1) != UNSURR) return ;
822 assert(uu.
get_mg() == mg) ;
828 uu_ext.
annule(0, nzm1-1) ;
839 uu_ext = uu_ext * (
xsr*
xsr) ;
840 uu_ext.
base = sauve_base ;
Bases of the spectral expansions.
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
int get_etat() const
Returns the logical state.
Valeur va
The numerical value of the Cmp.
void annule(int l)
Sets the Cmp to zero in a given domain.
int get_dzpuis() const
Returns dzpuis.
void set_dzpuis(int)
Set a value to dzpuis.
virtual void inc2_dzpuis(Scalar &) const
Increases by 2 the value of dzpuis of a Scalar and changes accordingly its values in the compactifi...
virtual void mult_r_zec(Scalar &) const
Multiplication by r (in the compactified external domain only) of a Scalar.
virtual void mult_r(Scalar &uu) const
Multiplication by r of a Scalar, the dzpuis of uu is not changed.
virtual void div_rsint(Scalar &) const
Division by of a Scalar.
virtual void dec_dzpuis(Scalar &) const
Decreases by 1 the value of dzpuis of a Scalar and changes accordingly its values in the compactified...
virtual void div_r_zec(Scalar &) const
Division by r (in the compactified external domain only) of a Scalar.
virtual void inc_dzpuis(Scalar &) const
Increases by 1 the value of dzpuis of a Scalar and changes accordingly its values in the compactifi...
virtual void div_r(Scalar &) const
Division by r of a Scalar.
Coord xsr
in the nucleus; \ 1/R in the non-compactified shells; \ in the compactified outer domain.
virtual void dec2_dzpuis(Scalar &) const
Decreases by 2 the value of dzpuis of a Scalar and changes accordingly its values in the compactifi...
virtual void mult_rsint(Scalar &) const
Multiplication by of a Scalar.
Tensor field of valence 0 (or component of a tensorial field).
int get_dzpuis() const
Returns dzpuis.
virtual void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
virtual void annule(int l_min, int l_max)
Sets the Scalar to zero in several domains.
Valeur & set_spectral_va()
Returns va (read/write version).
const Valeur & get_spectral_va() const
Returns va (read only version).
int get_etat() const
Returns the logical state ETATNONDEF (undefined), ETATZERO (null) or ETATQCQ (ordinary).
void set_dzpuis(int)
Modifies the dzpuis flag.
Values and coefficients of a (real-value) function.
void sxm1_zec()
Applies the following operator to *this : \ Id (r sampling = RARE, FIN ) \ (r -sampling = UNSURR ).
const Valeur & sx() const
Returns (r -sampling = RARE ) \ Id (r sampling = FIN ) \ (r -sampling = UNSURR ).
void mult_xm1_zec()
Applies the following operator to *this : \ Id (r sampling = RARE, FIN ) \ (r -sampling = UNSURR ).
void annule(int l)
Sets the Valeur to zero in a given domain.
const Valeur & mult_x() const
Returns (r -sampling = RARE ) \ Id (r sampling = FIN ) \ (r -sampling = UNSURR ).
const Valeur & ssint() const
Returns of *this.
const Valeur & mult_st() const
Returns applied to *this.
const Mg3d * get_mg() const
Returns the Mg3d on which the this is defined.
Base_val base
Bases on which the spectral expansion is performed.
void mult2_xm1_zec()
Applies the following operator to *this : \ Id (r sampling = RARE, FIN ) \ (r -sampling = UNSURR ).
void annule_domain(int l)
Sets the Tensor to zero in a given domain.