comparison +sbp/+implementations/d2_noneq_variable_6.m @ 1339:bcdb14b05d03 feature/D2_boundary_opt

Fix comment
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Fri, 22 Jul 2022 16:31:18 +0200
parents 8e9df030a0a5
children b4e5e45bd239
comparison
equal deleted inserted replaced
1338:da61892884a4 1339:bcdb14b05d03
188 %%%%%%%%%%%%%%%%%%%%%%%%%%% 188 %%%%%%%%%%%%%%%%%%%%%%%%%%%
189 189
190 %%%% Artificial dissipation operator %%% 190 %%%% Artificial dissipation operator %%%
191 switch options.AD 191 switch options.AD
192 case 'upwind' 192 case 'upwind'
193 % This is the choice that yield 3rd order Upwind 193 % This is the choice that yield 5th order Upwind
194 DI = H \ (transpose(DD_3) * DD_3) * (-1/60); 194 DI = H \ (transpose(DD_3) * DD_3) * (-1/60);
195 case 'op' 195 case 'op'
196 % This choice will preserve the order of the underlying 196 % This choice will preserve the order of the underlying
197 % Non-dissipative D1 SBP operator 197 % Non-dissipative D1 SBP operator
198 DI = H \ (transpose(DD_4) * DD_4) * (-1 / (5 * 60)); 198 DI = H \ (transpose(DD_4) * DD_4) * (-1 / (5 * 60));