#include "fft_timer.h"
#include <complex.h>
#include <omp.h>
#include <stdio.h>
#include <string.h>
Go to the source code of this file.
|
| static int | fft_team_size (void) |
| | Returns the number of threads used for FFT planning. Outside an OpenMP parallel region the maximum number of threads is used. Inside a parallel region a single thread is used to avoid nested parallelism and concurrently executed shared plans.
|
| static int | imin (int x, int y) |
| | Returns the smaller of two given integer (missing from the C standard).
|
| static int | imax (int x, int y) |
| | Returns the larger of two given integer (missing from the C standard).
|
| static double | dmin (double x, double y) |
| | Returns the smaller of two given integer (missing from the C standard).
|
| static double | dmax (double x, double y) |
| | Returns the larger of two given integer (missing from the C standard).
|
| static int | modulo (int a, int m) |
| | Equivalent of Fortran's MODULO which always returns a positive number. https://gcc.gnu.org/onlinedocs/gfortran/MODULO.html.
|
| static long int | product3 (const int array3[3]) |
| | Calculates the product of three numbers.
|
◆ FFT_FORWARD
◆ FFT_BACKWARD
◆ fft_team_size()
| int fft_team_size |
( |
void | | ) |
|
|
inlinestatic |
Returns the number of threads used for FFT planning. Outside an OpenMP parallel region the maximum number of threads is used. Inside a parallel region a single thread is used to avoid nested parallelism and concurrently executed shared plans.
- Author
- Frederick Stein
Definition at line 27 of file fft_utils.h.
◆ imin()
| int imin |
( |
int | x, |
|
|
int | y ) |
|
inlinestatic |
Returns the smaller of two given integer (missing from the C standard).
- Author
- Ole Schuett
Definition at line 35 of file fft_utils.h.
◆ imax()
| int imax |
( |
int | x, |
|
|
int | y ) |
|
inlinestatic |
Returns the larger of two given integer (missing from the C standard).
- Author
- Ole Schuett
Definition at line 41 of file fft_utils.h.
◆ dmin()
| double dmin |
( |
double | x, |
|
|
double | y ) |
|
inlinestatic |
Returns the smaller of two given integer (missing from the C standard).
- Author
- Frederick Stein
Definition at line 47 of file fft_utils.h.
◆ dmax()
| double dmax |
( |
double | x, |
|
|
double | y ) |
|
inlinestatic |
Returns the larger of two given integer (missing from the C standard).
- Author
- Frederick Stein
Definition at line 53 of file fft_utils.h.
◆ modulo()
| int modulo |
( |
int | a, |
|
|
int | m ) |
|
inlinestatic |
◆ product3()
| long int product3 |
( |
const int | array3[3] | ) |
|
|
inlinestatic |
Calculates the product of three numbers.
- Author
- Frederick Stein
Definition at line 66 of file fft_utils.h.