view flat_index.m @ 972:104f0af001e0 feature/poroelastic

Clean up Elastic2dVariable.interfaceStandard
author Martin Almquist <malmquist@stanford.edu>
date Tue, 25 Dec 2018 08:33:35 +0100
parents 48b6fb693025
children
line wrap: on
line source

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