view assertScalar.m @ 963:c75ddd568fcc feature/poroelastic

Turn alpha into a boundary operator. Add properties H_w etc for getBoundaryQuadrature to work.
author Martin Almquist <malmquist@stanford.edu>
date Wed, 19 Dec 2018 06:58:10 +0100
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