ExaDG
|
#include <spectrum.h>
Public Member Functions | |
SpectralAnalysis (MPI_Comm const &comm, Setup &s) | |
int | indices_proc_rows (int i) |
void | getLocalRange (int &start, int &end) |
void | init () |
~SpectralAnalysis () | |
void | execute () |
void | calculate_energy () |
void | calculate_energy_spectrum () |
int | get_results (double *&K, double *&E, double *&C, double &e_d, double &e_s) |
void | serialize (char const *filename) |
void | deserialize (char *&filename) |
Public Attributes | |
int | bsize |
double * | u_real |
Class wrapping FFTW and performing energy spectral analysis.
|
inline |
Constructor
s | DEAL.SPECTRUM setup |
|
inline |
Destructor
|
inline |
Perform spectral analysis
|
inline |
Read arrays from file
filename | name of file |
|
inline |
Perform FFT with FFTW
|
inline |
Access spectral analysis results in table format
kappa | kappa |
E | energy |
|
inline |
Get process local range of rows/plane this process owns
start | start point |
end | end point |
|
inline |
Determines rank of process owning specified row (2D) or plane (3D)
i | position on sfc |
|
inline |
Initialize data structures
|
inline |
Write arrays to file
filename | name of file |