| 176 |
|
|
| 177 |
|
createMdFile(inputFileName, outputFileName, Points.size()); |
| 178 |
|
|
| 179 |
< |
if (oldInfo != NULL) |
| 180 |
< |
delete oldInfo; |
| 179 |
> |
delete oldInfo; |
| 180 |
|
|
| 181 |
|
SimCreator newCreator; |
| 182 |
|
SimInfo* NewInfo = newCreator.createSim(outputFileName, false); |
| 194 |
|
Vector3d boxMax; |
| 195 |
|
Vector3d boxMin; |
| 196 |
|
|
| 197 |
< |
for (int n = 0; n < Points.size(); n++) { |
| 197 |
> |
for (unsigned int n = 0; n < Points.size(); n++) { |
| 198 |
|
mol = NewInfo->getMoleculeByGlobalIndex(l); |
| 199 |
|
Vector3d location = Points[n] * latticeConstant; |
| 200 |
|
Vector3d orientation = Vector3d(0, 0, 1.0); |
| 201 |
< |
|
| 201 |
> |
|
| 202 |
|
if (n == 0) { |
| 203 |
|
boxMax = location; |
| 204 |
|
boxMin = location; |