Comment: | Rationalisation of solver code, beginning with algebraic solvers. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | origin/master | trunk |
Files: | files | file ages | folders |
SHA3-256: |
b94fab9d42565e9d2563291ff1feefa4 |
User & Date: | geraint@users.sourceforge.net on 2001-08-08 02:15:00 |
Other Links: | branch diff | manifest | tags |
2001-08-08
| ||
03:16:08 | Rationalisation of solver code, fixed ctors. check-in: ddee3fea10 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
02:15:00 | Rationalisation of solver code, beginning with algebraic solvers. check-in: b94fab9d42 user: geraint@users.sourceforge.net tags: origin/master, trunk | |
2001-08-07
| ||
04:39:24 | Consolidated dassl and residual functions. check-in: 73c9075b6a user: geraint@users.sourceforge.net tags: origin/master, trunk | |
Modified mttroot/mtt/bin/mtt from [e33b09b50e] to [7f08bc493b].
︙ | |||
13 14 15 16 17 18 19 20 21 22 23 24 25 26 | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | + + + | # Copyright (C) 2001 by Peter J. Gawthrop ############################################################### ## Version control history ############################################################### ## $Header$ ## $Log$ ## Revision 1.322 2001/08/01 04:06:07 geraint ## Added -i dassl for -cc and -oct. ## ## Revision 1.321 2001/07/27 23:43:34 geraint ## Added -cc to usage options (required for use with xmtt). ## ## Revision 1.320 2001/07/27 23:38:38 geraint ## Changed comment below (# SUMMARY) - fixes xmtt. ## ## Revision 1.319 2001/07/27 23:29:10 geraint |
︙ | |||
2352 2353 2354 2355 2356 2357 2358 | 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 | + - - + + | $1_ode2odes_dassl.o : $1_ode.o $1_odeo.o mtt_dassl.o @echo "Creating \$@" ar -cr \$@ \$^ $1_ode2odes_dassl.oct : $1_ode.oct $1_odeo.oct mtt_dassl.oct @echo > /dev/null mtt_Solver.cc: mtt_Solver.hh mtt_AlgebraicSolver.cc: mtt_AlgebraicSolver.hh |
︙ | |||
2699 2700 2701 2702 2703 2704 2705 | 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 | - + - + + | $1_ode2odes.o: $1_ode2odes.cc $1_ode2odes_common.o $1_ode2odes_${integration_method}.o $1_ode2odes_${algebraic_solver}.o echo Creating $1_ode2odes.o ${MTT_CXX} ${MTT_CXXFLAGS} ${MTT_CXXINCS} -c $1_ode2odes.cc -DSTANDALONE $1_ode2odes.oct: $1_ode2odes.cc $1_ode2odes_common.oct $1_ode2odes_${integration_method}.oct $1_ode2odes_${algebraic_solver}.o touch $1_ode2odes.m echo Creating $1_ode2odes.oct |
︙ |
Modified mttroot/mtt/bin/trans/make_ode2odes from [72d882798e] to [f3196ec53c].
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | + + + | #! /bin/sh ###################################### ##### Model Transformation Tools ##### ###################################### ############################################################### ## Version control history ############################################################### ## $Id$ ## $Log$ ## Revision 1.63 2001/08/07 04:39:24 geraint ## Consolidated dassl and residual functions. ## ## Revision 1.62 2001/08/01 22:14:32 geraint ## Bug fix for dassl. ## ## Revision 1.61 2001/08/01 04:06:07 geraint ## Added -i dassl for -cc and -oct. ## ## Revision 1.60 2001/07/16 22:23:00 geraint |
︙ | |||
533 534 535 536 537 538 539 | 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 | - + | inline ColumnVector mtt_input (ColumnVector &x, ColumnVector &y, const double &t, ColumnVector &par) { |
︙ |
Added mttroot/mtt/lib/cc/mtt_AlgebraicSolver.cc version [04698e6717].
|
Added mttroot/mtt/lib/cc/mtt_AlgebraicSolver.hh version [6b5fc39cda].
|
Modified mttroot/mtt/lib/cc/mtt_HJ_Solver.hh from [0452c911f4] to [c5aaf93148].
1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | + + + + - + + + + - - - - - - + + + + + + - - - - - - - - + + + + + + + + + + - - + + - + - + - - + + - - - - - + + + + + - - - - - - - + + + + + + + - + - - - + + + - - - - + + + + + + + | #ifndef MTT_HJSOLVER #define MTT_HJSOLVER |
Modified mttroot/mtt/lib/cc/mtt_Hybrd_Solver.cc from [db6613b9c5] to [c09f3d3f20].
1 2 3 4 5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | - - - + + + + + + + + + + + + - + - - + + - + | #include "mtt_Hybrd_Solver.hh" // http://www.netlib.org/minpack/hybrd.f // used by Octave's fsolve |
︙ | |||
60 61 62 63 64 65 66 | 69 70 71 72 73 74 75 | - | << " converge (" << convergences << ") " << " progress (" << progress_errors << ") " << " limit (" << limit_errors << ")" << " unknown (" << unknown_errors << ")" << " (max error = " << std::abs(eval(_ui).max()) << ")" << std::endl; } } |
Modified mttroot/mtt/lib/cc/mtt_Hybrd_Solver.hh from [a398dadfdb] to [3fc28c8a1a].
1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 | + + - + + + + + + - - - - - - + + + + + + - + - - - - - - + + + + + - - - - - + + - + - + - - - - - - - - + + + + + + + + + + | #ifndef MTT_HYBRDSOLVER #define MTT_HYBRDSOLVER |
Modified mttroot/mtt/lib/cc/mtt_Reduce_Solver.cc from [f538a6f60b] to [b7f38e13b6].
1 2 3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | - - + - - - + - - - - + + + + | #include "mtt_Reduce_Solver.hh" |
Modified mttroot/mtt/lib/cc/mtt_Reduce_Solver.hh from [69ab00e508] to [635ef51478].
1 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | + + + + - + + + + - - - - - + + + + + - - - + + + - - - - - - - + + + + + + - - - - - - - - - - - - - + + + + + + + + + + + + + + + | #ifndef MTT_REDUCESOLVER #define MTT_REDUCESOLVER |
Modified mttroot/mtt/lib/cc/mtt_Solver.cc from [3335bb6d91] to [effe0746c4].
1 2 3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - | #include "mtt_Solver.hh" |
Modified mttroot/mtt/lib/cc/mtt_Solver.hh from [12e52b9aa6] to [2a39ed71ca].
1 2 3 4 5 6 7 8 9 10 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | + - - + + + - - + - - - + + - - - - - - + + + + + - - - - - - - - - - + - - + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - + | #ifndef MTT_SOLVER #define MTT_SOLVER #include <cmath> #include <cstdlib> #include <iostream> #include <octave/oct.h> |