Mercurial > repos > public > sbplib
view assertNumberOfArguments.m @ 982:a0b3161e44f3 feature/getBoundaryOp
Add the following methods in LaplaceCurvilinear: getBoundaryOperator, getBoundaryQuadrature, getBoundaryBorrowing. Remove get_boundary_ops. Make interface and boundary_condition methods use the new methods.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Tue, 08 Jan 2019 11:51:24 +0100 |
parents | 2dee6c9e827d |
children |
line wrap: on
line source
function assertNumberOfArguments(fun, N) if nargin(fun) ~= N error('sbplib:assertNumberOfArguments:wrongNumberOfArguments', '"%s" must have %d, found %d', inputname(1), N, nargin(fun)); end end