view kroneckerDelta.m @ 1206:6b203030fb37 feature/poroelastic

Fix performance (full matrices) issues in ElasticVariableAnisotropic
author Martin Almquist <malmquist@stanford.edu>
date Sun, 15 Sep 2019 14:39:42 -0700
parents b189bc409cdb
children
line wrap: on
line source

function d = kroneckerDelta(i,j)

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