comparison +scheme/LaplaceCurvilinear.m @ 1051:84200bbae101 feature/getBoundaryOp

Bugfix: add missing brackets in getBoundaryQuadrature in LaplCurv and Utux2d
author Martin Almquist <malmquist@stanford.edu>
date Tue, 22 Jan 2019 12:50:06 -0800
parents 6bc55a773e7c
children 5ec23b9bf360 d1dad4fbfe22
comparison
equal deleted inserted replaced
1050:19d821ddc108 1051:84200bbae101
415 % 415 %
416 % boundary -- string 416 % boundary -- string
417 function H_b = getBoundaryQuadrature(obj, boundary) 417 function H_b = getBoundaryQuadrature(obj, boundary)
418 assertIsMember(boundary, {'w', 'e', 's', 'n'}) 418 assertIsMember(boundary, {'w', 'e', 's', 'n'})
419 419
420 H_b = obj.('H_', boundary); 420 H_b = obj.(['H_', boundary]);
421 end 421 end
422 422
423 % Returns the indices of the boundary points in the grid matrix 423 % Returns the indices of the boundary points in the grid matrix
424 % boundary -- string 424 % boundary -- string
425 function I = getBoundaryIndices(obj, boundary) 425 function I = getBoundaryIndices(obj, boundary)