view flat_index.m @ 243:127e562bd6d3 feature/beams

Added function to calculate a solution at a given time.
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 30 Aug 2016 10:44:17 +0200
parents 48b6fb693025
children
line wrap: on
line source

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