Mercurial > repos > public > sbplib
view default_field.m @ 1078:532b58a9e849
Bugfix in multiblock.domain.Line method getGrid.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Wed, 20 Feb 2019 12:32:49 -0800 |
parents | d1c13505182a |
children |
line wrap: on
line source
function default_field(s, f, val) if isfield(s,f) && ~isempty(s.(f)) return end s.(f) = val; assignin('caller', inputname(1),s); end