view gaussian.m @ 1278:ce422ba8964e feature/poroelastic

Add extra input pars to multiblock/Grid.getBoundary(), to be able to use the Staggered getBoundary method
author Martin Almquist <malmquist@stanford.edu>
date Sun, 07 Jun 2020 11:28:22 -0700
parents 6514c3b94721
children
line wrap: on
line source

function z = gaussian(x,x0,d)
    z = exp(-sum((x-x0).^2,2)/d^2);
end