view flat_index.m @ 460:e0caae9ef6ed feature/grids

Add SBPinTime for linear DAE formulations (BUGS!)
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 19 Jun 2017 16:50:13 +0200
parents 48b6fb693025
children
line wrap: on
line source

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