view flat_index.m @ 1148:0a5503a08a36 feature/rv

Implement the correct Dirichlet conditions for Burgers1d
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Thu, 24 Jan 2019 09:01:10 +0100
parents 48b6fb693025
children
line wrap: on
line source

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