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

Comparing trunk/OOPSE-2.0/src/restraints/Restraints.cpp (file contents):
Revision 1537 by gezelter, Wed Oct 6 21:27:21 2004 UTC vs.
Revision 1731 by chrisfen, Thu Nov 11 21:47:25 2004 UTC

# Line 14 | Line 14 | using namespace std;
14   #include "restraints/Restraints.hpp"
15   #include "brains/SimInfo.hpp"
16   #include "utils/simError.h"
17 + #include "io/basic_ifstrstream.hpp"
18  
19   #define PI 3.14159265359
20   #define TWO_PI 6.28318530718
# Line 305 | Line 306 | void Restraints::Store_Init_Info(vector<StuntDouble*>
306    strcpy(fileName, "idealCrystal.in");
307    strcpy(angleName, "zAngle.ang");
308    
309 <  ifstream crystalIn(fileName);
310 <  ifstream angleIn(angleName);
309 >  ifstrstream crystalIn(fileName);
310 >  ifstrstream angleIn(angleName);
311  
312    // check to see if these files are present in the execution directory
313    if (!crystalIn) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines