00001 #ifndef ALI3D_D_MPI_H
00002 #define ALI3D_D_MPI_H
00003
00004 #include "mpi.h"
00005 #include "emdata.h"
00006 #include "projector.h"
00007
00008 #include "alignoptions.h"
00009
00010 #ifndef PI
00011 #define PI 3.141592653589793
00012 #endif
00013
00014 using namespace EMAN;
00015
00016 std::vector<int> Numrinit(int first_ring, int last_ring, int skip = 1, std::string mode = "F");
00017
00018 std::vector<float> ringwe(std::vector<int> numr, std::string mode = "F");
00019
00020 int Applyws(EMData * circ, std::vector<int> numr, std::vector<float> wr);
00021
00022 EMData * recons3d_4nn(std::string stack_name, std::vector<int> list_proj, int npad = 4);
00023
00024 int ali3d_d(MPI_Comm comm, EMData*& volume, EMData** projdata, EMData** cleandata,
00025 float *angleshift, int nloc, AlignOptions& options, char* fname_base);
00026
00027 #endif // ALI3D_D_MPI_H