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 2114 by tim, Thu Mar 10 23:56:42 2005 UTC vs.
Revision 2116 by tim, Fri Mar 11 15:00:20 2005 UTC

# Line 697 | Line 697 | void SimInfo::setupFortranSim() {
697      }
698      
699      //setup fortran simulation
700    //gloalExcludes and molMembershipArray should go away (They are never used)
701    //why the hell fortran need to know molecule?
702    //OOPSE = Object-Obfuscated Parallel Simulation Engine
700      int nGlobalExcludes = 0;
701      int* globalExcludes = NULL;
702      int* excludeList = exclude_.getExcludeList();
# Line 887 | Line 884 | void SimInfo::setSnapshotManager(SnapshotManager* sman
884   }
885  
886   void SimInfo::setSnapshotManager(SnapshotManager* sman) {
887 <    //if (sman_ == sman_) {
888 <    //    return;
889 <    //}
890 <    
894 <    //delete sman_;
887 >    if (sman_ == sman) {
888 >        return;
889 >    }    
890 >    delete sman_;
891      sman_ = sman;
892  
893      Molecule* mol;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines