#include <math.h>
#include <complex.h>
#include <fftw3.h>
#include "gvars.h"
#include "error.h"
Go to the source code of this file.
Define Documentation
#define IDX3D (k + j * NZ_COMPLEX + NZ_COMPLEX * NY_COMPLEX * i) |
General wrapper for 3D Arrays
#define MPI_Printf printf |
#define NTOTAL NX * NY * NZ |
Total number of grid points over all the processors
#define NTOTAL_COMPLEX (NX_COMPLEX * NY_COMPLEX * NZ_COMPLEX / NPROC) |
Number of complex points in one MPI process
Number of complex point in X over all the processes (Fourier space)
Number of complex point in Y over all the processes (Fourier space)
#define NZ_COMPLEX (NZ / 2 + 1) |
Number of complex point in Z over all the processes (Fourier space)
#define OUTPUT_DUMP "dump.dmp" |
#define OUTPUT_DUMP_SAV "dump_sav.dmp" |
Previous (saved) output dump.
#define OUTPUT_DUMP_WRITE "dump_write.dmp" |