view flat_index.m @ 642:8f0ee6ba6313 feature/d1_staggered

Add scheme Staggered1DAcoustics
author Martin Almquist <malmquist@stanford.edu>
date Sat, 11 Nov 2017 20:30:13 -0800
parents 48b6fb693025
children
line wrap: on
line source

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