view findMfiles.m @ 888:8732d6bd9890 feature/timesteppers

Add general Runge-Kutta class - Add a general Runge-Kutta class which time integrates the solution based on coefficients obtained from a Butcher tableau - Add butcher tableau which returns coefficents for the specified Runge-Kutta method - Remove RungKutta4proper, since obsolete
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Thu, 15 Nov 2018 17:10:01 -0800
parents cd571e8ec1fd
children
line wrap: on
line source

% Find all m files reachable from folder d
function files = findMfiles(d)
    contents = what(d);

    files = {};
    for i = 1:length(contents.m)
        files{end+1} = fullfile(d, contents.m{i});
    end

    for i = 1:length(contents.packages)
        packagePath = fullfile(d,['+' contents.packages{i}]);
        files = [files, findMfiles(packagePath)];
    end
end