Ignore:
Timestamp:
Aug 7, 2009, 9:13:21 AM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
ef5521
Parents:
8f9a8e
Message:

Test case of filling a simulation domain with water included.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/builder.cpp

    r8f9a8e r0fc0b5  
    13481348            cout << "\t-A <source>\tCreate adjacency list from bonds parsed from 'dbond'-style file." <<endl;
    13491349            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;
    13511351            cout << "\t-c x1 x2 x3\tCenter atoms in domain with a minimum distance to boundary of (x1,x2,x3)." << endl;
    13521352            cout << "\t-D <bond distance>\tDepth-First-Search Analysis of the molecule, giving cycles and tree/back edges." << endl;
     
    13581358            cout << "\t-h/-H/-?\tGive this help screen." << endl;
    13591359            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;
    13601361            cout << "\t-n\tFast parsing (i.e. no trajectories are looked for)." << endl;
    13611362            cout << "\t-N <radius> <file>\tGet non-convex-envelope." << endl;
     
    15061507        if (config_present == present) {
    15071508          switch(argv[argptr-1][1]) {
    1508             case 'B':
     1509            case 'M':
    15091510              if ((argptr >= argc) || (argv[argptr][0] == '-')) {
    15101511                ExitFlag = 255;
     
    17671768                // center
    17681769                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);
    17691787                argptr+=6;
    17701788              }
Note: See TracChangeset for help on using the changeset viewer.