Skip to content

Commit

Permalink
postponed
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreMartinon committed Sep 3, 2024
1 parent 2fd26fd commit 0961bc7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 243 deletions.
9 changes: 5 additions & 4 deletions src/gauss.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ Q. if taking controls at stages, how to define the control at 'step' (for path c

# Later adjust this one for generic IRK scheme ! (use stage value)
# define several tags for different methods
# use intermediate abstract type ImplicitRungeKuttaTag
# use intermediate abstract type ImplicitRungeKutta ?
#+++ add Midpoint_imp

struct GaussLegendre2 <: Discretization
stage::Int
additional_controls::Int
butcher_a
butcher_b
butcher_c
butcher_a::Matrix{Float64}
butcher_b::Vector{Float64}
butcher_c::Vector{Float64}
GaussLegendre2() = new(2, 0, [0.25 (0.25 - sqrt(3)/6); (0.25 + sqrt(3)/6) 0.25], [0.5, 0.5], [(0.5 - sqrt(3)/6), (0.5 + sqrt(3)/6)])
end
239 changes: 0 additions & 239 deletions src/midpoint_as_RK.jl

This file was deleted.

0 comments on commit 0961bc7

Please sign in to comment.