Changeset fa2d7d
- Timestamp:
- Oct 17, 2008, 1:22:38 PM (17 years ago)
- Children:
- f5d7e1
- Parents:
- f89a9e
- Location:
- molecuilder/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/analyzer.cpp
rf89a9e rfa2d7d 390 390 if (periode != NULL) { // also look for PAS values 391 391 if(!OpenOutputFile(output, argv[3], "ShieldingsPAS-Order.pyx")) return 1; 392 if(!OpenOutputFile(output2, argv[3], "DeltaShieldingsPAS-Order.pyx")) return 1; 392 393 CreatePlotHeader(output, "ShieldingsPAS-Order", 1, "top right", NULL, NULL, 1, 5, "nuclei index", "iso chemical shielding value [ppm]"); 394 CreatePlotHeader(output2, "DeltaShieldingsPAS-Order", 1, "top right", NULL, NULL, 1, 5, "nuclei index", "iso chemical shielding value [ppm]"); 393 395 double step=0.8/KeySet.Order; 394 396 output << "set boxwidth " << step << endl; 395 397 output << "plot [0:" << ShieldingPAS.RowCounter[ShieldingPAS.MatrixCounter]+10 << "]\\" << endl; 398 output2 << "plot [0:" << ShieldingPAS.RowCounter[ShieldingPAS.MatrixCounter]+10 << "]\\" << endl; 396 399 for (int BondOrder=0;BondOrder<KeySet.Order;BondOrder++) { 397 400 output << "'ShieldingsPAS-Order.dat' index " << BondOrder << " title 'Order " << BondOrder+1 << "' using ($1+" << step*(double)BondOrder << "):7 with boxes, \\" << endl; 401 output2 << "'DeltaShieldingsPAS-Order.dat' index " << BondOrder << " title 'Order " << BondOrder+1 << "' using ($1):7 with linespoints"; 402 if (BondOrder-1 != KeySet.Order) 403 output2 << ", \\" << endl; 398 404 } 399 405 output << "'ShieldingsPAS-Order.dat' index " << KeySet.Order << " title 'Full' using ($1+" << step*(double)KeySet.Order << "):7 with boxes" << endl; 400 406 output.close(); 407 output2.close(); 401 408 } 402 409 -
molecuilder/src/datacreator.cpp
rf89a9e rfa2d7d 204 204 Fragments.SumSubForces(Fragments, KeySet, BondOrder, -1.); 205 205 // errors per atom 206 output << "#Order\t" << BondOrder+1 << endl;206 output << endl << "#Order\t" << BondOrder+1 << endl; 207 207 for(int j=0;j<Fragments.RowCounter[ Fragments.MatrixCounter ];j++) { 208 208 output << Fragments.Indices[Fragments.MatrixCounter][j] << "\t";
Note:
See TracChangeset
for help on using the changeset viewer.