view symmetricPart.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 f8072bb8d1d1
children
line wrap: on
line source

% Returns the symmetric of A
function S = symmetricPart(A, tol)
    S = 1/2*(A + A');
end