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

Commit 8780cf7

Browse files
lochelOpenModelica-Hudson
authored andcommitted
Revert "Enable homotopy by default"
1 parent 8dc4fea commit 8780cf7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

SimulationRuntime/c/simulation/solver/nonlinearSystem.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
int check_nonlinear_solution(DATA *data, int printFailingSystems, int sysNumber);
5555

56-
int init_lambda_steps = 4;
56+
int init_lambda_steps = 1;
5757

5858
struct dataNewtonAndHybrid
5959
{

SimulationRuntime/c/util/simulation_options.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ const char *FLAG_DESC[FLAG_MAX+1] = {
142142
/* FLAG_IIF */ "value specifies an external file for the initialization of the model",
143143
/* FLAG_IIM */ "value specifies the initialization method",
144144
/* FLAG_IIT */ "[double] value specifies a time for the initialization of the model",
145-
/* FLAG_ILS */ "[int] default: 4",
145+
/* FLAG_ILS */ "[int] default: 1",
146146
/* FLAG_IMPRK_ORDER */ "[int (default 5)] value specifies the integration order of the implicit Runge-Kutta method. Valid values: 1-6",
147147
/* FLAG_IMPRK_LS */ "selects the linear solver of the integration methods: impeuler, trapezoid and imprungekuta",
148148
/* FLAG_INITIAL_STEP_SIZE */ "value specifies an initial step size for supported solver",
@@ -265,7 +265,7 @@ const char *FLAG_DETAILED_DESC[FLAG_MAX+1] = {
265265
" Value [Real] specifies a time for the initialization of the model.",
266266
/* FLAG_ILS */
267267
" Value specifies the number of steps for homotopy method (required: -iim=symbolic).\n"
268-
" The value is an Integer with default value 4.",
268+
" The value is an Integer with default value 1.",
269269
/* FLAG_IMPRK_ORDER */
270270
" Value specifies the integration order of the implicit Runge-Kutta method. Valid values: 1 to 6. Default order is 5.",
271271
/* FLAG_IMPRK_LS */

0 commit comments

Comments
 (0)