view flat_index.m @ 1101:b895037bb701 feature/timesteppers

Add functions for evaluating a functions for each timestep.
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 09 Apr 2019 22:04:51 +0200
parents 48b6fb693025
children
line wrap: on
line source

function I = flat_index(n,i,j)
    I = i + (j - 1)*n;
end