fix(btcs): erroneous resolution of constant boundaries

See https://git.gfz-potsdam.de/naaice/tug/-/merge_requests/23

[skip ci]
This commit is contained in:
Max Lübke 2024-02-28 17:06:24 +01:00 committed by Tim Werner
parent bd288e00e1
commit e431af68ca

View File

@ -73,7 +73,7 @@ function calcExplicitConcentrationsBoundaryConstant(
calcAlphaIntercell(alpha_center, alpha_center) calcAlphaIntercell(alpha_center, alpha_center)
return sy * alpha_center_neighbor * conc_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 sy * alpha_center * conc_bc
end end