Snoopy Version 6.0 (Albert)
snoopy.h File Reference
#include <math.h>
#include <complex.h>
#include <fftw3.h>
#include "gvars.h"
#include "error.h"
Include dependency graph for snoopy.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Field
struct  VarName
struct  Parameters

Defines

#define MPI_Printf   printf
#define NPROC   1
#define NTOTAL   NX * NY * NZ
#define NX_COMPLEX   NX
#define NY_COMPLEX   NY
#define NZ_COMPLEX   (NZ / 2 + 1)
#define NTOTAL_COMPLEX   (NX_COMPLEX * NY_COMPLEX * NZ_COMPLEX / NPROC)
#define IDX3D   (k + j * NZ_COMPLEX + NZ_COMPLEX * NY_COMPLEX * i)
#define OUTPUT_DUMP   "dump.dmp"
#define OUTPUT_DUMP_SAV   "dump_sav.dmp"
#define OUTPUT_DUMP_WRITE   "dump_write.dmp"

Define Documentation

#define IDX3D   (k + j * NZ_COMPLEX + NZ_COMPLEX * NY_COMPLEX * i)

General wrapper for 3D Arrays

#define MPI_Printf   printf
#define NPROC   1
#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

#define NX_COMPLEX   NX

Number of complex point in X over all the processes (Fourier space)

#define NY_COMPLEX   NY

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"

Dump files filename.

#define OUTPUT_DUMP_SAV   "dump_sav.dmp"

Previous (saved) output dump.

#define OUTPUT_DUMP_WRITE   "dump_write.dmp"

dump currently written.