Skip to content

Commit 8c00b13

Browse files
authored
AbstractTimeIntegrationMethod (#61)
* AbstractTimeIntegrationMethod * set version to v2.8.1
1 parent 3a89425 commit 8c00b13

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "RootedTrees"
22
uuid = "47965b36-3f3e-11e9-0dcf-4570dfd42a8c"
33
authors = ["Hendrik Ranocha <mail@ranocha.de> and contributors"]
4-
version = "2.8.0"
4+
version = "2.8.1"
55

66
[deps]
77
Latexify = "23fbe1c1-3f47-55db-b15f-69d7ec21a316"

src/time_integration_methods.jl

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11

2+
abstract type AbstractTimeIntegrationMethod end
3+
4+
25
"""
36
RungeKuttaMethod(A, b, c=vec(sum(A, dims=2)))
47
58
Represent a Runge-Kutta method with Butcher coefficients `A`, `b`, and `c`.
69
If `c` is not provided, the usual "row sum" requirement of consistency with
710
autonomous problems is applied.
811
"""
9-
struct RungeKuttaMethod{T, MatT<:AbstractMatrix{T}, VecT<:AbstractVector{T}}
12+
struct RungeKuttaMethod{T, MatT<:AbstractMatrix{T}, VecT<:AbstractVector{T}} <: AbstractTimeIntegrationMethod
1013
A::MatT
1114
b::VecT
1215
c::VecT
@@ -160,7 +163,7 @@ methods, which are applied to partitioned problems of the form
160163
SIAM Journal on Numerical Analysis 34.5 (1997): 1926-1947.
161164
[DOI: 10.1137/S0036142995292128](https://doi.org/10.1137/S0036142995292128)
162165
"""
163-
struct AdditiveRungeKuttaMethod{T, RKs<:AbstractVector{<:RungeKuttaMethod{T}}}
166+
struct AdditiveRungeKuttaMethod{T, RKs<:AbstractVector{<:RungeKuttaMethod{T}}} <: AbstractTimeIntegrationMethod
164167
rks::RKs
165168
end
166169

0 commit comments

Comments
 (0)