view flat_index.m @ 337:e070ebd94d9d feature/beams

Updated Wave2dCurve to use the new grid classes.
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 21 Oct 2016 12:59:07 +0200
parents 48b6fb693025
children
line wrap: on
line source

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