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

ComputeGlobalMsgs.C

Go to the documentation of this file.
00001 
00007 #include "ComputeGlobalMsgs.h"
00008 #include "packmsg.h"
00009 
00010 //#define DEBUGM
00011 #define MIN_DEBUG_LEVEL 3
00012 #include "Debug.h"
00013 
00014 #include "ComputeMgr.decl.h"
00015 
00016 
00017 // CONFIG MESSAGE
00018 
00019 ComputeGlobalConfigMsg::ComputeGlobalConfigMsg(void) { 
00020 }
00021 
00022 ComputeGlobalConfigMsg::~ComputeGlobalConfigMsg(void) { 
00023 }
00024 
00025 PACK_MSG(ComputeGlobalConfigMsg,
00026   PACK_RESIZE(aid);
00027   PACK_RESIZE(gdef);
00028 )
00029 
00030 
00031 // DATA MESSAGE
00032 
00033 ComputeGlobalDataMsg::ComputeGlobalDataMsg(void) { 
00034 }
00035 
00036 ComputeGlobalDataMsg::~ComputeGlobalDataMsg(void) { 
00037 }
00038 
00039 PACK_MSG(ComputeGlobalDataMsg,
00040   PACK(step);
00041   PACK_RESIZE(aid);
00042   PACK_RESIZE(p);
00043   PACK_RESIZE(gcom);
00044   PACK_RESIZE(fid);
00045   PACK_RESIZE(tf);
00046 )
00047 
00048 
00049 // RESULTS MESSAGE
00050 
00051 ComputeGlobalResultsMsg::ComputeGlobalResultsMsg(void) { 
00052   reconfig = 0;
00053   resendCoordinates = 0;
00054 }
00055 
00056 ComputeGlobalResultsMsg::~ComputeGlobalResultsMsg(void) { 
00057 }
00058 
00059 PACK_MSG(ComputeGlobalResultsMsg,
00060   PACK_RESIZE(aid);
00061   PACK_RESIZE(f);
00062   PACK_RESIZE(gforce);
00063   PACK(reconfig);
00064   PACK(resendCoordinates);
00065   if ( packmsg_msg->reconfig ) {
00066     PACK_RESIZE(newaid);
00067     PACK_RESIZE(newgdef);
00068   }
00069 )

Generated on Mon Oct 13 04:07:40 2008 for NAMD by  doxygen 1.3.9.1