Mercurial > repos > public > sbplib
view default_field.m @ 652:be941bb0a11a feature/d1_staggered
Add staggered 1D variable coefficient. Convergence study working.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Mon, 04 Dec 2017 11:11:03 -0800 |
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