view symmetricPart.m @ 1204:687515778437 feature/poroelastic

Add anisotropic interface
author Martin Almquist <malmquist@stanford.edu>
date Fri, 06 Sep 2019 14:21:18 -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