view flat_index.m @ 1279:546ee16760d5 feature/poroelastic

Add interfaces in Elastic2dStaggeredAnisotropic
author Martin Almquist <malmquist@stanford.edu>
date Sun, 07 Jun 2020 11:30:49 -0700
parents 48b6fb693025
children
line wrap: on
line source

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