add constructor and add more exports

feat/diff_Jaguar
Nikola Sebastian Munder 2025-06-08 18:57:39 +02:00
parent 6e5cf4b9df
commit ccc364e644
2 changed files with 3 additions and 1 deletions

View File

@ -5,5 +5,5 @@ include("constants.jl")
include("laplacian.jl")
include("solver.jl")
export run_simulation # Make sure this is here!
export run_simulation, run_simulationG, run_simulationG_no_ode # Make sure this is here!
end

View File

@ -22,6 +22,8 @@ struct GSParams
Dv::Float64 # diffusion rate V
F::Float64 # feed rate
k::Float64 # kill rate
GSParams(; N::Int, dx::Float64, Du::Float64, Dv::Float64, F::Float64, k::Float64) =
new(N, dx, Du, Dv, ϵ, a)
end
export FHNParams, GSParams