Changeset f23d7d
- Timestamp:
- Feb 9, 2009, 11:17:38 PM (17 years ago)
- Children:
- 2218dca
- Parents:
- 97c751
- Location:
- molecuilder/src
- Files:
-
- 4 edited
-
builder.cpp (modified) (3 diffs)
-
config.cpp (modified) (2 diffs)
-
moleculelist.cpp (modified) (2 diffs)
-
molecules.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/builder.cpp
r97c751 rf23d7d 697 697 char filename[MAXSTRINGSIZE]; 698 698 ofstream output; 699 string basis("3-21G"); 699 700 700 701 cout << Verbose(0) << "Storing configuration ... " << endl; … … 806 807 cout << "\t-A <source>\tCreate adjacency list from bonds parsed from 'dbond'-style file." <<endl; 807 808 cout << "\t-b x1 x2 x3\tCenter atoms in domain with given edge lengths of (x1,x2,x3)." << endl; 809 cout << "\t-B <basis>\tgive gaussian basis for MPQC output." << endl; 808 810 cout << "\t-c x1 x2 x3\tCenter atoms in domain with a minimum distance to boundary of (x1,x2,x3)." << endl; 809 811 cout << "\t-D <bond distance>\tDepth-First-Search Analysis of the molecule, giving cycles and tree/back edges." << endl; … … 961 963 if (config_present == present) { 962 964 switch(argv[argptr-1][1]) { 965 case 'B': 966 if ((argptr >= argc) || (!IsValidNumber(argv[argptr])) || (argv[argptr][0] == '-')) { 967 ExitFlag = 255; 968 cerr << "Not enough or invalid arguments given for giving gaussian basis: -B <basis>" << endl; 969 } else { 970 cout << Verbose(1) << "Setting gaussian basis to " << argv[argptr] << "." << endl; 971 configuration.basis.copy(argv[argptr],strlen(argv[argptr])); 972 argptr+=1; 973 } 974 break; 963 975 case 'D': 964 976 ExitFlag = 1; -
molecuilder/src/config.cpp
r97c751 rf23d7d 23 23 configpath[0]='\0'; 24 24 configname[0]='\0'; 25 basis="3-21G"; 25 26 26 27 FastParsing = false; … … 1131 1132 *output << ")" << endl; 1132 1133 *output << "basis<GaussianBasisSet>: (" << endl; 1133 *output << "\tname = \" 3-21G\"" << endl;1134 *output << "\tname = \"" << basis << "\"" << endl; 1134 1135 *output << "\tmolecule = $:molecule" << endl; 1135 1136 *output << ")" << endl; -
molecuilder/src/moleculelist.cpp
r97c751 rf23d7d 393 393 int FragmentCounter = 0; 394 394 ofstream output; 395 string basis("3-21G"); 395 396 396 397 // store the fragments as config and as xyz … … 404 405 405 406 // correct periodic 406 ListOfMolecules[i]->ScanForPeriodicCorrection(out);407 //ListOfMolecules[i]->ScanForPeriodicCorrection(out); 407 408 408 409 // output xyz file -
molecuilder/src/molecules.hpp
r97c751 rf23d7d 387 387 bool FastParsing; 388 388 double Deltat; 389 string basis; 389 390 390 391 private:
Note:
See TracChangeset
for help on using the changeset viewer.
