105 assert(source.
get_etat() != ETATNONDEF) ;
106 assert(source.
get_mp()->get_mg() == mg) ;
107 assert(pot.
get_mp()->get_mg() == mg) ;
123 match = !(dzpuis == 5) ;
130 if (sourva.
get_etat() == ETATZERO) {
136 assert(sourva.
get_etat() == ETATQCQ) ;
140 rho = *(sourva.
c_cf) ;
146 Mtbl_cf resu = sol_poisson(*
this, *(rho.
c_cf), dzpuis, match) ;
170 assert(source.
get_etat() != ETATNONDEF) ;
171 assert(source.
get_mp()->get_mg() == mg) ;
172 assert(pot.
get_mp()->get_mg() == mg) ;
191 if (sourva.
get_etat() == ETATZERO) {
197 assert(sourva.
get_etat() == ETATQCQ) ;
201 rho = *(sourva.
c_cf) ;
208 Mtbl_cf resu = sol_poisson_tau(*
this, *(rho.
c_cf), dzpuis) ;
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 set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
int get_dzpuis() const
Returns dzpuis.
bool dz_nonzero() const
Returns true if the last domain is compactified and *this is not zero in this domain.
void set_etat_zero()
Sets the logical state to ETATZERO (zero).
void set_dzpuis(int)
Set a value to dzpuis.
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...
const Map * get_mp() const
Returns the mapping.
virtual void poisson(const Cmp &source, Param &par, Cmp &uu) const
Computes the solution of a scalar Poisson equation.
virtual void poisson_tau(const Cmp &source, Param &par, Cmp &uu) const
Computes the solution of a scalar Poisson equation using a Tau method.
Coefficients storage for the multi-domain spectral method.
Values and coefficients of a (real-value) function.
int get_etat() const
Returns the logical state.
void ylm()
Computes the coefficients of *this.
Mtbl_cf * c_cf
Coefficients of the spectral expansion of the function.
void coef() const
Computes the coeffcients of *this.
const Mg3d * get_mg() const
Returns the Mg3d on which the this is defined.