ComputeDPMEMsgs.C

Go to the documentation of this file.
00001 
00007 #include "ComputeDPMEMsgs.h"
00008 #include "packmsg.h"
00009 
00010 //#define DEBUGM
00011 #define MIN_DEBUG_LEVEL 3
00012 #include "Debug.h"
00013 
00014 // DATA MESSAGE
00015 
00016 ComputeDPMEDataMsg::ComputeDPMEDataMsg(void) { 
00017   numParticles = 0;
00018   particles = 0;
00019 }
00020 
00021 ComputeDPMEDataMsg::~ComputeDPMEDataMsg(void) { 
00022   delete [] particles;
00023 }
00024 
00025 PACK_MSG(ComputeDPMEDataMsg,
00026   PACK(node);
00027   PACK_AND_NEW_ARRAY(particles,numParticles);
00028 )
00029 
00030 
00031 // RESULTS MESSAGE
00032 
00033 ComputeDPMEResultsMsg::ComputeDPMEResultsMsg(void) { 
00034   numParticles = 0;
00035   forces = 0;
00036 }
00037 
00038 ComputeDPMEResultsMsg::~ComputeDPMEResultsMsg(void) { 
00039   delete [] forces;
00040 }
00041 
00042 PACK_MSG(ComputeDPMEResultsMsg,
00043   PACK(node);
00044   PACK_AND_NEW_ARRAY(forces,numParticles);
00045 )
00046 

Generated on Sat Nov 18 01:17:12 2017 for NAMD by  doxygen 1.4.7