view getVarname.m @ 741:5a9acf282b34 feature/poroelastic

Add scheme Heat2Dcurvilinear. Neumann and Dirichlet seem to work. Only tested for stretched Cartesian grids though.
author Martin Almquist <malmquist@stanford.edu>
date Wed, 09 May 2018 19:29:12 -0700
parents 289fd8b1635c
children
line wrap: on
line source

function names = getVarname(varargin)
    names = cell(size(varargin));

    for i = 1:numel(varargin)
        names{i} = inputname(i);
    end
end