view kroneckerDelta.m @ 724:a9e8c9d71307 feature/poroelastic

Modify penalty for Neumann in Head2d so that data is for normal derivative and not u_x or u_y.
author Martin Almquist <malmquist@stanford.edu>
date Wed, 14 Mar 2018 13:04:25 -0700
parents b189bc409cdb
children
line wrap: on
line source

function d = kroneckerDelta(i,j)

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