Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

emfft.cpp File Reference

#include <string>
#include <cstring>
#include "emfft.h"
#include "log.h"
#include <iostream>
#include "util.h"

Include dependency graph for emfft.cpp:

Include dependency graph

Go to the source code of this file.

Functions

int get_rank (int ny, int nz)

Variables

pthread_mutex_t fft_mutex = PTHREAD_MUTEX_INITIALIZER


Function Documentation

int get_rank int  ny,
int  nz
[static]
 

Definition at line 60 of file emfft.cpp.

References ny.

00061         {
00062                 int rank = 3;
00063                 if (ny == 1) {
00064                         rank = 1;
00065                 }
00066                 else if (nz == 1) {
00067                         rank = 2;
00068                 }
00069                 return rank;
00070         }


Variable Documentation

pthread_mutex_t fft_mutex = PTHREAD_MUTEX_INITIALIZER
 

Definition at line 75 of file emfft.cpp.


Generated on Tue Jun 11 13:46:41 2013 for EMAN2 by  doxygen 1.3.9.1