Changeset 867d52e in OpenModelica


Ignore:
Timestamp:
2021-01-16T17:59:52+01:00 (3 years ago)
Author:
Francesco Casella <francesco.casella@…>
Children:
d15cd1e
Parents:
d5b2aa99
Message:

Reduced minimum size for automatic use of sparse linear and nonlinear solvers to 10, see ticket #6342

Location:
OMCompiler/SimulationRuntime/c/util
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OMCompiler/SimulationRuntime/c/util/simulation_options.c

    rb658a5fd r867d52e  
    439439  /* FLAG_LSS_MIN_SIZE */
    440440  "  Value specifies the minimum system size for using a linear sparse solver.\n"
    441   "  The value is an Integer with default value 4001.",
     441  "  The value is an Integer with default value 10.",
    442442  /* FLAG_LV */
    443443  "  Value (a comma-separated String list) specifies which logging levels to\n"
     
    488488  /* FLAG_NLS_MIN_SIZE */
    489489  "  Value specifies the minimum system size for using a non-linear sparse solver.\n"
    490   "  The value is an Integer with default value 10001.",
     490  "  The value is an Integer with default value 10.",
    491491  /* FLAG_NOEMIT */
    492492  "  Do not emit any results to the result file.",
  • OMCompiler/SimulationRuntime/c/util/simulation_options.h

    rb658a5fd r867d52e  
    4141#define EXPANDSTRINGHELPER(s) #s
    4242
    43 #define DEFAULT_FLAG_LSS_MIN_SIZE 201
    44 #define DEFAULT_FLAG_NLS_MIN_SIZE 10001
     43#define DEFAULT_FLAG_LSS_MIN_SIZE 10
     44#define DEFAULT_FLAG_NLS_MIN_SIZE 10
    4545
    4646enum _FLAG
Note: See TracChangeset for help on using the changeset viewer.