Mercurial > repos > public > sbplib
view default_struct.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 | 46256fffa329 |
children |
line wrap: on
line source
function default_struct(s, val) if evalin('caller',sprintf('~exist(''%s'',''var'')',s)) given = []; else given = evalin('caller', s); end final = copyWithDefault(given, val); assignin('caller', s, final); end