Changeset 543ce4 for molecuilder/src/analyzer.cpp
- Timestamp:
- Nov 4, 2009, 7:56:04 PM (16 years ago)
- Children:
- 4ef101, aa8542
- Parents:
- ec70ec
- File:
-
- 1 edited
-
molecuilder/src/analyzer.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/analyzer.cpp
rec70ec r543ce4 61 61 int counter = 0; 62 62 63 cout<< "ANOVA Analyzer" << endl;64 cout<< "==============" << endl;63 Log() << Verbose(0) << "ANOVA Analyzer" << endl; 64 Log() << Verbose(0) << "==============" << endl; 65 65 66 66 // Get the command line options 67 67 if (argc < 4) { 68 cout<< "Usage: " << argv[0] << " <inputdir> <prefix> <outputdir> [elementsdb]" << endl;69 cout<< "<inputdir>\ttherein the output of a molecuilder fragmentation is expected, each fragment with a subdir containing an energy.all and a forces.all file." << endl;70 cout<< "<prefix>\tprefix of energy and forces file." << endl;71 cout<< "<outputdir>\tcreated plotfiles and datafiles are placed into this directory " << endl;72 cout<< "[elementsdb]\tpath to elements database, needed for shieldings." << endl;68 Log() << Verbose(0) << "Usage: " << argv[0] << " <inputdir> <prefix> <outputdir> [elementsdb]" << endl; 69 Log() << Verbose(0) << "<inputdir>\ttherein the output of a molecuilder fragmentation is expected, each fragment with a subdir containing an energy.all and a forces.all file." << endl; 70 Log() << Verbose(0) << "<prefix>\tprefix of energy and forces file." << endl; 71 Log() << Verbose(0) << "<outputdir>\tcreated plotfiles and datafiles are placed into this directory " << endl; 72 Log() << Verbose(0) << "[elementsdb]\tpath to elements database, needed for shieldings." << endl; 73 73 return 1; 74 74 } else { … … 79 79 80 80 if (argc > 4) { 81 cout<< "Loading periodentafel." << endl;81 Log() << Verbose(0) << "Loading periodentafel." << endl; 82 82 periode = Malloc<periodentafel>(1, "main - periode"); 83 83 periode->LoadPeriodentafel(argv[4]); … … 94 94 if (!Hcorrection.ParseFragmentMatrix(argv[1], "", HCORRECTIONSUFFIX,0,0)) { 95 95 NoHCorrection = true; 96 cout<< "No HCorrection file found, skipping these." << endl;96 Log() << Verbose(0) << "No HCorrection file found, skipping these." << endl; 97 97 } 98 98 … … 100 100 if (!Hessian.ParseFragmentMatrix(argv[1], dir, HessianSuffix,0,0)) { 101 101 NoHessian = true; 102 cout<< "No Hessian file found, skipping these." << endl;102 Log() << Verbose(0) << "No Hessian file found, skipping these." << endl; 103 103 } 104 104 if (!Time.ParseFragmentMatrix(argv[1], dir, TimeSuffix, 10,1)) { 105 105 NoTime = true; 106 cout<< "No speed file found, skipping these." << endl;106 Log() << Verbose(0) << "No speed file found, skipping these." << endl; 107 107 } 108 108 if (periode != NULL) { // also look for PAS values … … 246 246 // +++++++++++++++ ANALYZING ++++++++++++++++++++++++++++++ 247 247 248 cout<< "Analyzing ..." << endl;248 Log() << Verbose(0) << "Analyzing ..." << endl; 249 249 250 250 // ======================================= Creating the data files ============================================================== … … 557 557 delete(periode); 558 558 Free(&dir); 559 cout<< "done." << endl;559 Log() << Verbose(0) << "done." << endl; 560 560 return 0; 561 561 };
Note:
See TracChangeset
for help on using the changeset viewer.
