Mercurial > repos > public > sbplib
view stuffStruct.m @ 1202:31d7288d0653 feature/poroelastic
Make Anisotropic work for mixed displacement/traction BC at the same boundary.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Thu, 05 Sep 2019 16:41:49 -0700 |
parents | 7ea4b6de59d9 |
children |
line wrap: on
line source
function s = stuffStruct(varargin) s = struct(); for i = 1:nargin assert(~isempty(inputname(i)), 'All inputs must be variables.'); s.(inputname(i)) = varargin{i}; end end