Changeset 0fc0b5 for molecuilder/src/builder.cpp
- Timestamp:
- Aug 7, 2009, 9:13:21 AM (16 years ago)
- Children:
- ef5521
- Parents:
- 8f9a8e
- File:
-
- 1 edited
-
molecuilder/src/builder.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/builder.cpp
r8f9a8e r0fc0b5 1348 1348 cout << "\t-A <source>\tCreate adjacency list from bonds parsed from 'dbond'-style file." <<endl; 1349 1349 cout << "\t-b xx xy xz yy yz zz\tCenter atoms in domain with given symmetric matrix of (xx,xy,xz,yy,yz,zz)." << endl; 1350 cout << "\t-B <basis>\tSetting basis to store to MPQC config files." << endl;1350 cout << "\t-B xx xy xz yy yz zz\tBound atoms by domain with given symmetric matrix of (xx,xy,xz,yy,yz,zz)." << endl; 1351 1351 cout << "\t-c x1 x2 x3\tCenter atoms in domain with a minimum distance to boundary of (x1,x2,x3)." << endl; 1352 1352 cout << "\t-D <bond distance>\tDepth-First-Search Analysis of the molecule, giving cycles and tree/back edges." << endl; … … 1358 1358 cout << "\t-h/-H/-?\tGive this help screen." << endl; 1359 1359 cout << "\t-m <0/1>\tCalculate (0)/ Align in(1) PAS with greatest EV along z axis." << endl; 1360 cout << "\t-M <basis>\tSetting basis to store to MPQC config files." << endl; 1360 1361 cout << "\t-n\tFast parsing (i.e. no trajectories are looked for)." << endl; 1361 1362 cout << "\t-N <radius> <file>\tGet non-convex-envelope." << endl; … … 1506 1507 if (config_present == present) { 1507 1508 switch(argv[argptr-1][1]) { 1508 case ' B':1509 case 'M': 1509 1510 if ((argptr >= argc) || (argv[argptr][0] == '-')) { 1510 1511 ExitFlag = 255; … … 1767 1768 // center 1768 1769 mol->CenterInBox((ofstream *)&cout); 1770 argptr+=6; 1771 } 1772 break; 1773 case 'B': 1774 ExitFlag = 1; 1775 if ((argptr+5 >= argc) || (!IsValidNumber(argv[argptr])) || (!IsValidNumber(argv[argptr+1])) || (!IsValidNumber(argv[argptr+2])) || (!IsValidNumber(argv[argptr+3])) || (!IsValidNumber(argv[argptr+4])) || (!IsValidNumber(argv[argptr+5])) ) { 1776 ExitFlag = 255; 1777 cerr << "Not enough or invalid arguments given for bounding in box: -B <xx> <xy> <xz> <yy> <yz> <zz>" << endl; 1778 } else { 1779 SaveFlag = true; 1780 j = -1; 1781 cout << Verbose(1) << "Centering atoms in config file within given simulation box." << endl; 1782 for (int i=0;i<6;i++) { 1783 mol->cell_size[i] = atof(argv[argptr+i]); 1784 } 1785 // center 1786 mol->BoundInBox((ofstream *)&cout); 1769 1787 argptr+=6; 1770 1788 }
Note:
See TracChangeset
for help on using the changeset viewer.
