view symmetricPart.m @ 1271:b5025bd67be1 feature/poroelastic

Allow using D1 D1 in VariableAnisotropicUpwind
author Martin Almquist <malmquist@stanford.edu>
date Sun, 31 May 2020 21:58:40 -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