You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- fix target runtimeCPPmsvcinstall, use static cminpack.lib for msvc too
- add FMI +target=MSVC test for C runtime
- update testsuite/openmodelica/cruntime/msvc/Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.mos
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@24548 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
@@ -50,15 +50,15 @@ class Hybrj : public IAlgLoopSolver
50
50
IAlgLoop
51
51
*_algLoop; ///< Algebraic loop to be solved
52
52
53
-
ITERATIONSTATUS
53
+
ITERATIONSTATUS
54
54
_iterationStatus; ///< Output - Denotes the status of iteration
55
55
56
-
int
56
+
int
57
57
_dimSys; ///< Temp - Number of unknowns (=dimension of system of equations)
58
58
59
59
bool
60
60
_firstCall; ///< Temp - Denotes the first call to the solver, initialize() is called
61
-
61
+
62
62
longint* _iHelp;
63
63
double
64
64
*_x, ///< Temp - Unknowns variables
@@ -78,9 +78,9 @@ class Hybrj : public IAlgLoopSolver
78
78
_t2; //old time
79
79
bool _usescale;
80
80
/*Hybrj MinPack variables */
81
-
81
+
82
82
double* _diag; ///DIAG is an array of length N. If MODE = 1 (see below), DIAG is internally set. If MODE = 2, DIAG must contain positive entries that serve as multiplicative scale factors for the variables.
83
-
double* _r; ///R is an output array of length LR which contains the upper triangular matrix produced by the QR factorization of the final approximate Jacobian, stored rowwise.
83
+
double* _r; ///R is an output array of length LR which contains the upper triangular matrix produced by the QR factorization of the final approximate Jacobian, stored rowwise.
84
84
double* _qtf; /// QTF is an output array of length N which contains the vector (Q transpose)*FVEC.
85
85
double* _wa1; // work arrays of length N.
86
86
double* _wa2; // work arrays of length N.
@@ -94,10 +94,10 @@ class Hybrj : public IAlgLoopSolver
94
94
int _maxfev; //MAXFEV is a positive integer input variable. Termination occurs when the number of calls to FCN with IFLAG = 1 has reached MAXFEV.
95
95
double _factor; //FACTOR is a positive input variable used in determining the initial step bound. This bound is set to the product of FACTOR and the Euclidean norm of DIAG*X if nonzero, or else to FACTOR itself. In most cases FACTOR should lie in the interval (.1,100.). 100. is a generally recommended value.
96
96
double _fnorm; //final l2 norm of the residuals
97
-
int _nprint; //PRINT is an integer input variable that enables controlled printing of iterates if it is positive. In this case, FCN is called with IFLAG = 0 at the beginning of the first iteration and every NPRINT iterations thereafter and immediately priorto return, with X and FVEC available for printing. FVEC and FJAC should not be altered. If NPRINT is not positive, no special calls of FCN with IFLAG = 0 are made.
97
+
int _nprint; //PRINT is an integer input variable that enables controlled printing of iterates if it is positive. In this case, FCN is called with IFLAG = 0 at the beginning of the first iteration and every NPRINT iterations thereafter and immediately priorto return, with X and FVEC available for printing. FVEC and FJAC should not be altered. If NPRINT is not positive, no special calls of FCN with IFLAG = 0 are made.
98
98
int _nfev; //NFEV is an integer output variable set to the number of calls to FCN with IFLAG = 1.
99
99
int _njev; //NJEV is an integer output variable set to the number of calls to FCN with IFLAG = 2.
0 commit comments