Mercurial > repos > public > sbplib
changeset 1097:eec03e78c6f2 feature/dataspline
Merge in default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 08 Apr 2019 22:30:47 +0200 |
parents | ad3089f04e0b (current diff) 78d7e4e28e3e (diff) |
children | 36d092a00040 |
files | |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/+scheme/Laplace1d.m Fri Apr 05 13:33:25 2019 -0700 +++ b/+scheme/Laplace1d.m Mon Apr 08 22:30:47 2019 +0200 @@ -62,7 +62,7 @@ switch type % Dirichlet boundary condition - case {'D','dirichlet'} + case {'D','d','dirichlet'} tuning = 1.1; tau1 = -tuning/obj.gamm; tau2 = 1; @@ -73,7 +73,7 @@ penalty = obj.a*obj.Hi*tau; % Neumann boundary condition - case {'N','neumann'} + case {'N','n','neumann'} tau = -e; closure = obj.a*obj.Hi*tau*d'; @@ -104,7 +104,7 @@ tuning = 1.1; - tau1 = -(a_u/gamm_u + a_v/gamm_v) * tuning; + tau1 = -1/4*(a_u/gamm_u + a_v/gamm_v) * tuning; tau2 = 1/2*a_u; sig1 = -1/2; sig2 = 0;