Mercurial > repos > public > sbplib
changeset 1332:8e9df030a0a5 feature/D2_boundary_opt
Clarify comments
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Wed, 04 May 2022 08:42:13 +0200 |
parents | 60c875c18de3 |
children | 0aefcb30cab4 |
files | +sbp/+implementations/d2_noneq_variable_10.m +sbp/+implementations/d2_noneq_variable_12.m +sbp/+implementations/d2_noneq_variable_4.m +sbp/+implementations/d2_noneq_variable_6.m +sbp/+implementations/d2_noneq_variable_8.m |
diffstat | 5 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/+sbp/+implementations/d2_noneq_variable_10.m Thu Mar 10 16:54:26 2022 +0100 +++ b/+sbp/+implementations/d2_noneq_variable_10.m Wed May 04 08:42:13 2022 +0200 @@ -269,7 +269,7 @@ D2 = D1 * C1 * D1 - H \ R; end - % Few additional grid point in interior stencil cmp. to minimal + % Non-minimal 13 point stencil width function D2 = D2_fun_nonminimal(c) C1 = sparse(diag(c)); C2 = 1/2 * diag(ones(m - 1, 1), -1) + 1/2 * diag(ones(m, 1), 0); C2(1, 2) = 1/2;
--- a/+sbp/+implementations/d2_noneq_variable_12.m Thu Mar 10 16:54:26 2022 +0100 +++ b/+sbp/+implementations/d2_noneq_variable_12.m Wed May 04 08:42:13 2022 +0200 @@ -347,7 +347,7 @@ D2 = D1 * C1 * D1 - H \ R; end - % Few additional grid point in interior stencil cmp. to minimal + % Non-minimal 15 point stencil width function D2 = D2_fun_nonminimal(c) % Here we add variable diffusion C1 = sparse(diag(c));
--- a/+sbp/+implementations/d2_noneq_variable_4.m Thu Mar 10 16:54:26 2022 +0100 +++ b/+sbp/+implementations/d2_noneq_variable_4.m Wed May 04 08:42:13 2022 +0200 @@ -115,7 +115,7 @@ D2 = D1 * C1 * D1 - H \ R; end - % Few additional grid point in interior stencil cmp. to minimal + % Non-minimal 7 point stencil width function D2 = D2_fun_nonminimal(c) % Here we add variable diffusion C1 = sparse(diag(c));
--- a/+sbp/+implementations/d2_noneq_variable_6.m Thu Mar 10 16:54:26 2022 +0100 +++ b/+sbp/+implementations/d2_noneq_variable_6.m Wed May 04 08:42:13 2022 +0200 @@ -154,7 +154,7 @@ D2 = D1 * C1 * D1 - H \ R; end - % Few additional grid point in interior stencil cmp. to minimal + % Non-minimal 9 point stencil width function D2 = D2_fun_nonminimal(c) % Here we add variable diffusion C1 = sparse(diag(c));
--- a/+sbp/+implementations/d2_noneq_variable_8.m Thu Mar 10 16:54:26 2022 +0100 +++ b/+sbp/+implementations/d2_noneq_variable_8.m Wed May 04 08:42:13 2022 +0200 @@ -208,7 +208,7 @@ D2 = D1 * C1 * D1 - H \ R; end - % Few additional grid point in interior stencil cmp. to minimal + % Non-minimal 11 point stencil width function D2 = D2_fun_nonminimal(c) % Here we add variable diffusion C1 = sparse(diag(c));