Overview
Comment:Fixed zeroing of initial guess of unknown inputs.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | origin/master | trunk
Files: files | file ages | folders
SHA3-256: 0d3835dbed4c361bdabb9b7581e426a646711a5a825a0b736315685ab9bf5a1e
User & Date: geraint@users.sourceforge.net on 2001-08-09 03:09:23
Other Links: branch diff | manifest | tags
Context
2001-08-10
16:19:06
Tidied up the optimisation stuff check-in: 2f9714d2b0 user: gawthrop@users.sourceforge.net tags: origin/master, trunk
2001-08-09
03:09:23
Fixed zeroing of initial guess of unknown inputs. check-in: 0d3835dbed user: geraint@users.sourceforge.net tags: origin/master, trunk
2001-08-08
03:16:08
Rationalisation of solver code, fixed ctors. check-in: a7219296bb user: geraint@users.sourceforge.net tags: origin/master, trunk
Changes

Modified mttroot/mtt/lib/cc/mtt_dassl.cc from [8cf3e05414] to [d41dae86e1].

61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
  const ColumnVector	openx	= args(8).VECTOR_VALUE();
#endif // STANDALONE

  static DAEFunc fdae(mtt_residual);
  static ColumnVector XX (Nx+Nyz);
  XX.insert (x,0);

  for (register int i = Nx; i < Nyz; i++)
    XX(i) = 0.0;

  double tout = t + ddt;

  DASSL fdassl (XX, t, fdae);
  x = fdassl.do_integrate (tout).extract (0,Nx-1);








|







61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
  const ColumnVector	openx	= args(8).VECTOR_VALUE();
#endif // STANDALONE

  static DAEFunc fdae(mtt_residual);
  static ColumnVector XX (Nx+Nyz);
  XX.insert (x,0);

  for (register int i = Nx; i < Nx+Nyz; i++)
    XX(i) = 0.0;

  double tout = t + ddt;

  DASSL fdassl (XX, t, fdae);
  x = fdassl.do_integrate (tout).extract (0,Nx-1);


MTT: Model Transformation Tools
GitHub | SourceHut | Sourceforge | Fossil RSS ]