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

Fix out of date boundaryvalue impl for tempgrad

parent f1bf0304
No related branches found
No related tags found
1 merge request!56Fix bug in temperature gradient
......@@ -12,7 +12,7 @@ struct TemperatureGradient{E,F} <: BoundaryProcess
end
BoundaryStyle(::Type{<:TemperatureGradient}) = Dirichlet()
BoundaryStyle(::Type{<:TemperatureGradient{<:Damping}}) = Neumann()
@inline boundaryvalue(bc::TemperatureGradient,l2,p2,s1,s2) where {F} = bc.T(s1.t)
@inline boundaryvalue(bc::TemperatureGradient, l1, p2, l2, s1, s2) where {F} = bc.T(s1.t)
@with_kw struct NFactor{W,S} <: BoundaryEffect
winterfactor::W = Param(1.0, bounds=(0.0,1.0)) # applied when Tair <= 0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment