- Timestamp:
- Apr 25, 2011, 5:26:32 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20110404/psphot/src/psphotFitSourcesLinear.c
r31313 r31381 267 267 } 268 268 } 269 270 # if (0) 271 static int npass = 0; 272 char name[128]; 273 FILE *f1 = NULL; 274 int fd = -1; 275 276 snprintf (name, 128, "sparse.Aij.%02d.dat", npass); 277 f1 = fopen (name, "w"); 278 psAssert (f1, "failed to open file\n"); 279 fd = fileno (f1); 280 p_psVectorPrint (fd, sparse->Aij, "Aij"); 281 fclose (f1); 282 283 snprintf (name, 128, "sparse.Bfj.%02d.dat", npass); 284 f1 = fopen (name, "w"); 285 psAssert (f1, "failed to open file\n"); 286 fd = fileno (f1); 287 p_psVectorPrint (fd, sparse->Bfj, "Bfj"); 288 fclose (f1); 289 290 snprintf (name, 128, "sparse.Qii.%02d.dat", npass); 291 f1 = fopen (name, "w"); 292 psAssert (f1, "failed to open file\n"); 293 fd = fileno (f1); 294 p_psVectorPrint (fd, sparse->Qii, "Qii"); 295 fclose (f1); 296 npass ++; 297 # endif 269 298 270 299 psSparseResort (sparse);
Note:
See TracChangeset
for help on using the changeset viewer.
