ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/SHAPES/shaper.cpp
(Generate patch)

Comparing trunk/SHAPES/shaper.cpp (file contents):
Revision 1312 by chrisfen, Sat Jun 26 15:32:12 2004 UTC vs.
Revision 1316 by chrisfen, Mon Jun 28 23:07:18 2004 UTC

# Line 110 | Line 110 | int main(int argc, char* argv[]){
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
# Line 304 | Line 303 | int main(int argc, char* argv[]){
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();  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines