Skip to content

Commit 827e64e

Browse files
committed
init
1 parent 3de1d4e commit 827e64e

File tree

3 files changed

+41
-0
lines changed

3 files changed

+41
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
name = "ImplicitDiscreteSolve"
2+
uuid = "3263718b-31ed-49cf-8a0f-35a466e8af96"
3+
authors = ["vyudu <[email protected]>"]
4+
version = "0.1.0"
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
module ImplicitDiscreteSolve
2+
3+
using SciMLBase: AbstractNonlinearProblem
4+
using SciMLBase
5+
using NonlinearSolveBase
6+
using SymbolicIndexingInterface
7+
using LinearAlgebra
8+
using ADTypes
9+
using TaylorDiff
10+
using DocStringExtensions
11+
import CommonSolve
12+
import DifferentiationInterface as DI
13+
14+
using ConcreteStructs: @concrete
15+
16+
"""
17+
IteratedNonlinearSolve(; nlsolvealg, autodiff = true, kwargs...)
18+
19+
This algorithm is a solver for ImplicitDiscreteSystems.
20+
"""
21+
@concrete struct IteratedNonlinearSolve <: NonlinearSolveBase.AbstractNonlinearSolveAlgorithm
22+
nlsolvealg
23+
autodiff
24+
kwargs
25+
end
26+
27+
export IteratedNonlinearSolve
28+
29+
include("solve.jl")
30+
31+
end
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
# make a nonlinear problem and solve at every timestep.
3+
4+
function CommonSolve.solve(prob::ImplicitDiscreteProblem)
5+
6+
end

0 commit comments

Comments
 (0)