Mercurial > repos > public > sbplib
diff +sbp/+implementations/d2_noneq_variable_8.m @ 1326:c2d716c4f1ed feature/D2_boundary_opt
Fix bug when using wide stencils
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Sun, 13 Feb 2022 20:58:35 +0100 |
parents | 1b0f2415237f |
children | 855871e0b852 |
line wrap: on
line diff
--- a/+sbp/+implementations/d2_noneq_variable_8.m Sun Feb 13 19:32:34 2022 +0100 +++ b/+sbp/+implementations/d2_noneq_variable_8.m Sun Feb 13 20:58:35 2022 +0100 @@ -221,7 +221,7 @@ end % Wide stencil - function D2 = D2_wide(c) + function D2 = D2_fun_wide(c) % Here we add variable diffusion C1 = sparse(diag(c)); D2 = D1 * C1 * D1;