Skip to content
Snippets Groups Projects
Commit 7139798e authored by Brian Groenke's avatar Brian Groenke
Browse files

Remove unnecessary field from SFCCPreSolver

parent e9158f93
No related branches found
No related tags found
1 merge request!69Add fast "pre-solver" for fixed SFCC parameter settings
......@@ -120,12 +120,11 @@ end
@flattenable struct SFCCPreSolver{C} <: SFCCSolver
cache::C | false
Tmin::Float64 | false
Tmax::Float64 | false
dH::Float64 | false
SFCCPreSolver(cache, Tmin, Tmax, dH) = new{typeof(cache)}(cache, Tmin, Tmax, dH)
function SFCCPreSolver(Tmin=-50.0, Tmax=50.0, dH=2e5)
SFCCPreSolver(cache, Tmin, dH) = new{typeof(cache)}(cache, Tmin, dH)
function SFCCPreSolver(Tmin=-50.0, dH=2e5)
cache = SFCCPreSolverCache()
new{typeof(cache)}(cache, Tmin, Tmax, dH)
new{typeof(cache)}(cache, Tmin, dH)
end
end
function initialcondition!(soil::Soil, heat::Heat, sfcc::SFCC{F,∇F,<:SFCCPreSolver}, state) where {F,∇F}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment