view flat_index.m @ 566:9c98a0526afc feature/grids/laplace_refactor

Switch implementation of boundary and interface to SBP notation
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 01 Sep 2017 10:43:43 +0200
parents 48b6fb693025
children
line wrap: on
line source

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