Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit 490c35c

Browse files
rfrankeOpenModelica-Hudson
authored andcommitted
Fix whitespaces for new Cpp LinearSolver
1 parent 0f722ad commit 490c35c

File tree

3 files changed

+348
-346
lines changed

3 files changed

+348
-346
lines changed

SimulationRuntime/cpp/Include/Solver/LinearSolver/LinearSolver.h

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66

77
#if defined(klu)
8-
#include <../../../../build/include/omc/c/suitesparse/Include/klu.h>
8+
#include <../../../../build/include/omc/c/suitesparse/Include/klu.h>
99
#endif
1010

1111
class LinearSolver : public IAlgLoopSolver
@@ -44,25 +44,25 @@ class LinearSolver : public IAlgLoopSolver
4444
bool
4545
_firstCall; ///< Temp - Denotes the first call to the solver, init() is called
4646

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
4949

5050
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
6060
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.
6262
#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;
6666
int* _Ai;
6767
int* _Ap;
6868
double* _Ax;

0 commit comments

Comments
 (0)