41 assert (uu.
get_etat() != ETATNONDEF) ;
42 assert (uu.
get_mp().get_mg() == mg) ;
55 int nz = mg->get_nzone() ;
61 if (mg->get_type_r(nzm1) == UNSURR) {
70 if (mg->get_type_r(nzm1) == UNSURR) {
77 tmp_ced.
set(nzm1) -= dzp * uuva(nzm1) ;
97 assert (ci.
get_etat() != ETATNONDEF) ;
98 assert (ci.
get_mp().get_mg() == mg) ;
105 assert( ci.
get_etat() == ETATQCQ ) ;
127 resu = stdfdp - adfdx ;
142 assert (uu.
get_etat() != ETATNONDEF) ;
143 assert (uu.
get_mp().get_mg() == mg) ;
150 assert( uu.
get_etat() == ETATQCQ ) ;
155 int nz = mg->get_nzone() ;
163 srstdfdp = srstdfdp.
dsdp() ;
164 srstdfdp = srstdfdp.
ssint() ;
165 srstdfdp = srstdfdp.
sx() ;
169 srstdfdp = srstdfdp *
xsr ;
171 srstdfdp.
base = sauve_base ;
177 bdfdx = bdfdx.
dsdx() ;
179 sauve_base = bdfdx.
base ;
181 bdfdx.
base = sauve_base ;
188 resu = srstdfdp - bdfdx ;
191 if (mg->get_type_r(nz-1) == UNSURR) {
198 assert(mg->get_type_r(nzm1) == UNSURR) ;
202 Valeur tmp = srstdfdp - bdfdx ;
207 Valeur tmp_ced = - bdfdx ;
210 tmp_ced = tmp_ced.
mult_x() ;
212 tmp_ced = tmp_ced /
xsr ;
214 tmp_ced = tmp_ced + uuva.
dsdp().
ssint() ;
218 resu = tmp + tmp_ced ;
233 assert (ci.
get_etat() != ETATNONDEF) ;
234 assert (ci.
get_mp().get_mg() == mg) ;
241 assert( ci.
get_etat() == ETATQCQ ) ;
263 resu = dfdt - adfdx ;
272 assert (uu.
get_etat() != ETATNONDEF) ;
273 assert (uu.
get_mp().get_mg() == mg) ;
280 assert( uu.
get_etat() == ETATQCQ ) ;
285 int nz = mg->get_nzone() ;
292 srdfdt = srdfdt.
dsdt() ;
294 srdfdt = srdfdt.
sx() ;
298 srdfdt = srdfdt *
xsr ;
300 srdfdt.
base = sauve_base ;
306 adfdx = adfdx.
dsdx() ;
308 sauve_base = adfdx.
base ;
310 adfdx.
base = sauve_base ;
317 resu = srdfdt - adfdx ;
320 if (mg->get_type_r(nz-1) == UNSURR) {
328 assert(mg->get_type_r(nzm1) == UNSURR) ;
332 Valeur tmp = srdfdt - adfdx ;
338 Valeur tmp_ced = - adfdx ;
342 tmp_ced = tmp_ced.
mult_x() ;
344 tmp_ced = tmp_ced /
xsr ;
346 tmp_ced = tmp_ced + uuva.
dsdt() ;
350 resu = tmp + tmp_ced ;
Bases of the spectral expansions.
Coord srstdrdp
in the nucleus and in the non-compactified shells; \ in the compactified outer domain.
Coord drdt
in the nucleus and in the non-compactified shells; \ in the compactified external domain (CED).
Coord srdrdt
in the nucleus and in the non-compactified shells; \ in the compactified outer domain.
Coord xsr
in the nucleus; \ 1/R in the non-compactified shells; \ in the compactified outer domain.
Coord dxdr
in the nucleus and in the non-compactified shells; \ in the compactified outer domain.
Coord stdrdp
in the nucleus and in the non-compactified shells; \ in the compactified external domain (CED).
virtual void stdsdp(const Scalar &, Scalar &) const
Computes of a Scalar .
virtual void srdsdt(const Scalar &, Scalar &) const
Computes of a Scalar.
virtual void dsdt(const Scalar &, Scalar &) const
Computes of a Scalar .
virtual void dsdr(const Scalar &ci, Scalar &resu) const
Computes of a Scalar.
virtual void srstdsdp(const Scalar &, Scalar &) const
Computes of a Scalar.
Tensor field of valence 0 (or component of a tensorial field).
int get_dzpuis() const
Returns dzpuis.
virtual void set_etat_zero()
Sets the logical state to ETATZERO (zero).
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.
void set_spectral_base(const Base_val &)
Sets the spectral bases of the Valeur va.
Values and coefficients of a (real-value) function.
const Valeur & dsdp() const
Returns of *this.
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 ).
const Base_val & get_base() const
Return the bases for spectral expansions (member base ).
const Valeur & stdsdp() const
Returns of *this.
void set_base(const Base_val &)
Sets the bases for spectral expansions (member base ).
const Valeur & dsdt() const
Returns of *this.
void annule(int l)
Sets the Valeur to zero in a given domain.
Tbl & set(int l)
Read/write of the value in a given domain (configuration space).
const Valeur & dsdx() const
Returns of *this.
const Valeur & mult_x() const
Returns (r -sampling = RARE ) \ Id (r sampling = FIN ) \ (r -sampling = UNSURR ).
const Valeur & ssint() const
Returns of *this.
void coef() const
Computes the coeffcients of *this.
Base_val base
Bases on which the spectral expansion is performed.
const Map & get_mp() const
Returns the mapping.
void annule_domain(int l)
Sets the Tensor to zero in a given domain.