00001 #ifndef UTILCOMM_CART_H 00002 #define UTILCOMM_CART_H 00003 00004 #include "mpi.h" 00005 #include "stdlib.h" 00006 #include "emdata.h" 00007 #include "alignoptions.h" 00008 00009 using namespace EMAN; 00010 00011 int ReadStackandDist_Cart(MPI_Comm comm, EMData ***images2D, char *stackfname, int *nloc); 00012 int CleanStack_Cart(MPI_Comm comm, EMData ** image_stack, int nloc, int ri, Vec3i volsize, Vec3i origin); 00013 int ReadAngTrandDist_Cart(MPI_Comm comm_2d, MPI_Comm comm_row, int *dim, float *angleshift, char *angfname, int nloc); 00014 int setpart_gc1(MPI_Comm comm_2d, int nangs, int *psize, int *nbase); 00015 int setpart_gr1(MPI_Comm comm_2d, int nnz, int *nnzpart, int *nnzbase); 00016 00017 int sphpart(MPI_Comm comm_2d, int nrays, int *ptrs, int *nnzbase, int *ptrstart); 00018 int getcb2sph(Vec3i volsize, int ri, Vec3i origin, int nnz0, int *ptrs, int *cord); 00019 00020 int fwdpj3_Cart(Vec3i volsize, int nraysloc, int nnzloc, float *dm, Vec3i origin, int ri, int *ptrs, int *cord, int myptrstart, float *x, float *y); 00021 00022 int bckpj3_Cart(Vec3i volsize, int nraysloc, int nnzloc, float *dm, Vec3i origin, int ri, int *ptrs, int *cord, int myptrstart, float *x, float *y); 00023 00024 00025 #endif // UTILCOMM_CART_H 00026