Index: mttroot/mtt/bin/trans/make_ode2odes ================================================================== --- mttroot/mtt/bin/trans/make_ode2odes +++ mttroot/mtt/bin/trans/make_ode2odes @@ -7,10 +7,13 @@ ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ +## Revision 1.66 2002/03/26 11:58:58 geraint +## Added cputime monitoring. +## ## Revision 1.65 2001/11/15 06:24:11 geraint ## Updated (-i dassl) residual function to use new DAEFunc (octave-2.1.35). ## YZ residual dependency on Ui still requires some work. ## ## Revision 1.64 2001/08/08 02:15:00 geraint @@ -931,11 +934,11 @@ for (register int i = 0; i < nx; i++) data.elem (row, ++col) = x.elem (i); row++; - static std::fstream fcputime ("MTT.cputime", ios::out | ios::trunc | ios::app); + static std::fstream fcputime ("MTT.cputime", std::ios::out | std::ios::trunc | std::ios::app); static clock_t cputime0 = clock(); static clock_t cputime1 = cputime0; clock_t cputime = clock(); fcputime << t << '\t' << static_cast (cputime - cputime0) / CLOCKS_PER_SEC << '\t' Index: mttroot/mtt/lib/cc/mtt_Hybrd_Solver.cc ================================================================== --- mttroot/mtt/lib/cc/mtt_Hybrd_Solver.cc +++ mttroot/mtt/lib/cc/mtt_Hybrd_Solver.cc @@ -14,11 +14,11 @@ } void MTT::Hybrd_Solver::Solve (void) { - static std::fstream ferr ("MTT.Hybrd_messages", ios::out | ios::trunc | ios::app); + static std::fstream ferr ("MTT.Hybrd_messages", std::ios::out | std::ios::trunc | std::ios::app); int info; static int input_errors; static int user_errors; static int convergences; static int progress_errors;