view assertScalar.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 6490b5f950fb
children
line wrap: on
line source

function assertScalar(obj)
    if ~isscalar(obj)
        error('sbplib:assertScalar:notScalar', '"%s" must be scalar, found size "%s"', inputname(1), toString(size(obj)));
    end
end