91void _mult_x_pas_prevu(
Tbl *,
int &) ;
92void _mult_x_r_chebp(
Tbl *,
int &) ;
93void _mult_x_r_chebi(
Tbl *,
int &) ;
94void _mult_x_r_chebpim_p(
Tbl *,
int &) ;
95void _mult_x_r_chebpim_i(
Tbl *,
int &) ;
96void _mult_xm1_cheb(
Tbl *,
int&) ;
97void _mult_x_identite (
Tbl *,
int &) ;
98void _mult_x_r_chebpi_p(
Tbl *,
int &) ;
99void _mult_x_r_chebpi_i(
Tbl *,
int &) ;
100void _mult_x_r_jaco02(
Tbl *,
int &) ;
101void _mult_x_r_legp(
Tbl *,
int &) ;
102void _mult_x_r_legi(
Tbl *,
int &) ;
103void _mult_x_r_cheb(
Tbl *,
int &) ;
111 assert(
etat != ETATNONDEF) ;
122 if (
etat == ETATZERO) {
126 assert(
etat == ETATQCQ) ;
161 _mult_x[i] = _mult_x_pas_prevu ;
181 assert(
etat == ETATQCQ) ;
185 for (
int l=0 ; l<
nzone ; l++) {
187 assert(
t[l] != 0x0) ;
188 _mult_x[base_r](
t[l],
base.b[l]) ;
195 if (
etat==ETATZERO) {
199 assert(
etat==ETATQCQ) ;
205 c_cf->mult_x_shell(lz) ;
221 if (
mg->get_type_r(lz) != FIN) {
222 cerr <<
"Mtbl_cf::mult_xp1_shell() : not called on a shell!" << endl ;
227 if (
etat==ETATZERO) {
231 assert(
etat==ETATQCQ) ;
233 _mult_x_r_cheb(
t[lz],
base.b[lz]) ;
Coefficients storage for the multi-domain spectral method.
Base_val base
Bases of the spectral expansions.
const Mg3d * mg
Pointer on the multi-grid Mgd3 on which this is defined.
int etat
Logical state (ETATNONDEF , ETATQCQ or ETATZERO ).
Tbl ** t
Array (size nzone ) of pointers on the Tbl 's which contain the spectral coefficients in each domain.
void mult_x()
(r -sampling = RARE ) \ Id (r sampling = FIN ) \ (r -sampling = UNSURR )
void mult_x_shell(int i)
Id (r sampling = RARE, UNSURR ) \ (r -sampling = FIN ).
int nzone
Number of domains (zones).
void set_etat_cf_qcq()
Sets the logical state to ETATQCQ (ordinary state) for values in the configuration space (Mtbl_cf c_c...
Valeur * p_mult_x
Pointer on .
Valeur(const Mg3d &mgrid)
Constructor.
void mult_x_shell(int index)
Applies the following operator to *this : \ Id (r sampling = RARE, UNSURR ) \ (r -sampling = FIN ) \...
const Mg3d * mg
Multi-grid Mgd3 on which this is defined.
const Valeur & mult_x() const
Returns (r -sampling = RARE ) \ Id (r sampling = FIN ) \ (r -sampling = UNSURR ).
Mtbl_cf * c_cf
Coefficients of the spectral expansion of the function.
void coef() const
Computes the coeffcients of *this.
Base_val base
Bases on which the spectral expansion is performed.
int etat
Logical state (ETATNONDEF , ETATQCQ or ETATZERO ).
#define R_LEGP
base de Legendre paire (rare) seulement
#define MAX_BASE
Nombre max. de bases differentes.
#define R_CHEBU
base de Chebychev ordinaire (fin), dev. en 1/r
#define R_JACO02
base de Jacobi(0,2) ordinaire (finjac)
#define R_LEGI
base de Legendre impaire (rare) seulement
#define R_CHEBI
base de Cheb. impaire (rare) seulement
#define MSQ_R
Extraction de l'info sur R.
#define R_CHEBPIM_I
Cheb. pair-impair suivant m, impair pour m=0.
#define R_CHEBPI_I
Cheb. pair-impair suivant l impair pour l=0.
#define R_LEG
base de Legendre ordinaire (fin)
#define R_CHEBPIM_P
Cheb. pair-impair suivant m, pair pour m=0.
#define TRA_R
Translation en R, used for a bitwise shift (in hex).
#define R_CHEB
base de Chebychev ordinaire (fin)
#define R_CHEBP
base de Cheb. paire (rare) seulement
#define R_CHEBPI_P
Cheb. pair-impair suivant l pair pour l=0.