view flat_index.m @ 810:77451445955f feature/poroelastic

Bugfix in grid/evalOn
author Martin Almquist <malmquist@stanford.edu>
date Fri, 27 Jul 2018 10:23:49 -0700
parents 48b6fb693025
children
line wrap: on
line source

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