annotate gaussian.m @ 1314:58df4a35fe43 feature/poroelastic

Add traction operators that include the viscous terms and use them to clean up the imposition of traction BC.
author Martin Almquist <malmquist@stanford.edu>
date Sat, 25 Jul 2020 15:56:31 -0700
parents 6514c3b94721
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
576
705658c55229 Add function for gaussian bumb
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
1 function z = gaussian(x,x0,d)
654
6514c3b94721 Make gaussian work for vector inputs
Jonatan Werpers <jonatan@werpers.com>
parents: 576
diff changeset
2 z = exp(-sum((x-x0).^2,2)/d^2);
576
705658c55229 Add function for gaussian bumb
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
3 end