Changeset 9cdf1dc3 in OpenModelica
- Timestamp:
- 2022-06-30T21:00:27+02:00 (21 months ago)
- Children:
- 118a84b
- Parents:
- df70d96
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
OMCompiler/SimulationRuntime/c/simulation/solver/gbode_main.c
rdf70d96 r9cdf1dc3 242 242 { 243 243 // ToDo: If Jacobian available set this to TRUE 244 gbfData->symJacAvailable = FALSE;244 gbfData->symJacAvailable = TRUE; 245 245 infoStreamPrint(LOG_SOLVER, 1, "Initialized colored Jacobian:"); 246 246 infoStreamPrint(LOG_SOLVER, 0, "columns: %d rows: %d", jacobian->sizeCols, jacobian->sizeRows); … … 416 416 } else { 417 417 // ToDo: If Jacobian available set this to TRUE 418 gbData->symJacAvailable = FALSE;418 gbData->symJacAvailable = TRUE; 419 419 //gbData->jacobian = jacobian; Add this? 420 420 infoStreamPrint(LOG_SOLVER, 1, "Initialized colored Jacobian:"); … … 1686 1686 infoStreamPrint(LOG_SOLVER, 0, "gbode_main: Failed to calculate step at time = %5g.", gbData->time + gbData->stepSize); 1687 1687 if (gbData->ctrl_method == GB_CTRL_CNST) { 1688 errorStreamPrint(LOG_STDOUT, 0, "Simulation abborted !");1688 errorStreamPrint(LOG_STDOUT, 0, "Simulation abborted since gbode is running with fixed step size!"); 1689 1689 messageClose(LOG_SOLVER); 1690 1690 return -1; … … 1697 1697 continue; 1698 1698 } else { 1699 errorStreamPrint(LOG_STDOUT, 0, "Simulation abborted !");1699 errorStreamPrint(LOG_STDOUT, 0, "Simulation abborted because the step size is less then %g!", MINIMAL_STEP_SIZE); 1700 1700 messageClose(LOG_SOLVER); 1701 1701 return -1;
Note: See TracChangeset
for help on using the changeset viewer.