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

Comparing trunk/OOPSE-2.0/src/brains/SimInfo.cpp (file contents):
Revision 1958 by tim, Tue Jan 25 21:59:18 2005 UTC vs.
Revision 1976 by tim, Fri Feb 4 22:44:15 2005 UTC

# Line 72 | Line 72 | SimInfo::SimInfo(std::vector<std::pair<MoleculeStamp*,
72                                  nGlobalIntegrableObjects_(0), nGlobalRigidBodies_(0),
73                                  nAtoms_(0), nBonds_(0),  nBends_(0), nTorsions_(0), nRigidBodies_(0),
74                                  nIntegrableObjects_(0),  nCutoffGroups_(0), nConstraints_(0),
75 <                                sman_(NULL), fortranInitialized_(false) {
75 >                                sman_(NULL), fortranInitialized_(false), selectMan_(NULL) {
76  
77              
78      std::vector<std::pair<MoleculeStamp*, int> >::iterator i;
# Line 137 | Line 137 | SimInfo::SimInfo(std::vector<std::pair<MoleculeStamp*,
137   #ifdef IS_MPI    
138      molToProcMap_.resize(nGlobalMols_);
139   #endif
140 <    
140 >
141 >    selectMan_ = new SelectionManager(nGlobalAtoms_ + nGlobalRigidBodies_);
142 >    selectMan_->selectAll();
143   }
144  
145   SimInfo::~SimInfo() {
# Line 148 | Line 150 | SimInfo::~SimInfo() {
150      delete sman_;
151      delete simParams_;
152      delete forceField_;
153 <
153 >    delete selectMan_;
154   }
155  
156   int SimInfo::getNGlobalConstraints() {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines