view kroneckerDelta.m @ 856:ee4cfb37534d feature/poroelastic

Merge with feature/d1_staggered to get RK timestepper for discrete data.
author Martin Almquist <malmquist@stanford.edu>
date Tue, 02 Oct 2018 13:39:10 -0700
parents b189bc409cdb
children
line wrap: on
line source

function d = kroneckerDelta(i,j)

d = 0;
if i==j
	d = 1;
end