/*@@ @file SetupComm.C @date 02/09/99 @author Manish Parashar @desc @enddesc @@*/ #define _cplusplus #include "cctk.h" #include "cctk_Flesh.h" #include "cctk_Groups.h" #include "GrACE_extension.h" #include "GrACEDefs.h" // What do I do with group... ? void SyncGrACEGroup(GrACEGH* ggh, const int grpid) { List& gflist = ggh->theGFS[grpid]->gflist; const int t = ggh->time; const int l = ggh->level; const int ident = ggh->grid_ident; Sync(gflist,t,l,ident); } void GrACEBarrier(GrACEGH* ggh) { comm_service::barrier(); } void ShutDownGrACE() { #ifdef MPI if (comm_service::dce()) DAGHMPI_Finalize(); #else exit(2); #endif }