Changeset 451d7a for molecuilder/src
- Timestamp:
- Feb 10, 2009, 12:04:37 PM (17 years ago)
- Children:
- c830e8e
- Parents:
- e08f45
- Location:
- molecuilder/src
- Files:
-
- 3 edited
-
builder.cpp (modified) (2 diffs)
-
config.cpp (modified) (2 diffs)
-
molecules.hpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/builder.cpp
re08f45 r451d7a 807 807 cout << "\t-A <source>\tCreate adjacency list from bonds parsed from 'dbond'-style file." <<endl; 808 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>\tSetting basis to store to MPQC config files." << endl; 809 810 cout << "\t-c x1 x2 x3\tCenter atoms in domain with a minimum distance to boundary of (x1,x2,x3)." << endl; 810 811 cout << "\t-D <bond distance>\tDepth-First-Search Analysis of the molecule, giving cycles and tree/back edges." << endl; … … 960 961 if (config_present == present) { 961 962 switch(argv[argptr-1][1]) { 963 case 'B': 964 if ((argptr >= argc) || (argv[argptr][0] == '-')) { 965 ExitFlag = 255; 966 cerr << "Not enough or invalid arguments given for setting MPQC basis: -B <basis name>" << endl; 967 } else { 968 configuration.basis = argv[argptr]; 969 cout << Verbose(1) << "Setting MPQC basis to " << configuration.basis << "." << endl; 970 argptr+=1; 971 } 972 break; 962 973 case 'D': 963 974 ExitFlag = 1; -
molecuilder/src/config.cpp
re08f45 r451d7a 23 23 configpath[0]='\0'; 24 24 configname[0]='\0'; 25 basis = "3-21G"; 25 26 26 27 FastParsing = false; … … 1135 1136 *output << ")" << endl; 1136 1137 *output << "basis<GaussianBasisSet>: (" << endl; 1137 *output << "\tname = \" 3-21G\"" << endl;1138 *output << "\tname = \""<< basis << "\"" << endl; 1138 1139 *output << "\tmolecule = $:molecule" << endl; 1139 1140 *output << ")" << endl; -
molecuilder/src/molecules.hpp
re08f45 r451d7a 385 385 bool FastParsing; 386 386 double Deltat; 387 string basis; 387 388 388 389 private:
Note:
See TracChangeset
for help on using the changeset viewer.
