| 110 |
|
strcpy(shapeName, token); |
| 111 |
|
strcat(xyzFile, "Ref.xyz"); |
| 112 |
|
strcat(shapeFile, ".shape"); |
| 113 |
– |
strcat(shapeName, "_RB_0"); |
| 113 |
|
ofstream xfiles(xyzFile); |
| 114 |
|
|
| 115 |
|
//the bandwidth has a default value (default=16), so it is always given |
| 303 |
|
printf("Doing SHAPE calculations and outputting results...\n"); |
| 304 |
|
//do the transforms and write to the shapes file |
| 305 |
|
harmonize->doTransforms(sigmaGrid); |
| 306 |
< |
harmonize->printToShapesFile(shapeFile, 0); |
| 306 |
> |
harmonize->printToShapesFile(shapeFile, 0, tolerance); |
| 307 |
|
harmonize->doTransforms(sGrid); |
| 308 |
< |
harmonize->printToShapesFile(shapeFile, 1); |
| 308 |
> |
harmonize->printToShapesFile(shapeFile, 1, tolerance); |
| 309 |
|
harmonize->doTransforms(epsGrid); |
| 310 |
< |
harmonize->printToShapesFile(shapeFile, 2); |
| 310 |
> |
harmonize->printToShapesFile(shapeFile, 2, tolerance); |
| 311 |
|
|
| 312 |
|
//clean everything up |
| 313 |
|
harmonize->~SphereHarm(); |