11 |
|
|
12 |
|
using namespace std; |
13 |
|
|
14 |
< |
#include "Restraints.hpp" |
15 |
< |
#include "SimInfo.hpp" |
16 |
< |
#include "simError.h" |
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 |
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) { |