00001 00010 #ifndef __UIUC_CHARM_PARALLELTRANSFER_H 00011 #define __UIUC_CHARM_PARALLELTRANSFER_H 00012 00013 #include "collidec.h" 00014 #include "mpi.h" 00015 00017 typedef double xfer_t; 00018 #define PARALLELTRANSFER_MPI_DTYPE MPI_DOUBLE 00019 #define PARALLELTRANSFER_MPI_TAG 0xDA7A 00020 00027 void ParallelTransfer(collide_t voxels, MPI_Comm mpi_comm, int valsPerTet, 00028 int valsPerPt, const xfer_t *srcTet, const xfer_t *srcPt, 00029 const TetMesh &srcMesh, xfer_t *destTet, xfer_t *destPt, 00030 const TetMesh &destMesh); 00031 00032 #endif