From cf1fb21b43bec868392f7d55820627c84b10e07f Mon Sep 17 00:00:00 2001 From: Brian Groenke <brian.groenke@awi.de> Date: Thu, 9 Dec 2021 10:21:14 +0100 Subject: [PATCH] Fix out of date boundaryvalue impl for tempgrad --- src/Physics/HeatConduction/heat_bc.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Physics/HeatConduction/heat_bc.jl b/src/Physics/HeatConduction/heat_bc.jl index 35185cd4..9983809f 100644 --- a/src/Physics/HeatConduction/heat_bc.jl +++ b/src/Physics/HeatConduction/heat_bc.jl @@ -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 -- GitLab