Changeset 2f6ae6
- Timestamp:
- Apr 25, 2008, 10:31:15 AM (17 years ago)
- Children:
- 941b66
- Parents:
- 201832
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pcp/src/perturbed.c
r201832 r2f6ae6 3289 3289 fprintf(SigmaFile,"%lg\t%lg\t%lg\t%lg\t%lg\t\n", iso, delta_sigma, eta, S, A); 3290 3290 fclose(SigmaFile); 3291 sprintf(suffixsigma, ".sigma_all_PAS.csv"); 3292 if (Lev0->LevelNo == 0) { 3293 if ((it == 0) && (ion == 0)) { // if we are the first ion 3294 OpenFile(P, &SigmaFile, suffixsigma, "w", P->Call.out[ReadOut]); 3295 fprintf(SigmaFile,"# chemical shielding tensor sigma[00,11,22] Principal Axis System, Ecut %lg, seed %i, config %s, run on %s", Lev0->ECut/4., R->Seed, P->Files.default_path, ctime(&seconds)); 3296 fprintf(SigmaFile,"# Element\tIonNr.\tSigma_XX\tSigma_YY\tSigma_ZZ\tShielding\tanisotropy\tasymmetry\tS\t\tA\n"); 3297 } else 3298 OpenFile(P, &SigmaFile, suffixsigma, "a", P->Call.out[ReadOut]); 3299 fprintf(SigmaFile,"%i\t%i\t", it, ion); // ion type and ion number 3300 for (i=0;i<NDIM;i++) 3301 fprintf(SigmaFile,"%lg\t", gsl_vector_get(eval,i)); 3302 fprintf(SigmaFile,"%lg\t%lg\t%lg\t%lg\t%lg\t\n", iso, delta_sigma, eta, S, A); 3303 fclose(SigmaFile); 3304 } 3291 3305 } 3292 3306 }
Note:
See TracChangeset
for help on using the changeset viewer.