132 fftw_plan back_fft(
int, Tbl*&) ;
135 void cipcossin(
const int* deg,
const int* dimc,
const int* dimf,
136 double* cf,
double* ff)
152 cout <<
"cipcossin: np+2 > n1c : np = " << np <<
" , n1c = " 158 cout <<
"cipcossin: np > n1f : np = " << np <<
" , n1f = " 164 cout <<
"cipcossin: n3f > n3c : n3f = " << n3f <<
" , n3c = " 170 cout <<
"cipcossin: n2f > n2c : n2f = " << n2f <<
" , n2c = " 178 fftw_plan p = back_fft(np, pg) ;
181 int n2n3c = n2c*n3c ;
182 int n2n3f = n2f*n3f ;
186 for (
int j=0; j<n2c; j++) {
187 for (
int k=0; k<n3c; k++) {
188 index = n3c * j + k ;
189 double* debut = cf + index ;
192 for (
int i=1; i<np/2; i++) {
194 g.set(i) = 0.5 * (*debut) ; debut += n2n3c ;
195 g.set(isym) = -0.5 * (*debut) ; debut += n2n3c ;
197 g.set(np/2) = *debut ;
204 if ((j<n2f) && (k<n3f)) {
205 debut = ff + n3f * j + k ;
206 for (
int i=0; i<np; i++) {