ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/branches/new_design/OOPSE-4/src/brains/SimCreator.cpp
(Generate patch)

Comparing branches/new_design/OOPSE-4/src/brains/SimCreator.cpp (file contents):
Revision 1902 by tim, Thu Dec 16 17:27:47 2004 UTC vs.
Revision 1903 by tim, Thu Jan 6 00:16:07 2005 UTC

# Line 80 | Line 80 | SimInfo*  SimCreator::createSim(const std::string & md
80  
81   }
82  
83 < SimInfo*  SimCreator::createSim(const std::string & mdFileName) {
83 > SimInfo*  SimCreator::createSim(const std::string & mdFileName, bool loadInitCoords) {
84      
85      MakeStamps * stamps = new MakeStamps();
86  
# Line 161 | Line 161 | SimInfo*  SimCreator::createSim(const std::string & md
161  
162      //load initial coordinates, some extra information are pushed into SimInfo's property map ( such as
163      //eta, chi for NPT integrator)
164 <    loadCoordinates(info);    
164 >    if (loadInitCoords)
165 >        loadCoordinates(info);    
166 >    
167      return info;
168   }
169  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines