|
typedef double | fft_rt |
|
typedef fftw_complex | fft_ct |
|
|
template<typename IT > |
void | Initialize (IT nx, IT ny, IT nz) |
| Initialize a fourier class instance. More...
|
|
template<typename IT > |
void | Initialize_1D (IT n) |
|
void | execute_f_r2c () |
|
void | execute_f_c2r () |
|
template<typename RT , typename IOT > |
void | powerDump (RT *in, IOT *iodata) |
| Compute a power spectrum and write to file. More...
|
|
template<typename IT , typename RT > |
void | inverseLaplacian (RT *field) |
|
|
fft_ct * | f_field |
|
fft_rt * | double_field |
|
fftw_plan | p_c2r |
|
fftw_plan | p_r2c |
|
template<typename IT >
void cosmo::Fourier::Initialize |
( |
IT |
nx, |
|
|
IT |
ny, |
|
|
IT |
nz |
|
) |
| |
Initialize a fourier class instance.
Create fftw plans, allocate memory
- Parameters
-
nx | points in x-direction |
ny | points in y-direction |
nz | points in z-direction |
template<typename RT , typename IOT >
void cosmo::Fourier::powerDump |
( |
RT * |
in, |
|
|
IOT * |
iodata |
|
) |
| |
Compute a power spectrum and write to file.
- Parameters
-
in | Grid to compute the spectrum of |
iodata | reference to data structure containing output directory information, iodata->dir() |
The documentation for this class was generated from the following files: