Skip to content

Commit e24f0bd

Browse files
refactor: update ODE_NLProbData
1 parent e5675bd commit e24f0bd

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

src/ODE_nlsolve.jl

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
A collection of all the data required for custom ODE Nonlinear problem solving
55
"""
6-
struct ODE_NLProbData{NLProb, UNLProb, NLProbMap, NLProbPmap}
6+
struct ODE_NLProbData{NLProb, UNLProb, SetGammaC, SetOuterTmp, SetInnerTmp, NLProbMap}
77
"""
88
The `AbstractNonlinearProblem` to define custom nonlinear problems to be used for
99
implicit time discretizations. This allows to use extra structure of the ODE function (e.g.
@@ -30,16 +30,12 @@ struct ODE_NLProbData{NLProb, UNLProb, NLProbMap, NLProbPmap}
3030
Usually this will refer to a problem or integrator.
3131
"""
3232
update_nlprob!::UNLProb
33+
set_γ_c::SetGammaC
34+
set_outer_tmp::SetOuterTmp
35+
set_inner_tmp::SetInnerTmp
3336
"""
3437
A function which takes the solution of `nlprob` and returns
3538
the state vector of the original problem.
3639
"""
3740
nlprobmap::NLProbMap
38-
"""
39-
A function which takes the solution of `nlprob` and returns
40-
the parameter object of the original problem. If absent (`nothing`),
41-
this will not be called and the parameters of the problem being
42-
solved will be returned as-is.
43-
"""
44-
nlprobpmap::NLProbPmap
4541
end

0 commit comments

Comments
 (0)