From e431af68caebb435444ab4a84a2ee11d4c76c28c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Max=20L=C3=BCbke?= Date: Wed, 28 Feb 2024 17:06:24 +0100 Subject: [PATCH] fix(btcs): erroneous resolution of constant boundaries See https://git.gfz-potsdam.de/naaice/tug/-/merge_requests/23 [skip ci] --- julia/TUG/src/Core/BTCS.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/julia/TUG/src/Core/BTCS.jl b/julia/TUG/src/Core/BTCS.jl index ecbca66..dd9b8af 100644 --- a/julia/TUG/src/Core/BTCS.jl +++ b/julia/TUG/src/Core/BTCS.jl @@ -73,7 +73,7 @@ function calcExplicitConcentrationsBoundaryConstant( calcAlphaIntercell(alpha_center, alpha_center) return sy * alpha_center_neighbor * conc_center + - (1 - sy * (alpha_center_center + 2 * alpha_center)) * conc_center + + (1 - sy * (alpha_center_center + alpha_center)) * conc_center + sy * alpha_center * conc_bc end