Skip to content

Commit 79fe875

Browse files
efaulhaberChrisRackauckas
authored andcommitted
Use linear interpolation by default
1 parent c30d987 commit 79fe875

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/OrdinaryDiffEqSymplecticRK/src/algorithms.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ struct VelocityVerlet <: OrdinaryDiffEqPartitionedAlgorithm end
3030
verlet1967, "", "")
3131
struct VerletLeapfrog <: OrdinaryDiffEqPartitionedAlgorithm end
3232

33+
default_linear_interpolation(alg::VerletLeapfrog, prob) = true
34+
3335
@doc generic_solver_docstring("2nd order explicit symplectic integrator.",
3436
"PseudoVerletLeapfrog",
3537
"Symplectic Runge-Kutta Methods",

0 commit comments

Comments
 (0)