view symmetricPart.m @ 1214:e1d4cb8b5309 feature/poroelastic

Add stress operators to scheme anisotropic curvilinear
author Martin Almquist <malmquist@stanford.edu>
date Mon, 21 Oct 2019 18:08:22 -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