view symmetricPart.m @ 967:368a2773f78b feature/poroelastic

Fix bug in Elastic2dVariable that resulted in using tuning^2
author Martin Almquist <malmquist@stanford.edu>
date Sun, 23 Dec 2018 14:06:26 +0100
parents f8072bb8d1d1
children
line wrap: on
line source

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