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_Solver.hh"
class Reduce_Solver : public Solver {
// Dummy class
// This will not be used unless the Reduce solver has failed earlier
// in the model build process
public:
Reduce_Solver (sys_ae ae,
const int npar,
const int nu,
const int nx,
const int ny,
const int nyz)
: Solver (ae,npar,nu,nx,ny,nyz)
{ ; };
void
Solve (void);
ColumnVector
solve (const ColumnVector &x,
const ColumnVector &u,
const double &t,
const ColumnVector &par);
~Reduce_Solver (void) {};
};
|
>
>
>
>
|
>
>
>
|
|
|
|
|
|
|
|
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
>
|
|
|
>
|
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
#include "mtt_AlgebraicSolver.hh"
namespace MTT
{
class Reduce_Solver : public MTT::AlgebraicSolver
{
// Dummy class
// This will not be used unless the Reduce solver has failed earlier
// in the model build process
public:
Reduce_Solver (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);
~Reduce_Solver (void) {};
};
}
#endif // MTT_REDUCESOLVER
|