109 Mtbl_cf sol_poisson(
const Map_af&,
const Mtbl_cf&,
int,
bool match =
true) ;
110 Mtbl_cf sol_poisson_tau(
const Map_af&,
const Mtbl_cf&,
int) ;
115 assert(source.
get_etat() != ETATNONDEF) ;
133 match = !(dzpuis == 5) ;
140 if (sourva.
get_etat() == ETATZERO) {
146 assert(sourva.
get_etat() == ETATQCQ) ;
150 rho = *(sourva.
c_cf) ;
156 Mtbl_cf resu = sol_poisson(*
this, *(rho.c_cf), dzpuis, match) ;
180 assert(source.
get_etat() != ETATNONDEF) ;
201 if (sourva.
get_etat() == ETATZERO) {
207 assert(sourva.
get_etat() == ETATQCQ) ;
211 rho = *(sourva.
c_cf) ;
218 Mtbl_cf resu = sol_poisson_tau(*
this, *(rho.c_cf), dzpuis) ;
240 assert(source.
get_etat() != ETATNONDEF) ;
258 match = !(dzpuis == 5) ;
265 if (sourva.
get_etat() == ETATZERO) {
271 assert(sourva.
get_etat() == ETATQCQ) ;
275 rho = *(sourva.
c_cf) ;
281 Mtbl_cf resu = sol_poisson(*
this, *(rho.c_cf), dzpuis, match) ;
305 assert(source.
get_etat() != ETATNONDEF) ;
326 if (sourva.
get_etat() == ETATZERO) {
332 assert(sourva.
get_etat() == ETATQCQ) ;
336 rho = *(sourva.
c_cf) ;
343 Mtbl_cf resu = sol_poisson_tau(*
this, *(rho.c_cf), dzpuis) ;
const Map * get_mp() const
Returns the mapping.
Mtbl_cf * c_cf
Coefficients of the spectral expansion of the function.
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
void ylm_i()
Inverse of ylm()
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.
int get_etat() const
Returns the logical state.
Tensor field of valence 0 (or component of a tensorial field).
Values and coefficients of a (real-value) function.
int get_etat() const
Returns the logical state ETATNONDEF (undefined), ETATZERO (null) or ETATQCQ (ordinary).
virtual void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
void set_dzpuis(int)
Modifies the dzpuis flag.
const Mg3d * get_mg() const
Returns the Mg3d on which the this is defined.
int get_etat() const
Returns the logical state.
void set_etat_zero()
Sets the logical state to ETATZERO (zero).
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.
virtual void poisson(const Cmp &source, Param &par, Cmp &uu, bool verbose=true) const
Computes the solution of a scalar Poisson equation (Cmp version).
void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
virtual void poisson_tau(const Cmp &source, Param &par, Cmp &uu) const
Computes the solution of a scalar Poisson equation using a Tau method (Cmp version).
const Mg3d * mg
Pointer on the multi-grid Mgd3 on which this is defined.
bool dz_nonzero() const
Returns true if the last domain is compactified and *this is not zero in this domain.
int get_dzpuis() const
Returns dzpuis.
Coefficients storage for the multi-domain spectral method.
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)
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.
Valeur va
The numerical value of the Cmp.
const Valeur & get_spectral_va() const
Returns va (read only version)