view symmetricPart.m @ 1209:67eee83fd9c9 feature/poroelastic

Swap indices in anisotropic curvilinear
author Martin Almquist <malmquist@stanford.edu>
date Fri, 20 Sep 2019 15:38:39 -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