80 assert (uu.
get_etat() != ETATNONDEF) ;
102 if ( zec && (zec_mult_r != 4) ) {
103 cout <<
"Map_et::laplacien : the case zec_mult_r = " <<
104 zec_mult_r <<
" is not implemented !" << endl ;
127 sxlapang = sxlapang.
lapang() ;
129 sxlapang = sxlapang.
sx() ;
149 vresu = double(2) *
dxdr * varduudx +
xsr * sxlapang ;
161 sauve_base = d2uudx2.
base ;
185 assert (uu.
get_etat() != ETATNONDEF) ;
195 assert( uu.
get_etat() == ETATQCQ ) ;
207 if ( zec && (zec_mult_r != 4) ) {
208 cout <<
"Map_et::laplacien : the case zec_mult_r = " <<
209 zec_mult_r <<
" is not implemented !" << endl ;
232 sxlapang = sxlapang.
lapang() ;
234 sxlapang = sxlapang.
sx() ;
254 vresu = double(2) *
dxdr * varduudx +
xsr * sxlapang ;
266 sauve_base = d2uudx2.
base ;
288 cout <<
"Map_et::lapang : not implemented yet!" << endl ;
const Map * get_mp() const
Returns the mapping.
Coord d2rdx2
in the nucleus and in the non-compactified shells; \ in the compactified outer domain.
const Valeur & dsdt() const
Returns of *this.
Coord sr2stdrdp
in the nucleus and in the non-compactified shells; \ in the compactified outer domain.
const Valeur & dsdx() const
Returns of *this.
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
const Valeur & lapang() const
Returns the angular Laplacian of *this.
virtual void set_etat_zero()
Sets the logical state to ETATZERO (zero).
void ylm()
Computes the coefficients of *this.
const Mg3d * get_mg() const
Gives the Mg3d on which the mapping is defined.
int get_etat() const
Returns the logical state.
Coord sr2drdt
in the nucleus and in the non-compactified shells; \ in the compactified outer domain.
Tensor field of valence 0 (or component of a tensorial field).
const Valeur & sx() const
Returns (r -sampling = RARE ) \ Id (r sampling = FIN ) \ (r -sampling = UNSURR ) ...
Values and coefficients of a (real-value) function.
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.
virtual void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
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.
const Valeur & d2sdx2() const
Returns of *this.
void set_dzpuis(int)
Modifies the dzpuis flag.
void set_etat_zero()
Sets the logical state to ETATZERO (zero).
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.
virtual void laplacien(const Scalar &uu, int zec_mult_r, Scalar &lap) const
Computes the Laplacian of a scalar field.
const Valeur & stdsdp() const
Returns of *this.
int get_nzone() const
Returns the number of domains.
Coord sstd2rdpdx
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...
void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
const Mg3d * mg
Pointer on the multi-grid Mgd3 on which this is defined.
Bases of the spectral expansions.
Coord lapr_tp
in the nucleus and in the non-compactified shells; \ in the compactified outer domain.
bool check_dzpuis(int dzi) const
Returns false if the last domain is compactified and *this is not zero in this domain and dzpuis is n...
void set_dzpuis(int)
Set a value to dzpuis.
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.
bool check_dzpuis(int dzi) const
Returns false if the last domain is compactified and *this is not zero in this domain and dzpuis is n...
Coord srdrdt
in the nucleus and in the non-compactified shells; \ in the compactified outer domain.
const Map & get_mp() const
Returns the mapping.
virtual void lapang(const Scalar &uu, Scalar &lap) const
Computes the angular Laplacian of a scalar field.
Valeur va
The numerical value of the Cmp.
const Valeur & get_spectral_va() const
Returns va (read only version)
Coord d2rdtdx
in the nucleus and in the non-compactified shells; \ in the compactified outer domain.