@@ -941,6 +941,10 @@ DiffEqBase.DAEProblem{iip}(sys::AbstractODESystem, du0map, u0map, tspan,
941
941
942
942
Generates a DAEProblem from an ODESystem and allows for automatically
943
943
symbolically calculating numerical enhancements.
944
+
945
+ Note: Solvers for DAEProblems like DFBDF, DImplicitEuler, DABDF2 are
946
+ generally slower than the ones for ODEProblems. We recommend trying
947
+ ODEProblem and its solvers for your problem first.
944
948
"""
945
949
function DiffEqBase. DAEProblem (sys:: AbstractODESystem , args... ; kwargs... )
946
950
DAEProblem {true} (sys, args... ; kwargs... )
@@ -951,7 +955,7 @@ function DiffEqBase.DAEProblem{iip}(sys::AbstractODESystem, du0map, u0map, tspan
951
955
warn_initialize_determined = true ,
952
956
check_length = true , eval_expression = false , eval_module = @__MODULE__ , kwargs... ) where {iip}
953
957
if ! iscomplete (sys)
954
- error (" A completed system is required. Call `complete` or `structural_simplify` on the system before creating a `DAEProblem`" )
958
+ error (" A completed system is required. Call `complete` or `structural_simplify` on the system before creating a `DAEProblem`. " )
955
959
end
956
960
f, du0, u0, p = process_SciMLProblem (DAEFunction{iip}, sys, u0map, parammap;
957
961
implicit_dae = true , du0map = du0map, check_length,
0 commit comments