view flat_index.m @ 464:d4b999585af1 feature/grids

Fix math in conversion to first order form system
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 22 Jun 2017 13:07:07 +0200
parents 48b6fb693025
children
line wrap: on
line source

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