view flat_index.m @ 335:2d48db7151cf feature/beams

Bug fix in boundary condition.
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 21 Oct 2016 11:31:06 +0200
parents 48b6fb693025
children
line wrap: on
line source

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