ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/SimInfo.cpp
(Generate patch)

Comparing trunk/OOPSE/libmdtools/SimInfo.cpp (file contents):
Revision 1233 by chrisfen, Wed Jun 2 14:56:18 2004 UTC vs.
Revision 1234 by tim, Fri Jun 4 03:15:31 2004 UTC

# Line 14 | Line 14 | using namespace std;
14  
15   #include "MatVec3.h"
16  
17 + #include "ConstraintManager.hpp"
18 +
19   #ifdef IS_MPI
20   #include "mpiSimulation.hpp"
21   #endif
# Line 76 | Line 78 | SimInfo::SimInfo(){
78  
79    ngroup = 0;
80  
81 +  consMan = NULL;
82 +  
83    wrapMeSimInfo( this );
84   }
85  
# Line 88 | Line 92 | SimInfo::~SimInfo(){
92    
93    for(i = properties.begin(); i != properties.end(); i++)
94      delete (*i).second;
95 <  
95 >
96 >  if (!consMan)
97 >    delete consMan;  
98   }
99  
100   void SimInfo::setBox(double newBox[3]) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines