Changeset 3b470f for molecuilder/src/builder.cpp
- Timestamp:
- Jul 23, 2009, 11:23:59 AM (16 years ago)
- Children:
- 59a745
- Parents:
- 09f4dc (diff), 14178b (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
r09f4dc r3b470f 822 822 cout << "\t-p <file>\tParse given xyz file and create raw config file from it." << endl; 823 823 cout << "\t-P <file>\tParse given forces file and append as an MD step to config file via Verlet." << endl; 824 cout << "\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; 824 825 cout << "\t-r\t\tConvert file from an old pcp syntax." << endl; 825 826 cout << "\t-t x1 x2 x3\tTranslate all atoms by this vector (x1,x2,x3)." << endl; … … 1065 1066 } 1066 1067 break; 1068 case 'L': 1069 ExitFlag = 1; 1070 SaveFlag = true; 1071 cout << Verbose(1) << "Linear interpolation between configuration " << argv[argptr] << " and " << argv[argptr+1] << "." << endl; 1072 if (!mol->LinearInterpolationBetweenConfiguration((ofstream *)&cout, atoi(argv[argptr]), atoi(argv[argptr+1]), argv[argptr+2], configuration)) 1073 cout << Verbose(2) << "Could not store " << argv[argptr+2] << " files." << endl; 1074 else 1075 cout << Verbose(2) << "Steps created and " << argv[argptr+2] << " files stored." << endl; 1076 argptr+=3; 1077 break; 1067 1078 case 'P': 1068 1079 ExitFlag = 1; … … 1073 1084 SaveFlag = true; 1074 1085 cout << Verbose(1) << "Parsing forces file and Verlet integrating." << endl; 1075 if (!mol->VerletForceIntegration( argv[argptr], configuration.Deltat, configuration.GetIsAngstroem()))1086 if (!mol->VerletForceIntegration((ofstream *)&cout, argv[argptr], configuration)) 1076 1087 cout << Verbose(2) << "File not found." << endl; 1077 1088 else
Note:
See TracChangeset
for help on using the changeset viewer.
