view flat_index.m @ 728:0aff87f6fb2c feature/poroelastic

Merge with multiblock defs
author Martin Almquist <malmquist@stanford.edu>
date Fri, 20 Apr 2018 12:06:38 -0700
parents 48b6fb693025
children
line wrap: on
line source

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