view assertNumberOfArguments.m @ 1295:cb053fabbedc feature/poroelastic

Add displacement BC on normal tangential components, but it is only provably stable if traction bc are used for the other component.
author Martin Almquist <malmquist@stanford.edu>
date Thu, 02 Jul 2020 20:05:50 -0700
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