ADDED mttroot/mtt/lib/cc/mtt_noAlgebraicSolver.cc Index: mttroot/mtt/lib/cc/mtt_noAlgebraicSolver.cc ================================================================== --- /dev/null +++ mttroot/mtt/lib/cc/mtt_noAlgebraicSolver.cc @@ -0,0 +1,17 @@ + +#include "mtt_noAlgebraicSolver.hh" + +void +MTT::noAlgebraicSolver::Solve (void) +{ + ; +} + +ColumnVector +MTT::noAlgebraicSolver::solve (const ColumnVector &x, + const ColumnVector &u, + const double &t, + const ColumnVector &par) +{ + return u; +} ADDED mttroot/mtt/lib/cc/mtt_noAlgebraicSolver.hh Index: mttroot/mtt/lib/cc/mtt_noAlgebraicSolver.hh ================================================================== --- /dev/null +++ mttroot/mtt/lib/cc/mtt_noAlgebraicSolver.hh @@ -0,0 +1,39 @@ + +#ifndef MTT_REDUCESOLVER +#define MTT_REDUCESOLVER + + +#include "mtt_AlgebraicSolver.hh" + + +namespace MTT +{ + class noAlgebraicSolver : public MTT::AlgebraicSolver + { + // Dummy class + + public: + + noAlgebraicSolver (const int npar, + const int nu, + const int nx, + const int ny, + const int nyz) + : AlgebraicSolver (npar,nu,nx,ny,nyz) + {;} + + void + Solve (void); + + ColumnVector + solve (const ColumnVector &x, + const ColumnVector &u, + const double &t, + const ColumnVector &par); + + ~noAlgebraicSolver (void) {}; + }; +} + + +#endif // MTT_REDUCESOLVER