Changeset 59f86c for molecuilder/src/builder.cpp
- Timestamp:
- Oct 18, 2008, 2:03:57 PM (17 years ago)
- Children:
- ae21a39, d87482
- Parents:
- f5d7e1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/builder.cpp
rf5d7e1 r59f86c 569 569 case 'e': 570 570 cout << Verbose(0) << "Evaluating volume of the convex envelope."; 571 VolumeOfConvexEnvelope((ofstream *)&cout, configuration, NULL, mol);571 VolumeOfConvexEnvelope((ofstream *)&cout, NULL, configuration, NULL, mol); 572 572 break; 573 573 case 'f': … … 1168 1168 case 'o': 1169 1169 ExitFlag = 1; 1170 SaveFlag = true; 1171 cout << Verbose(0) << "Evaluating volume of the convex envelope."; 1172 VolumeOfConvexEnvelope((ofstream *)&cout, &configuration, NULL, mol); 1170 if ((argptr >= argc) || (argv[argptr][0] == '-')) { 1171 ExitFlag = 255; 1172 cerr << "Not enough or invalid arguments given for convex envelope: -o <tecplot output file>" << endl; 1173 } else { 1174 cout << Verbose(0) << "Evaluating volume of the convex envelope."; 1175 cout << Verbose(1) << "Storing tecplot data in " << argv[argptr] << "." << endl; 1176 ofstream *output = new ofstream(argv[argptr], ios::trunc); 1177 VolumeOfConvexEnvelope((ofstream *)&cout, output, &configuration, NULL, mol); 1178 output->close(); 1179 delete(output); 1180 argptr+=1; 1181 } 1173 1182 break; 1174 1183 case 'U':
Note:
See TracChangeset
for help on using the changeset viewer.