Changes in / [71e7c7:631dcb]
- Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/analyzer.cpp
r71e7c7 r631dcb 222 222 output << endl << "Total Chis PAS" << endl << "===============" << endl << ChiPAS.Header[ChiPAS.MatrixCounter] << endl; 223 223 for(int j=0;j<ChiPAS.RowCounter[ChiPAS.MatrixCounter];j++) { 224 for(int k=0;k<ChiPAS.ColumnCounter[Chi PAS.MatrixCounter];k++)224 for(int k=0;k<ChiPAS.ColumnCounter[Chi.MatrixCounter];k++) 225 225 output << scientific << ChiPAS.Matrix[ ChiPAS.MatrixCounter ][j][k] << "\t"; 226 226 output << endl; … … 523 523 output.close(); 524 524 output2.close(); 525 526 if(!OpenOutputFile(output, argv[3], "ChisPAS-Order.pyx")) return 1;527 if(!OpenOutputFile(output2, argv[3], "DeltaChisPAS-Order.pyx")) return 1;528 CreatePlotHeader(output, "ChisPAS-Order", 1, "top right", NULL, NULL, 1, 5, "nuclei index", "iso chemical Chi value [ppm]");529 CreatePlotHeader(output2, "DeltaChisPAS-Order", 1, "top right", NULL, NULL, 1, 5, "nuclei index", "iso chemical Chi value [ppm]");530 output << "set boxwidth " << step << endl;531 output << "plot [0:" << ChiPAS.RowCounter[ChiPAS.MatrixCounter]+10 << "]\\" << endl;532 output2 << "plot [0:" << ChiPAS.RowCounter[ChiPAS.MatrixCounter]+10 << "]\\" << endl;533 for (int BondOrder=0;BondOrder<KeySet.Order;BondOrder++) {534 output << "'ChisPAS-Order.dat' index " << BondOrder << " title 'Order " << BondOrder+1 << "' using ($1+" << step*(double)BondOrder << "):7 with boxes, \\" << endl;535 output2 << "'DeltaChisPAS-Order.dat' index " << BondOrder << " title 'Order " << BondOrder+1 << "' using ($1):7 with linespoints";536 if (BondOrder-1 != KeySet.Order)537 output2 << ", \\" << endl;538 }539 output << "'ChisPAS-Order.dat' index " << KeySet.Order << " title 'Full' using ($1+" << step*(double)KeySet.Order << "):7 with boxes" << endl;540 output.close();541 output2.close();542 525 } 543 526 -
src/joiner.cpp
r71e7c7 r631dcb 34 34 ForceMatrix ShieldingFragments; 35 35 ForceMatrix ShieldingPASFragments; 36 ForceMatrix Chi;37 ForceMatrix ChiPAS;38 ForceMatrix ChiFragments;39 ForceMatrix ChiPASFragments;36 EnergyMatrix Chi; 37 EnergyMatrix ChiPAS; 38 EnergyMatrix ChiFragments; 39 EnergyMatrix ChiPASFragments; 40 40 KeySetsContainer KeySet; 41 41 stringstream prefix; … … 104 104 if(!Shielding.ParseIndices(argv[1])) return 1; 105 105 if(!ShieldingPAS.ParseIndices(argv[1])) return 1; 106 if(!Chi.ParseIndices(argv[1])) return 1;107 if(!ChiPAS.ParseIndices(argv[1])) return 1;106 //if(!Chi.ParseIndices()) return 1; 107 //if(!ChiPAS.ParseIndices()) return 1; 108 108 } 109 109 … … 167 167 if (!ShieldingPAS.SumSubForces(ShieldingPASFragments, KeySet, BondOrder, 1.)) return 1; 168 168 if (!ChiFragments.SumSubManyBodyTerms(Chi, KeySet, BondOrder)) return 1; 169 if (!Chi.SumSub Forces(ChiFragments, KeySet, BondOrder, 1.)) return 1;169 if (!Chi.SumSubEnergy(ChiFragments, NULL, KeySet, BondOrder, 1.)) return 1; 170 170 if (!ChiPASFragments.SumSubManyBodyTerms(ChiPAS, KeySet, BondOrder)) return 1; 171 if (!ChiPAS.SumSub Forces(ChiPASFragments,KeySet, BondOrder, 1.)) return 1;171 if (!ChiPAS.SumSubEnergy(ChiPASFragments, NULL,KeySet, BondOrder, 1.)) return 1; 172 172 } 173 173
Note:
See TracChangeset
for help on using the changeset viewer.