view symmetricPart.m @ 677:eeaf9a00e304 feature/poroelastic

Correct factor of 2 in Dirichlet penalty parameter.
author Martin Almquist <malmquist@stanford.edu>
date Fri, 26 Jan 2018 15:17:49 -0800
parents f8072bb8d1d1
children
line wrap: on
line source

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