ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/src/oose.cpp
(Generate patch)

Comparing trunk/OOPSE/src/oose.cpp (file contents):
Revision 888 by mmeineke, Fri Dec 19 18:53:43 2003 UTC vs.
Revision 1066 by tim, Tue Feb 24 16:36:33 2004 UTC

# Line 16 | Line 16
16   #include "Integrator.hpp"
17   #include "Thermo.hpp"
18   #include "ReadWrite.hpp"
19 <
19 > #include "OOPSEMinimizer.hpp"
20   char* program_name;
21   using namespace std;
22  
# Line 73 | Line 73 | int main(int argc,char* argv[]){
73    startProfile( pro3 );
74   #endif //profile
75  
76 <  entry_plug->the_integrator->integrate();
77 <
76 >  if (!entry_plug->has_minimizer)
77 >    entry_plug->the_integrator->integrate();
78 >  else
79 >    entry_plug->the_minimizer->minimize();
80   #ifdef PROFILE
81    endProfile( pro3 );
82  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines