Mercurial > repos > public > sbplib
changeset 1082:a20fc67e9ac0 feature/laplace1dUpdate
Add d and n as acceptable boundary condition identifiers, which is consistent with eg LaplaceCurvilinear.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Tue, 05 Mar 2019 11:26:42 -0800 |
parents | ae4b090b5299 |
children | a22b23098021 |
files | +scheme/Laplace1d.m |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/+scheme/Laplace1d.m Wed Feb 20 16:14:15 2019 -0800 +++ b/+scheme/Laplace1d.m Tue Mar 05 11:26:42 2019 -0800 @@ -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';