|
5 | 5 | */ |
6 | 6 |
|
7 | 7 | #if defined(klu) |
8 | | - #include <../../../../build/include/omc/c/suitesparse/Include/klu.h> |
| 8 | + #include <../../../../build/include/omc/c/suitesparse/Include/klu.h> |
9 | 9 | #endif |
10 | 10 |
|
11 | 11 | class LinearSolver : public IAlgLoopSolver |
@@ -44,25 +44,25 @@ class LinearSolver : public IAlgLoopSolver |
44 | 44 | bool |
45 | 45 | _firstCall; ///< Temp - Denotes the first call to the solver, init() is called |
46 | 46 |
|
47 | | - long int *_ihelpArray, //pivot indices for lapackroutine |
48 | | - *_jhelpArray; //pivot indices for lapackroutine |
| 47 | + long int *_ihelpArray, //pivot indices for lapackroutine |
| 48 | + *_jhelpArray; //pivot indices for lapackroutine |
49 | 49 |
|
50 | 50 | double |
51 | | - *_y, ///< Temp - Unknowns |
52 | | - *_y0, ///< Temp - Auxillary variables |
53 | | - *_y_old, //stores old solution |
54 | | - *_y_new, //stores new solution |
55 | | - *_b, ///< right hand side |
56 | | - *_A, ///coefficients of linear system |
57 | | - *_zeroVec, ///zero vector |
58 | | - *_fNominal,// klu scales the matrix entries already |
59 | | - *_scale; //scaling parameter to prevent overflow in singular systems |
| 51 | + *_y, ///< Temp - Unknowns |
| 52 | + *_y0, ///< Temp - Auxillary variables |
| 53 | + *_y_old, //stores old solution |
| 54 | + *_y_new, //stores new solution |
| 55 | + *_b, ///< right hand side |
| 56 | + *_A, ///coefficients of linear system |
| 57 | + *_zeroVec, ///zero vector |
| 58 | + *_fNominal, // klu scales the matrix entries already |
| 59 | + *_scale; //scaling parameter to prevent overflow in singular systems |
60 | 60 | bool _sparse; |
61 | | - bool _generateoutput; //prints nothing, if set to false. Prints Matrix, right hand side, and solution of the linear system, if set to true. |
| 61 | + bool _generateoutput; //prints nothing, if set to false. Prints Matrix, right hand side, and solution of the linear system, if set to true. |
62 | 62 | #if defined(klu) |
63 | | - klu_symbolic* _kluSymbolic ; |
64 | | - klu_numeric* _kluNumeric ; |
65 | | - klu_common* _kluCommon ; |
| 63 | + klu_symbolic* _kluSymbolic; |
| 64 | + klu_numeric* _kluNumeric; |
| 65 | + klu_common* _kluCommon; |
66 | 66 | int* _Ai; |
67 | 67 | int* _Ap; |
68 | 68 | double* _Ax; |
|
0 commit comments