From ccc364e64469239418464ce87958a8c6232c41c6 Mon Sep 17 00:00:00 2001 From: Niki Laptop <2212719@stud.hs-mannheim.de> Date: Sun, 8 Jun 2025 18:57:39 +0200 Subject: [PATCH] add constructor and add more exports --- src/AnimalFurFHN.jl | 2 +- src/constants.jl | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/AnimalFurFHN.jl b/src/AnimalFurFHN.jl index 060abd7..1cde029 100644 --- a/src/AnimalFurFHN.jl +++ b/src/AnimalFurFHN.jl @@ -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 diff --git a/src/constants.jl b/src/constants.jl index 3f6e39a..4325f91 100644 --- a/src/constants.jl +++ b/src/constants.jl @@ -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