Skip to content

Commit

Permalink
added new solver irksco
Browse files Browse the repository at this point in the history
- step size control based on mid-point rule
- evaluate the system with order 1 and 2 for step size control
- _i_mplicit _r_unge-_k_utta solver with _s_tep size _co_ntrol
  • Loading branch information
kbalzereit authored and OpenModelica-Hudson committed Feb 3, 2017
1 parent 0dbd1e9 commit 0ebf1ec
Show file tree
Hide file tree
Showing 9 changed files with 774 additions and 4 deletions.
2 changes: 1 addition & 1 deletion SimulationRuntime/c/Makefile.objs
Expand Up @@ -67,7 +67,7 @@ else
SOLVER_OBJS_MINIMAL=$(SOLVER_OBJS_FMU)
endif
ifeq ($(OMC_MINIMAL_RUNTIME),)
SOLVER_OBJS=$(SOLVER_OBJS_MINIMAL) kinsolSolver$(OBJ_EXT) linearSolverKlu$(OBJ_EXT) linearSolverLis$(OBJ_EXT) linearSolverUmfpack$(OBJ_EXT) dassl$(OBJ_EXT) radau$(OBJ_EXT) sym_solver_ssc$(OBJ_EXT) nonlinearSolverNewton$(OBJ_EXT) newtonIteration$(OBJ_EXT) ida_solver$(OBJ_EXT)
SOLVER_OBJS=$(SOLVER_OBJS_MINIMAL) kinsolSolver$(OBJ_EXT) linearSolverKlu$(OBJ_EXT) linearSolverLis$(OBJ_EXT) linearSolverUmfpack$(OBJ_EXT) dassl$(OBJ_EXT) radau$(OBJ_EXT) sym_solver_ssc$(OBJ_EXT) nonlinearSolverNewton$(OBJ_EXT) newtonIteration$(OBJ_EXT) ida_solver$(OBJ_EXT) irksco$(OBJ_EXT)
else
SOLVER_OBJS=$(SOLVER_OBJS_MINIMAL)
endif
Expand Down
4 changes: 2 additions & 2 deletions SimulationRuntime/c/simulation/solver/CMakeLists.txt
Expand Up @@ -12,15 +12,15 @@ SET(solver_sources
../../../../3rdParty/Cdaskr/solver/dlinpk.c
dassl.c kinsolSolver.c linearSystem.c nonlinearSolverHybrd.c radau.c
delay.c linearSolverLapack.c mixedSearchSolver.c nonlinearSolverNewton.c newtonIteration.c solver_main.c
linearSolverLis.c mixedSystem.c nonlinearSystem.c stateset.c
linearSolverLis.c mixedSystem.c nonlinearSystem.c stateset.c irksco.c
events.c linearSolverTotalPivot.c model_help.c omc_math.c
external_input.c linearSolverUmfpack.c nonlinearSolverHomotopy.c sym_solver_ssc.c sample.c)

SET(solver_headers ../../../../3rdParty/Cdaskr/solver/ddaskr_types.h
dassl.h external_input.h linearSolverUmfpack.h nonlinearSolverHomotopy.h radau.h
delay.h kinsolSolver.h linearSystem.h nonlinearSolverHybrd.h solver_main.h
linearSolverLapack.h mixedSearchSolver.h nonlinearSolverNewton.h newtonIteration.h stateset.h
epsilon.h linearSolverLis.h mixedSystem.h nonlinearSystem.h
epsilon.h linearSolverLis.h mixedSystem.h nonlinearSystem.h irksco.h
events.h linearSolverTotalPivot.h model_help.h omc_math.h sym_solver_ssc.h)

# Library util
Expand Down

0 comments on commit 0ebf1ec

Please sign in to comment.