Mercurial > repos > public > sbplib
comparison +scheme/Beam.m @ 592:4422c4476650 feature/utux2D
Merge with feature/grids
author | Martin Almquist <martin.almquist@it.uu.se> |
---|---|
date | Mon, 11 Sep 2017 14:17:15 +0200 |
parents | dfb27a7e801f |
children | 4ced7d47bd1f |
comparison
equal
deleted
inserted
replaced
591:39554f2de783 | 592:4422c4476650 |
---|---|
87 default_arg('type','dn'); | 87 default_arg('type','dn'); |
88 | 88 |
89 [e, d1, d2, d3, s] = obj.get_boundary_ops(boundary); | 89 [e, d1, d2, d3, s] = obj.get_boundary_ops(boundary); |
90 gamm = obj.gamm; | 90 gamm = obj.gamm; |
91 delt = obj.delt; | 91 delt = obj.delt; |
92 | |
93 | |
94 % TODO: Can this be simplifed? Can I handle conditions on u on its own, u_x on its own ... | |
92 | 95 |
93 switch type | 96 switch type |
94 case {'dn', 'clamped'} % Dirichlet-neumann boundary condition | 97 case {'dn', 'clamped'} % Dirichlet-neumann boundary condition |
95 alpha = obj.alpha; | 98 alpha = obj.alpha; |
96 | 99 |