102 void _sx2_pas_prevu(Tbl *,
int &) ;
103 void _sx2_r_chebu(Tbl *,
int &) ;
104 void _sx2_r_chebp(Tbl *,
int &) ;
105 void _sx2_r_chebi(Tbl *,
int &) ;
106 void _sx2_r_chebpim_p(Tbl *,
int &) ;
107 void _sx2_r_chebpim_i(Tbl *,
int &) ;
108 void _sx2_identite (Tbl *,
int &) ;
109 void _sx2_r_chebpi_p(Tbl *,
int &) ;
110 void _sx2_r_chebpi_i(Tbl *,
int &) ;
111 void _sx2_r_legp(Tbl *,
int &) ;
112 void _sx2_r_legi(Tbl *,
int &) ;
120 assert(
etat != ETATNONDEF) ;
131 if (
etat == ETATZERO) {
135 assert(
etat == ETATQCQ) ;
170 _sx2[i] = _sx2_pas_prevu ;
189 assert(
etat == ETATQCQ) ;
192 for (
int l=0 ; l<
nzone ; l++) {
194 assert(
t[l] != 0x0) ;
195 _sx2[base_r](
t[l],
base.
b[l]) ;
Mtbl_cf * c_cf
Coefficients of the spectral expansion of the function.
void set_etat_cf_qcq()
Sets the logical state to ETATQCQ (ordinary state) for values in the configuration space (Mtbl_cf c_c...
void coef() const
Computes the coeffcients of *this.
void set_etat_zero()
Sets the logical state to ETATZERO (zero).
#define R_CHEBPI_I
Cheb. pair-impair suivant l impair pour l=0.
Values and coefficients of a (real-value) function.
#define R_LEGP
base de Legendre paire (rare) seulement
#define R_LEGI
base de Legendre impaire (rare) seulement
void sx2()
(r -sampling = RARE ) \ Id (r sampling = FIN ) \ (r -sampling = UNSURR )
#define TRA_R
Translation en R, used for a bitwise shift (in hex)
const Mg3d * mg
Multi-grid Mgd3 on which this is defined.
#define R_CHEBI
base de Cheb. impaire (rare) seulement
int etat
Logical state (ETATNONDEF , ETATQCQ or ETATZERO ).
#define R_CHEBP
base de Cheb. paire (rare) seulement
Base_val base
Bases on which the spectral expansion is performed.
int * b
Array (size: nzone ) of the spectral basis in each domain.
#define MSQ_R
Extraction de l'info sur R.
const Valeur & sx2() const
Returns (r -sampling = RARE ) \ Id (r sampling = FIN ) \ (r -sampling = UNSURR ) ...
Valeur(const Mg3d &mgrid)
Constructor.
#define R_CHEBPIM_I
Cheb. pair-impair suivant m, impair pour m=0.
#define R_CHEBPIM_P
Cheb. pair-impair suivant m, pair pour m=0.
int nzone
Number of domains (zones)
#define R_CHEBPI_P
Cheb. pair-impair suivant l pair pour l=0.
Valeur * p_sx2
Pointer on .
Coefficients storage for the multi-domain spectral method.
Base_val base
Bases of the spectral expansions.
int etat
Logical state (ETATNONDEF , ETATQCQ or ETATZERO ).
#define R_CHEBU
base de Chebychev ordinaire (fin), dev. en 1/r
#define MAX_BASE
Nombre max. de bases differentes.
Tbl ** t
Array (size nzone ) of pointers on the Tbl 's which contain the spectral coefficients in each domain...
#define R_LEG
base de Legendre ordinaire (fin)
#define R_CHEB
base de Chebychev ordinaire (fin)