Ignore:
Timestamp:
Feb 2, 2010, 12:22:06 PM (16 years ago)
Author:
Tillmann Crueger <crueger@…>
Children:
45cd358
Parents:
adcdf8 (diff), 6d0fcaa (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge commit 'heber/Analysis_PairCorrelation' into MenuRefactoring

File:
1 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/src/builder.cpp

    radcdf8 r4bb871a  
    13081308            Log() << Verbose(0) << "\t-h/-H/-?\tGive this help screen." << endl;
    13091309            Log() << Verbose(0) << "\t-I\t Dissect current system of molecules into a set of disconnected (subgraphs of) molecules." << endl;
     1310            Log() << Verbose(0) << "\t-j\t<path> Store all bonds to file." << endl;
     1311            Log() << Verbose(0) << "\t-J\t<path> Store adjacency per atom to file." << endl;
    13101312            Log() << Verbose(0) << "\t-L <step0> <step1> <prefix>\tStore a linear interpolation between two configurations <step0> and <step1> into single config files with prefix <prefix> and as Trajectories into the current config file." << endl;
    13111313            Log() << Verbose(0) << "\t-m <0/1>\tCalculate (0)/ Align in(1) PAS with greatest EV along z axis." << endl;
     
    15941596                int ranges[NDIM] = {1,1,1};
    15951597                CorrelationToSurfaceMap *surfacemap = PeriodicCorrelationToSurface( molecules, elemental, TesselStruct, LCList, ranges );
    1596                 //OutputCorrelationToSurface(&output, surfacemap);
    1597                 BinPairMap *binmap = BinData( surfacemap, 0.5, 0., 0. );
     1598                OutputCorrelationToSurface(&output, surfacemap);
     1599                BinPairMap *binmap = BinData( surfacemap, 0.5, 0., 20. );
    15981600                OutputCorrelation ( &binoutput, binmap );
    15991601                output.close();
     
    16791681              }
    16801682              break;
     1683
     1684            case 'J':
     1685              if (ExitFlag == 0) ExitFlag = 1;
     1686              if ((argptr >= argc) || (argv[argptr][0] == '-')) {
     1687                ExitFlag =255;
     1688                eLog() << Verbose(0) << "Missing path of adjacency file: -j <path>" << endl;
     1689                performCriticalExit();
     1690              } else {
     1691                Log() << Verbose(0) << "Storing adjacency to path " << argv[argptr] << "." << endl;
     1692                configuration.BG->ConstructBondGraph(mol);
     1693                mol->StoreAdjacencyToFile(argv[argptr]);
     1694                argptr+=1;
     1695              }
     1696              break;
     1697
     1698            case 'j':
     1699              if (ExitFlag == 0) ExitFlag = 1;
     1700              if ((argptr >= argc) || (argv[argptr][0] == '-')) {
     1701                ExitFlag =255;
     1702                eLog() << Verbose(0) << "Missing path of bonds file: -j <path>" << endl;
     1703                performCriticalExit();
     1704              } else {
     1705                Log() << Verbose(0) << "Storing bonds to path " << argv[argptr] << "." << endl;
     1706                configuration.BG->ConstructBondGraph(mol);
     1707                mol->StoreBondsToFile(argv[argptr]);
     1708                argptr+=1;
     1709              }
     1710              break;
     1711
    16811712            case 'N':
    16821713              if (ExitFlag == 0) ExitFlag = 1;
Note: See TracChangeset for help on using the changeset viewer.