Changeset 4bb871a for molecuilder/src/builder.cpp
- Timestamp:
- Feb 2, 2010, 12:22:06 PM (16 years ago)
- 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. - File:
-
- 1 edited
-
molecuilder/src/builder.cpp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/builder.cpp
radcdf8 r4bb871a 1308 1308 Log() << Verbose(0) << "\t-h/-H/-?\tGive this help screen." << endl; 1309 1309 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; 1310 1312 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; 1311 1313 Log() << Verbose(0) << "\t-m <0/1>\tCalculate (0)/ Align in(1) PAS with greatest EV along z axis." << endl; … … 1594 1596 int ranges[NDIM] = {1,1,1}; 1595 1597 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. ); 1598 1600 OutputCorrelation ( &binoutput, binmap ); 1599 1601 output.close(); … … 1679 1681 } 1680 1682 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 1681 1712 case 'N': 1682 1713 if (ExitFlag == 0) ExitFlag = 1;
Note:
See TracChangeset
for help on using the changeset viewer.
