view flat_index.m @ 650:8e55298657b9 feature/d1_staggered

Add characteristic BC
author Martin Almquist <malmquist@stanford.edu>
date Wed, 15 Nov 2017 14:56:52 -0800
parents 48b6fb693025
children
line wrap: on
line source

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