Mercurial > repos > public > sbplib
view assertIsMember.m @ 1056:b4fa176b4287 feature/poroelastic
Elastic2dVariable: boundary condition type can now be a string, normal or tangential, as well as component number.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Fri, 25 Jan 2019 15:15:44 -0800 |
parents | c596122374df |
children |
line wrap: on
line source
function assertIsMember(v, allowed) assert(ismember(v, allowed), 'Expected ''%s'' to be in the set %s', inputname(1), toString(allowed)); end