From 9d4f6acede91afecc250d0f3f3204fb3d043663a Mon Sep 17 00:00:00 2001 From: DanielVandH Date: Sat, 8 Jul 2023 09:31:01 +1000 Subject: [PATCH] Clarification --- Project.toml | 2 +- src/problem.jl | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Project.toml b/Project.toml index 18c80cf..6a334b6 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "MovingBoundaryProblems1D" uuid = "a903a81a-d576-4eaa-89dc-ab2b94f0d51c" authors = ["Daniel VandenHeuvel "] -version = "1.0.0" +version = "1.0.1" [deps] CommonSolve = "38540f10-b2f7-11e9-35d8-d573e4eb0ff2" diff --git a/src/problem.jl b/src/problem.jl index 05337dc..e82a09d 100644 --- a/src/problem.jl +++ b/src/problem.jl @@ -44,9 +44,10 @@ To solve the `MBProblem`, just use `solve` as you would in DifferentialEquations sol = solve(prob, TRBDF2(linsolve=KLUFactorization()), saveat=0.1) -The solution in this case will be such that `sol.u[i]` has the values of `u` in `sol.u[i][begin:(end-1)]`, and the position -of the moving boundary at `sol.t[i]` in `sol.u[i][end]`. See also [`scaled_mesh_points`](@ref) for the corresponding -grid points. +solves the problem using the `TRBDF2()` algorithm, with the associated linear systems solved with the sparse solver `KLUFactorization()`, +and the solution will be saved every `0.1` units of time from `initial_time` up to, and including, `final_time`. The solution in this case +will be such that `sol.u[i]` has the values of `u` in `sol.u[i][begin:(end-1)]`, and the position of the moving boundary at `sol.t[i]` in +`sol.u[i][end]`. See also [`scaled_mesh_points`](@ref) for the corresponding grid points. """ Base.@kwdef struct MBProblem{T,DF,DP,RF,RP,L,R,M,IC,IE,FT} geometry::MBGeometry{T}