41 assert (uu.
get_etat() != ETATNONDEF) ;
77 tmp_ced.
set(nzm1) -= dzp * uuva(nzm1) ;
97 assert (ci.
get_etat() != ETATNONDEF) ;
105 assert( ci.
get_etat() == ETATQCQ ) ;
127 resu = stdfdp - adfdx ;
142 assert (uu.
get_etat() != ETATNONDEF) ;
150 assert( uu.
get_etat() == ETATQCQ ) ;
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 ;
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) ;
241 assert( ci.
get_etat() == ETATQCQ ) ;
263 resu = dfdt - adfdx ;
272 assert (uu.
get_etat() != ETATNONDEF) ;
280 assert( uu.
get_etat() == ETATQCQ ) ;
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 ;
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 ;
void annule_domain(int l)
Sets the Tensor to zero in a given domain.
const Valeur & dsdt() const
Returns of *this.
const Valeur & dsdx() const
Returns of *this.
void coef() const
Computes the coeffcients of *this.
virtual void set_etat_zero()
Sets the logical state to ETATZERO (zero).
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).
const Valeur & dsdp() const
Returns of *this.
void mult_xm1_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 ) ...
const Scalar & dsdx() const
Returns of *this , where .
Values and coefficients of a (real-value) function.
virtual void srdsdt(const Scalar &, Scalar &) const
Computes of a Scalar.
int get_etat() const
Returns the logical state ETATNONDEF (undefined), ETATZERO (null) or ETATQCQ (ordinary).
void annule(int l)
Sets the Valeur to zero in a given domain.
void set_base(const Base_val &)
Sets the bases for spectral expansions (member base )
Coord srstdrdp
in the nucleus and in the non-compactified shells; \ in the compactified outer domain.
void set_dzpuis(int)
Modifies the dzpuis flag.
const Valeur & mult_x() const
Returns (r -sampling = RARE ) \ Id (r sampling = FIN ) \ (r -sampling = UNSURR ) ...
Coord stdrdp
in the nucleus and in the non-compactified shells; \ in the compactified external domain (CED)...
const Valeur & ssint() const
Returns of *this.
Coord dxdr
in the nucleus and in the non-compactified shells; \ in the compactified outer domain.
Base_val base
Bases on which the spectral expansion is performed.
int get_dzpuis() const
Returns dzpuis.
const Valeur & stdsdp() const
Returns of *this.
int get_nzone() const
Returns the number of domains.
Coord xsr
in the nucleus; \ 1/R 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)...
void set_spectral_base(const Base_val &)
Sets the spectral bases of the Valeur va
const Mg3d * mg
Pointer on the multi-grid Mgd3 on which this is defined.
Bases of the spectral expansions.
virtual void stdsdp(const Scalar &, Scalar &) const
Computes of a Scalar .
virtual void srstdsdp(const Scalar &, Scalar &) const
Computes of a Scalar.
virtual void dsdr(const Scalar &ci, Scalar &resu) const
Computes of a Scalar.
Valeur & set_spectral_va()
Returns va (read/write version)
int get_type_r(int l) const
Returns the type of sampling in the radial direction in domain no.
Coord srdrdt
in the nucleus and in the non-compactified shells; \ in the compactified outer domain.
const Map & get_mp() const
Returns the mapping.
const Valeur & get_spectral_va() const
Returns va (read only version)
const Base_val & get_base() const
Return the bases for spectral expansions (member base )
Tbl & set(int l)
Read/write of the value in a given domain (configuration space).
virtual void dsdt(const Scalar &, Scalar &) const
Computes of a Scalar .