Mercurial > repos > public > sbplib
view default_field.m @ 832:5573913a0949 feature/burgers1d
Merged with default, and updated +scheme/Burgers1D accordingly
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Tue, 11 Sep 2018 15:58:35 +0200 |
parents | 14bf01b7a068 |
children | 50cafc4b9e40 |
line wrap: on
line source
function default_field(s, f, val) if isfield(s,f) return end s.(f) = val; assignin('caller', inputname(1),s); end