view flat_index.m @ 585:6e6da40091b7 feature/grids

Add an empty type of multiblock grid
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 08 Sep 2017 14:38:29 +0200
parents 48b6fb693025
children
line wrap: on
line source

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