Artifact bc6c28056d4d99b976954b54442b90ca6c71200f6871cfb4459cfd7495d8bc8a:
- File mtt/lib/cc/mtt_Solver.cc — part of check-in [af3953deae] at 2021-03-01 11:39:42 on branch master — Cleanup repository after cvs2git conversion. (user: jeff@gridfinity.com, size: 291) [annotate] [blame] [check-ins using] [more...]
- File
mttroot/mtt/lib/cc/mtt_Solver.cc
— part of check-in
[eb84d8e84b]
at
2002-07-15 12:50:51
on branch origin/master
— The solution vector (_ui) is no longer re-zeroed each step.
Retaining the previous value appears to give dramatically better performance.Messages to the console are now buffered through clog instead of using cerr. (user: geraint@users.sourceforge.net, size: 291) [annotate] [blame] [check-ins using]
#include "mtt_Solver.hh" MTT::Solver::Solver (const int npar, const int nu, const int nx, const int ny, const int nyz) { _np = npar; _nu = nu; _nx = nx; _ny = ny; _nyz = nyz; _ui = ColumnVector (_nyz,0.0); _uui = ColumnVector (_nu+_nyz); };