# | 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]) { |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |